diff --git a/rules/przedpokój.rules b/rules/przedpokój.rules index 80d785e..f617e0e 100644 --- a/rules/przedpokój.rules +++ b/rules/przedpokój.rules @@ -42,8 +42,8 @@ end rule "Przedpokój: zapal rano" when - Time cron "0 44 5 ? * MON-FRI *" /* była piąta */ -/* Time cron "0 33 6 ? * MON-FRI *" */ +/* Time cron "0 30 7 ? * MON-FRI *" */ + Time cron "0 45 5 ? * MON-FRI *" then if (sHolidayVacancy.state != ON) { sSONOFF06.sendCommand(ON) @@ -52,8 +52,7 @@ end rule "Przedpokój: zgaś rano" when - /*Time cron "0 50 6 ? * MON-FRI *"*/ - Time cron "0 50 7 ? * MON-FRI *" + Time cron "0 10 7 ? * MON-FRI *" then sSONOFF06.sendCommand(OFF) end diff --git a/rules/salon.kanapowe.rules b/rules/salon.kanapowe.rules index b0dfd4d..e842dfb 100644 --- a/rules/salon.kanapowe.rules +++ b/rules/salon.kanapowe.rules @@ -4,6 +4,7 @@ rule "Synchronizuj prawe kanapowe z lewymi" when Item sSONOFF09a changed then + Thread::sleep(800) sSONOFF09b.sendCommand(sSONOFF09a.state.toString) end