Dear all,
after installing v8.1.2 I get trouble with switching devices via rules (see below Timer1, which have worked with v8.0.x, but if I use Timer2 (a different device), the rule will work).
I have already changed the new syntax, but I get following error message by using "pilight-daemon -D":
pilight-daemon: ERROR: /usr/local/lib/pilight/actions/switch.lua:77: device "gartenbewaesserung_relay1" can't be set to state "off"
Here an extraction from my config:
-------------------
-------------------
Unfortunately I find no wrong setting.
In advance: thanks for support and great tool....
Added information/question:
The device with the error is on a second Raspberry, which a previous version of pilight.
Could this be the issue? Most all pilight instances have the some pilight version?
after installing v8.1.2 I get trouble with switching devices via rules (see below Timer1, which have worked with v8.0.x, but if I use Timer2 (a different device), the rule will work).
I have already changed the new syntax, but I get following error message by using "pilight-daemon -D":
pilight-daemon: ERROR: /usr/local/lib/pilight/actions/switch.lua:77: device "gartenbewaesserung_relay1" can't be set to state "off"
Here an extraction from my config:
-------------------
Code:
"devices": {
"gartenbewaesserung_relay1": {
"uuid": "0000-b8-27-eb-decaf1",
"protocol": [ "relay" ],
"id": [{
"gpio": 26
}],
"state": "on"
},
"Brennenstuhl_C": {
"protocol": [ "elro_800_switch" ],
"id": [{
"systemcode": 23,
"unitcode": 4
}],
"state": "off"
},
"rules": {
"Timer1“: {
"rule": "IF (gartenbewaesserung_relay1.state == on) THEN switch DEVICE gartenbewaesserung_relay1 TO off AFTER '15 MINUTE'",
"active": 1
},
"Timer2“: {
"rule": "IF (gartenbewaesserung_relay1.state == on) THEN switch DEVICE Brennenstuhl_C TO off AFTER '15 MINUTE'",
"active": 1
},
"gui": { "gartenbewaesserung_relay1": {
"name": "Kirschlorbeeren 15min",
"group": [ "Bewässerung" ],
"media": [ "all" ],
"confirm": 0
},
Unfortunately I find no wrong setting.
In advance: thanks for support and great tool....
Added information/question:
The device with the error is on a second Raspberry, which a previous version of pilight.
Could this be the issue? Most all pilight instances have the some pilight version?