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

Ansteuerung Werkstatt Licht

parent da951005
No related branches found
No related tags found
No related merge requests found
Number Werkstatt_Licht "Werkstatt Licht [%.0f (0-225)]" <light> (gHauptraum) ["Light"] {
channel="mqtt:topic:mosquitto:werkstattlicht:level"
}
{% for device in mqtt_sensors_temp %}
Number MQTT_{{ device.id }}_temp "Sensor {{ device.name }} Temp [%.1f °C]" <temperature> ({{ device.groups }}) ["Measurement","Temperature","CurrentTemperature"] {
......
Bridge mqtt:broker:mosquitto [ host="{{ int_ip4 }}", secure=false, enableDiscovery=false ]
Bridge mqtt:broker:mosquitto [ host="{{ int_ip4 }}", secure=false, enableDiscovery=false, qos=1, retain=true, async=false ]
{
Thing topic werkstattlicht "Werkstatt Licht (dali)" {
Channels:
Type number : level "Werkstatt Licht (dali)" [ stateTopic="light/dali", commandTopic="light/dali", postCommand=true, min=0, max=255 ]
}
{% for device in mqtt_sensors_temp %}
Thing topic {{ device.id }} {
Thing topic {{ device.id }} "Sensor {{ device.name }}" {
Channels:
Type number : temp "Sensor {{ device.name }} Temp" [ stateTopic="ESPHome/esphome_{{ device.id }}/sensor/temp/state" ]
Type number : pressure "Sensor {{ device.name }} Pressure" [ stateTopic="ESPHome/esphome_{{ device.id }}/sensor/pressure/state" ]
......@@ -16,7 +21,7 @@ Bridge mqtt:broker:mosquitto [ host="{{ int_ip4 }}", secure=false, enableDiscove
{% for device in mqtt_sensors_feinstaub %}
Thing topic {{ device.id }} {
Thing topic {{ device.id }} "Sensor {{ device.name }}" {
Channels:
Type number : feinstaub_2_5 "Sensor {{ device.name }} 2.5 PM" [ stateTopic="ESPHome/esphome_{{ device.id }}/sensor/feinstaub_2_5/state" ]
}
......
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