ctucx.git: nixfiles

ctucx' nixfiles

commit c28dcfdffe178daf1f27ce3863bce7239a4b64f5
parent 883dfd5c0ef182bffa9b9dfbee2cbeeaa1cf88a3
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 15 Jul 2022 21:07:34 +0200

machines/lollo/smarthome/smartied: add new client-config for sip-phone
1 file changed, 24 insertions(+), 0 deletions(-)
M
machines/lollo/smarthome/smartied.nix
|
24
++++++++++++++++++++++++
diff --git a/machines/lollo/smarthome/smartied.nix b/machines/lollo/smarthome/smartied.nix
@@ -130,6 +130,30 @@ let
     };
 
     clientConfigs = {
+      "grandstream-wp820" = {
+        switches = [
+          {
+            name   = "Ceiling Light";
+            device = "tradfri-lamp-i";
+            relay  = 0;
+          }
+          {
+            name   = "RGB Lamp";
+            device = "tradfri-lamp-i-rgb";
+            relay  = 0;
+          }
+          {
+            name   = "Desk (L)";
+            device = "tradfri-co-i-desk-l";
+            relay  = 0;
+          }
+          {
+            name   = "Desk (R)";
+            device = "tradfri-co-i-desk-r";
+            relay  = 0;
+          }
+        ];
+      };
       "smarthome-pwa" = {
         views = [
           {