ctucx.git: ansible-configs

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

commit 9afe5c957467cbf0965f7053ba33ea881826a450
parent 7ad7564576725b78e0e9dfa478f0905f3b3200f1
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 30 Nov 2021 11:44:39 +0100

configurartion/lollo: update smartied-config
1 file changed, 76 insertions(+), 9 deletions(-)
M
configuration/lollo.yml
|
85
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
diff --git a/configuration/lollo.yml b/configuration/lollo.yml
@@ -609,7 +609,7 @@ services:
           address: 60
         lacrosse-l1:
           type: LacrosseTempSensor
-          id: '16'
+          id: '27'
         lacrosse-l2:
           type: LacrosseTempSensor
           id: '3a'

@@ -619,24 +619,91 @@ services:
         lacrosse-bad:
           type: LacrosseTempSensor
           id: '5'
+        tradfri-lamp-l:
+          type: Zigbee2MqttLamp
+          lampType: WhiteSpectrum
+          deviceName: ikea_lamp_l
+        tradfri-lamp-i:
+          type: Zigbee2MqttLamp
+          lampType: WhiteSpectrum
+          deviceName: ikea_lamp_i
+        tradfri-lamp-hallway:
+          type: Zigbee2MqttLamp
+          lampType: WhiteSpectrum
+          deviceName: ikea_lamp_hallway
+        tradfri-lamp-kitchen:
+          type: Zigbee2MqttLamp
+          lampType: WhiteSpectrum
+          deviceName: ikea_lamp_kitchen
+        tradfri-lamp-bathroom:
+          type: Zigbee2MqttLamp
+          lampType: WhiteSpectrum
+          deviceName: ikea_lamp_bathroom
+        tradfri-lamp-i-rgb:
+          type: Zigbee2MqttLamp
+          lampType: RGB
+          deviceName: ikea_lamp_i_rgb
+        tradfri-co-l:
+          type: Zigbee2MqttRelay
+          deviceName: ikea_control_outlet_l
+        tradfri-co-i-desk:
+          type: Zigbee2MqttRelay
+          deviceName: ikea_control_outlet_i_desk
+        tradfri-button-l-desk:
+          type: Zigbee2MqttRemote
+          deviceName: ikea_button_l_desk
+          actions:
+            "on":
+              - type: SwitchStateAction
+                deviceName: tradfri-co-l
+                toggle: true
       clientConfigs:
         smarthome-pwa:
           views:
-          - url: lights
-            name: Lights
+          - url: room_l
+            name: Room (L)
             icon: lightbulb
             type: switches
             switches:
-            - name: Schreibtisch
+            - name: 'Ceiling Light'
+              device: tradfri-lamp-l
+              relay: 0
+            - name: Lights under Desk
               device: modbus-20
               relay: 1
-          - url: switches
-            name: Switches
-            icon: power_settings_new
+            - name: Bed
+              device: tradfri-co-l
+              relay: 0
+            - name: PC-Speaker
+              device: modbus-20
+              relay: 0
+          - url: room_i
+            name: Room (I)
+            icon: lightbulb
             type: switches
             switches:
-            - name: PC-Lautsprecher
-              device: modbus-20
+            - name: 'Ceiling Light'
+              device: tradfri-lamp-i
+              relay: 0
+            - name: 'RGB Lamp'
+              device: tradfri-lamp-i-rgb
+              relay: 0
+            - name: 'Desk'
+              device: tradfri-co-i-desk
+              relay: 0
+          - url: room_others
+            name: Other Rooms
+            icon: lightbulb
+            type: switches
+            switches:
+            - name: 'Hallway: Ceiling Light'
+              device: tradfri-lamp-hallway
+              relay: 0
+            - name: 'Kitchen: Ceiling Light'
+              device: tradfri-lamp-kitchen
+              relay: 0
+            - name: 'Bathroom: Ceiling Light'
+              device: tradfri-lamp-bathroom
               relay: 0
           - url: powermeter
             name: Power Meter