lampki sufitowe: przełączone na sonoffa05

Wcześniej były pod sterownik okapu podłączone, ale zmieniliśmy
okap i już nie ma tego sterownika.
This commit is contained in:
2020-12-02 19:56:59 +01:00
parent 08816ef7af
commit fe84de9c2a
3 changed files with 16 additions and 8 deletions

View File

@@ -31,10 +31,11 @@ when
then
/* HOLIDAY */
sD1MINI01_lampki_sufitowe.sendCommand(ON)
sSONOFF05.sendCommand(ON)
/* balkon */
sSHELLY01.sendCommand(ON)
end
/* HOLIDAY */
@@ -108,14 +109,21 @@ rule "Zgaś stółlampkę, sufitowe i nablatowe wieczorem"
when
Time cron "0 15 22 * * ?"
then
/* lampka nad stołem */
sSONOFF02.sendCommand(OFF)
sSONOFF02_expected.postUpdate(OFF)
dSONOFF02LED.sendCommand(1023)
sD1MINI01_lampki_sufitowe.sendCommand(OFF)
/* sufitowe gasimy tylko jak nikogo nie ma w domu */
if (sHolidayVacancy.state == ON) {
sSONOFF05.sendCommand(OFF)
}
sD1MINI02MOS.sendCommand(OFF)
/* kanapowe */
sSONOFF01.sendCommand(OFF)
/* balkon */
sSHELLY01.sendCommand(OFF)
end