01-19-2019, 01:07 AM
Hi,
I'm using pilight for several years and recently updated from V7 to V8.1.4.
I read the manual and updated the the config to the new syntax.
Switching devices by gui works perfectly.
Unfortunately I can't figure out one thing:
This rule moves the switches in the gui but does not switch the actual lights:
These errors are shown on the log:
Can you give me a hint how to fix the rule?
I'm using pilight for several years and recently updated from V7 to V8.1.4.
I read the manual and updated the the config to the new syntax.
Switching devices by gui works perfectly.
Unfortunately I can't figure out one thing:
This rule moves the switches in the gui but does not switch the actual lights:
Code:
"guteNachtWoziAusBadAnfuer8MinutenFlur2Minuten": {
"rule": "IF (WoZiLampe.state == off AND Wozistate.state == on)
AND sunrise.sun == set
THEN switch DEVICE Wozistate TO off
AND switch DEVICE BadLampe TO on FOR '8 MINUTE'
AND switch DEVICE FlurLampe
AND GlasschrankLampe TO on FOR '2 MINUTE'",
"active": 1
}
These errors are shown on the log:
Code:
[Jan 18 23:23:47:945863] pilight-daemon: ERROR: /usr/local/lib/pilight/actions/switch.lua:119: skipping overridden action switch for device FlurLampe
[Jan 18 23:23:47:947102] pilight-daemon: ERROR: /usr/local/lib/pilight/actions/switch.lua:119: skipping overridden action switch for device GlasschrankLampe
[Jan 18 23:29:28:437484] pilight-daemon: ERROR: /usr/local/lib/pilight/actions/switch.lua:119: skipping overridden action switch for device BadLampe
Can you give me a hint how to fix the rule?