dobranoc: obejście nie działającej chwilowo aleksy, wyłączanie wszystkiego
This commit is contained in:
43
rules/salon.dobranoc.rules
Normal file
43
rules/salon.dobranoc.rules
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
rule "Dobranoc"
|
||||
when
|
||||
Item sGoodnight received update ON
|
||||
then
|
||||
/* quodlibet */
|
||||
Mpd_quodlibet_StartStop.sendCommand(OFF)
|
||||
Mpd_quodlibet_StartStop_expected.sendCommand(OFF)
|
||||
|
||||
/* balkon */
|
||||
sSHELLY01.sendCommand(OFF)
|
||||
|
||||
Thread::sleep(300)
|
||||
|
||||
/* sufitowe */
|
||||
sSONOFF05.sendCommand(OFF)
|
||||
|
||||
Thread::sleep(300)
|
||||
|
||||
/* lampki pod tv */
|
||||
sOWFS01.sendCommand(OFF)
|
||||
sOWFS01_expected.postUpdate(OFF)
|
||||
|
||||
Thread::sleep(300)
|
||||
|
||||
/* kanapowe */
|
||||
sSONOFF09a.sendCommand(OFF)
|
||||
sSONOFF09b.sendCommand(OFF)
|
||||
|
||||
Thread::sleep(300)
|
||||
|
||||
/* blat */
|
||||
sD1MINI02MOS.sendCommand(OFF)
|
||||
|
||||
/* nad stołem */
|
||||
sSHELLY02.sendCommand(OFF)
|
||||
sSHELLY02_expected.sendCommand(OFF)
|
||||
|
||||
Thread::sleep(300)
|
||||
|
||||
/* przedpokój */
|
||||
sSONOFF06.sendCommand(OFF)
|
||||
end
|
||||
Reference in New Issue
Block a user