ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit 04da1e832205220e9b99887192ce1b7cf035f678
parent 6a2f64425ed89d68d47aa1b4b3e44e164fe19e1f
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 24 Apr 2021 10:12:18 +0200

configuration/lollo: update frpc endpoint, add new switch to smartied
1 file changed, 18 insertions(+), 2 deletions(-)
M
configuration/lollo.yml
|
20
++++++++++++++++++--
diff --git a/configuration/lollo.yml b/configuration/lollo.yml
@@ -406,9 +406,9 @@ services:
 
   frpc:
     enable: true
-    serverAddress: wanderduene.ctu.cx
+    serverAddress: osterei.ctu.cx
     serverPort: 5050
-    token: "{{ lookup('diskcache', 'passwordstore', 'Server/wanderduene/frps/token returnall=true')}}"
+    token: "{{ lookup('diskcache', 'passwordstore', 'Server/osterei/frps/token returnall=true')}}"
     dashboard: false
     tunnels:
       - name: lollo-ssh

@@ -471,6 +471,8 @@ services:
       devices:
         '0x842e14fffe977bfa':
           friendly_name: ikea_remote
+        '0x842e14fffe1ab485':
+          friendly_name: ikea_remote_bad
         '0x842e14fffe57daae':
           friendly_name: ikea_lamp_rgb
         '0x680ae2fffef92af5':

@@ -575,6 +577,20 @@ services:
                 deviceName: modbus-20
                 relay: 3
                 toggle: true
+        tradfri-remote-bad:
+          type: Zigbee2MqttRemote
+          deviceName: ikea_remote_bad
+          actions:
+            "on":
+              - type: SwitchStateAction
+                deviceName: modbus-20
+                relay: 0
+                toggle: true
+            "off":
+              - type: SwitchStateAction
+                deviceName: modbus-20
+                relay: 2
+                toggle: true
         lacrosse-raum:
           type: LacrosseTempSensor
           id: '21'