Page 1 of 1

"On Action" field not working properly

Posted: Saturday 01 July 2017 16:42
by kchest
Hello All,
I have noticed a problem with one of my dummy switches. Its the only one in which I have a json call that, when the switch is on, turns on a timer for my coffee pot. When the dummy switch is off it deactivates the timer for the coffee pot. The dummy switch is on or off based on my presence in the house. The switch is reliable.

I noticed that this morning the timer remained active, even though the switch was off. The coffee pot turned on according to the time. If I manually turn the switch on/off then the json call works and the time is activated/deactivated accordingly. But if the switch works on its own then the On action and Off action doesn't work (or it isn't run).

the On Action field looks like this:

Code: Select all

http://xxx.xxx.x.xx:8080/json.htm?type=command&param=enabletimer&idx=1
the Off Action is the same except for "disable" instead of "enable"

I can't find a reason for it not to activate when the switch changes state on its own. Any Ideas?

Domoticz version: 3.5877
Platform: Raspberry Pi 2B
Hardware: AEOTEC Zwave stick Gen5, Mysensors serial gateway.

Re: "On Action" field not working properly

Posted: Monday 10 July 2017 7:28
by kchest
I have done some more troubleshooting and made some discoveries. First I tried replacing the "&" character with "&" per a suggestion in another thread. That didn't work. Then I pasted the commands into the action fields of a PIR sensor and they both worked fine. I then created a System Alive Checker switch and entered the json lines in each of the action fields. The System Alive Checker switchers also successfully initiated the json calls. So the question is why are they not working in a dummy switch. I have tried using 2 different dummy switches and neither one executed the json calls successfully.

Domoticz v3.5877
Raspberry Pi 2B
Aeotec Gen5 Zwave Stick
Mysensors USB Gateway