ctucx.git: ansible-configs

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

commit 75e4b4f209f4b6aceee6d8366df3bff9669e8ea8
parent 079a192681d221e20c8840081ec03027429e7eda
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 23 Oct 2021 14:31:45 +0200

configuration/lollo: update smartied-config
1 file changed, 15 insertions(+), 208 deletions(-)
M
configuration/lollo.yml
|
223
++++++-------------------------------------------------------------------------
diff --git a/configuration/lollo.yml b/configuration/lollo.yml
@@ -550,191 +550,27 @@ services:
     enable: true
     config:
       devices:
-        modbus-10:
-          type: RelayBoard
-          firstRegister: 0
-          count: 4
-          address: 10
         modbus-20:
           type: RelayBoard
           firstRegister: 0
           count: 4
           address: 20
-        modbus-50:
-          type: PowerMeter
-          model: SDM120
-          address: 50
         modbus-60:
           type: PowerMeter
           model: SDM120
           address: 60
-        tradfri-lamp1:
-          type: Zigbee2MqttLamp
-          lampType: RGB
-          deviceName: ikea_lamp_rgb
-        tradfri-lamp2:
-          type: Zigbee2MqttLamp
-          lampType: WhiteSpectrum
-          deviceName: ikea_lamp_whitespectrum
-        tradfri-lamp3:
-          type: Zigbee2MqttLamp
-          lampType: Switchable
-          deviceName: ikea_lamp_switchable
-        tradfri-relay1:
-          type: Zigbee2MqttRelay
-          deviceName: ikea_control_outlet
-        tradfri-remote1:
-          type: Zigbee2MqttRemote
-          deviceName: ikea_remote
-          actions:
-            toggle:
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 0
-                toggle: true
-            toggle_hold:
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 2
-                toggle: true
-            arrow_left_click:
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 1
-                toggle: true
-            arrow_right_click:
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 3
-                toggle: true
-            brightness_up_click:
-              - type: SwitchStateAction
-                deviceName: modbus-20
-                relay: 0
-                toggle: true
-            brightness_down_click:
-              - type: SwitchStateAction
-                deviceName: modbus-20
-                relay: 2
-                toggle: true
-            brightness_down_hold:
-              - type: SwitchStateAction
-                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
-        tradfri-remote-bett:
-          type: Zigbee2MqttRemote
-          deviceName: ikea_remote_bett
-          actions:
-            "on":
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 0
-                toggle: true
-            "off":
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 0
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 1
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 2
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 3
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-20
-                relay: 0
-                state: false
-        tradfri-remote-raum:
-          type: Zigbee2MqttRemote
-          deviceName: ikea_remote_raum
-          actions:
-            "on":
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 0
-                toggle: true
-            "off":
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 0
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 1
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 2
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 3
-                state: false
-              - type: SwitchStateAction
-                deviceName: modbus-20
-                relay: 0
-                state: false    
-        tradfri-remote-kueche:
-          type: Zigbee2MqttRemote
-          deviceName: ikea_remote_kueche
-          actions:
-            "on":
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 3
-                toggle: true
-            "off":
-              - type: SwitchStateAction
-                deviceName: modbus-10
-                relay: 1
-                toggle: true            
-        tradfri-motion-sensor:
-          type: Zigbee2MqttMotionSensor
-          deviceName: ikea_motionsensor
-          occupyActions:
-            - type: SwitchStateAction
-              deviceName: modbus-20
-              relay: 0
-              state: true    
-          clearActions:
-            - type: SwitchStateAction
-              deviceName: modbus-20
-              relay: 0
-              state: false
-        lacrosse-raum:
+        lacrosse-l1:
           type: LacrosseTempSensor
-          id: '21'
-        lacrosse-kuehlschrank:
+          id: '16'
+        lacrosse-l2:
           type: LacrosseTempSensor
-          id: 3a
-        lacrosse-draussen:
+          id: '3a'
+        lacrosse-kuehlschrank:
           type: LacrosseTempSensor
-          id: '26'
+          id: '33'
         lacrosse-bad:
           type: LacrosseTempSensor
-          id: 3f
+          id: '5'
       clientConfigs:
         smarthome-pwa:
           views:

@@ -743,52 +579,23 @@ services:
             icon: lightbulb
             type: switches
             switches:
-            - name: Decke (abgedunkelt)
-              device: modbus-10
-              relay: 0
-            - name: Decke
-              device: modbus-10
-              relay: 2
-            - name: Küche
-              device: modbus-10
-              relay: 1
-            - name: Bett
-              device: modbus-10
-              relay: 3
-            - name: Bad
+            - name: Schreibtisch
               device: modbus-20
-              relay: 0
-            - name: 'Decke: RGB'
-              device: tradfri-lamp1
-              relay: 0
-            - name: 'Decke: Weiß-Spektrum'
-              device: tradfri-lamp2
-              relay: 0
-            - name: 'Decke: Schaltbar'
-              device: tradfri-lamp3
-              relay: 0
+              relay: 1
           - url: switches
             name: Switches
             icon: power_settings_new
             type: switches
             switches:
-            - name: Lüfter
-              device: modbus-20
-              relay: 3
-            - name: Lüfter (leise)
+            - name: PC-Lautsprecher
               device: modbus-20
-              relay: 2
-            - name: Tradfri Steckdose
-              device: tradfri-relay1
               relay: 0
           - url: powermeter
             name: Power Meter
             icon: power
             type: powermeter
             meters:
-            - name: Sonstiges
-              device: modbus-50
-            - name: Küche
+            - name: Zimmer
               device: modbus-60
           - url: temperature
             name: Temperature

@@ -797,12 +604,12 @@ services:
             sensors:
             - name: Kühlschrank
               device: lacrosse-kuehlschrank
-            - name: Raum
-              device: lacrosse-raum
+            - name: L Zimmer
+              device: lacrosse-l1
+            - name: L Zimmer2
+              device: lacrosse-l2
             - name: Bad
               device: lacrosse-bad
-            - name: Draussen
-              device: lacrosse-draussen
           - url: departures
             name: Departures
             icon: departure_board