feat: synchronizacja stanów przy restartach kontrolerów
This commit is contained in:
@@ -159,18 +159,6 @@ then
|
||||
sD1MINI02MOS.sendCommand(OFF)
|
||||
end
|
||||
|
||||
|
||||
/* na wypadek rebootów sonoffa */
|
||||
rule "Synchronizuj balkon & lampka po restarcie"
|
||||
when
|
||||
Item rSHELLY01 received update ON or
|
||||
Item rSONOFF02 received update ON
|
||||
then
|
||||
logInfo("S02,SH01", "Reappeared, applying state balkon {}, lampka {}", sSHELLY01.state, sSONOFF02.state)
|
||||
sSONOFF02.sendCommand(sSONOFF02.state.toString)
|
||||
sSHELLY01.sendCommand(sSHELLY01.state.toString)
|
||||
end
|
||||
|
||||
/*
|
||||
1 Seconds
|
||||
2 Minutes
|
||||
|
||||
Reference in New Issue
Block a user