added thing, item and basic rules for LED wall
parent
a6756bb3a4
commit
dc9a10a367
|
@ -17,6 +17,7 @@ Switch entrance_door_status "Door Status"
|
|||
Switch entrance_ceiling_lamps "Ceiling Lamps" <lightbulb> (entrance) { channel="mqtt:topic:entrance_ceiling_lamps:power" }
|
||||
Switch entrance_marbleadder_lamps "Marbleadder Lamps" <lightbulb> (entrance) { channel="mqtt:topic:mosquitto:entrance_marbleadder_lamps:power" }
|
||||
Switch chill_zone_lamps "Lamps" <lightbulb> (chill_zone) { channel="mqtt:topic:chill_zone_lamps:power" }
|
||||
Switch chill_zone_ikea_led "Ikea LED Wall" <lightbulb> (chill_zone) { channel="mqtt:topic:mosquitto:chill_zone_ikea:power" }
|
||||
Switch engineering_table_lamps "Table Lamps" <lightbulb> (engineering) { channel="mqtt:topic:engineering_table_lamps:power" }
|
||||
Switch engineering_ceiling_lamps "Ceiling Lamps" <lightbulb> (engineering) { channel="mqtt:topic:engineering_ceiling_lamps:power" }
|
||||
Switch engineering_status_lamp "Status Lamp" <lightbulb> (engineering) { channel="mqtt:topic:engineering_status_lamp:power" }
|
||||
|
|
|
@ -6,6 +6,7 @@ then
|
|||
engineering_ceiling_lamps.sendCommand("ON")
|
||||
//all_engineering_lights.postUpdate("ON")
|
||||
chill_zone_lamps.sendCommand("ON")
|
||||
chill_zone_ikea_led.sendCommand("ON")
|
||||
entrance_ceiling_lamps.sendCommand("ON")
|
||||
entrance_marbleadder_lamps.sendCommand("ON")
|
||||
end
|
||||
|
@ -18,6 +19,7 @@ then
|
|||
engineering_table_lamps.sendCommand("OFF")
|
||||
engineering_ceiling_lamps.sendCommand("OFF")
|
||||
chill_zone_lamps.sendCommand("OFF")
|
||||
chill_zone_ikea_led.sendCommand("OFF")
|
||||
entrance_ceiling_lamps.sendCommand("OFF")
|
||||
entrance_marbleadder_lamps.sendCommand("OFF")
|
||||
end
|
||||
|
|
|
@ -29,6 +29,7 @@ then
|
|||
entrance_ceiling_lamps.sendCommand("ON")
|
||||
entrance_marbleadder_lamps.sendCommand("ON")
|
||||
chill_zone_lamps.sendCommand("ON")
|
||||
chill_zone_ikea_led.sendCommand("ON")
|
||||
engineering_table_lamps.sendCommand("ON")
|
||||
engineering_ceiling_lamps.sendCommand("ON")
|
||||
engineering_status_lamp.sendCommand("ON")
|
||||
|
@ -46,6 +47,7 @@ then
|
|||
entrance_ceiling_lamps.sendCommand("OFF")
|
||||
entrance_marbleadder_lamps.sendCommand("OFF")
|
||||
chill_zone_lamps.sendCommand("OFF")
|
||||
chill_zone_ikea_led.sendCommand("OFF")
|
||||
engineering_table_lamps.sendCommand("OFF")
|
||||
engineering_ceiling_lamps.sendCommand("OFF")
|
||||
engineering_status_lamp.sendCommand("OFF")
|
||||
|
|
|
@ -53,6 +53,13 @@ Bridge mqtt:broker:mosquitto "Mosquitto" [
|
|||
]
|
||||
}
|
||||
|
||||
Thing topic chill_zone_ikea "Ikea LED Wall" @ "Chill zone" {
|
||||
Channels:
|
||||
Type switch : power "Power" [
|
||||
commandTopic="cmnd/chill_zone/ikea_led/Power"
|
||||
]
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Thing topic engineering_table_lamps "Engineering Table Lamps" @ "Engineering" {
|
||||
|
|
Loading…
Reference in New Issue