"On Action" field not working properly

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
kchest
Posts: 5
Joined: Friday 17 July 2015 14:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Germany
Contact:

"On Action" field not working properly

Post 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.
Domoticz v3.8153
Raspberry Pi 2B
Aeotec Gen5 Zwave Stick
Mysensors USB Gateway
kchest
Posts: 5
Joined: Friday 17 July 2015 14:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Germany
Contact:

Re: "On Action" field not working properly

Post 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
Domoticz v3.8153
Raspberry Pi 2B
Aeotec Gen5 Zwave Stick
Mysensors USB Gateway
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest