Skip to content
Snippets Groups Projects
Commit feb69a9a authored by Christian Elberfeld's avatar Christian Elberfeld
Browse files

wled einbindung in openhab

parent 2086260b
No related branches found
No related tags found
No related merge requests found
...@@ -115,6 +115,12 @@ borgbackup_user: ...@@ -115,6 +115,12 @@ borgbackup_user:
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIENYus4S4XOaGHVL4B6vbnIrovtqaCT1lbEF73StiTt+ root@webserver" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIENYus4S4XOaGHVL4B6vbnIrovtqaCT1lbEF73StiTt+ root@webserver"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGIBBvcQaD0MmEHY0q+lcoMN9sXHs/HnSiXGsAhm+Vwp root@vorstand" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGIBBvcQaD0MmEHY0q+lcoMN9sXHs/HnSiXGsAhm+Vwp root@vorstand"
wled_devices:
- { id: "loungedecke", groups: "gLounge" }
- { id: "theke", groups: "gKueche" }
- { id: "trocknerschlauch", groups: "gHauptraum" }
- { id: "warpcubes", groups: "gLounge" }
mqtt_sensors_temp: mqtt_sensors_temp:
- { id: "hauptraum", name: "Hauptraum", groups: "gHauptraum" } - { id: "hauptraum", name: "Hauptraum", groups: "gHauptraum" }
- { id: "vortragsraum", name: "Vortragsraum", groups: "gVortragsraum" } - { id: "vortragsraum", name: "Vortragsraum", groups: "gVortragsraum" }
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
- conf/items/network.items - conf/items/network.items
- conf/items/other.items - conf/items/other.items
- conf/items/weather.items - conf/items/weather.items
- conf/items/wled.items
- conf/persistence/influxdb.persist - conf/persistence/influxdb.persist
- conf/persistence/rrd4j.persist - conf/persistence/rrd4j.persist
- conf/services/addons.cfg - conf/services/addons.cfg
...@@ -67,6 +68,7 @@ ...@@ -67,6 +68,7 @@
- conf/things/mqtt.things - conf/things/mqtt.things
- conf/things/network.things - conf/things/network.things
- conf/things/weather.things - conf/things/weather.things
- conf/things/wled.things
- name: stop openhab docker - name: stop openhab docker
docker_compose: docker_compose:
......
{% for device in wled_devices %}
Color WLED_{{ device.id }}_Master "WLED {{ device.id }} Master" <colorlight> ({{ device.groups }}) [ "Switch","Light" ] {
channel="wled:wled:{{ device.id }}:masterControls"
}
String WLED_{{ device.id }}_FX "WLED {{ device.id }} Effect" ({{ device.groups }}) [ "Light" ] {
channel="wled:wled:{{ device.id }}:fx"
}
String WLED_{{ device.id }}_Palettes "WLED {{ device.id }} Palettes" ({{ device.groups }}) [ "Light" ] {
channel="wled:wled:{{ device.id }}:palettes"
}
String WLED_{{ device.id }}_Presets "WLED {{ device.id }} Presets" ({{ device.groups }}) [ "Light" ] {
channel="wled:wled:{{ device.id }}:presets"
}
Switch WLED_{{ device.id }}_PresetCycle "WLED {{ device.id }} PresetCycle" ({{ device.groups }}) [ "Light" ] {
channel="wled:wled:{{ device.id }}:presetCycle"
}
{% endfor %}
...@@ -19,7 +19,7 @@ package = standard ...@@ -19,7 +19,7 @@ package = standard
remote = true remote = true
# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave") # A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
binding = astro,mqtt,network,openweathermap binding = astro,mqtt,network,openweathermap,wled
# A comma-separated list of UIs to install (e.g. "basic,paper") # A comma-separated list of UIs to install (e.g. "basic,paper")
# ui = habpanel # ui = habpanel
......
{% for device in wled_devices %}
wled:wled:{{ device.id }} "WLed {{ device.id }}" [address="http://wled-{{ device.id }}"]
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment