command from other app via JSON executed twice in Domoticz??

Moderator: leecollings

Post Reply
verbem
Posts: 5
Joined: Thursday 26 May 2016 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

command from other app via JSON executed twice in Domoticz??

Post by verbem »

When i send a "/json.htm?type=command&param=switchlight&idx=${addr}&switchcmd=On" from my app to Domoticz it now gets executed twice, i have put a trace on the app and indeed only one command is send, the first log entry in Domoticz log is inserted by the app as well. What follows is two switch commands, and also two events are being send back to the app (which i indeed see and are getting processed).

This started happening a couple of weeks ago, so it might be introduced with the latest stable for Raspberry Pi. Have upgraded with latest beta but no luck.

Any clue what could be wrong? very annoying as it stops my blinds from closing completely as a second on command is issued it will stop.

Log
2016-05-26 21:10:06.267 SmartThings On for 25
2016-05-26 21:10:06.287 User: Admin initiated a switch command
2016-05-26 21:10:07.796 Notification sent (http) => Success
2016-05-26 21:10:06.288 (RFXCOM) Lighting 2 (Blind Ismay Balkon)
2016-05-26 21:10:07.802 User: Admin initiated a switch command
2016-05-26 21:10:08.958 Notification sent (http) => Success
2016-05-26 21:10:07.804 (RFXCOM) Lighting 2 (Blind Ismay Balkon)
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: command from other app via JSON executed twice in Domoticz??

Post by Egregius »

Are you sure there isn't a script or anything that does this?
I only use the json command, even more, the domoticz web interface uses them. Never seen a double line in the logfile.
cherowley
Posts: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: command from other app via JSON executed twice in Domoticz??

Post by cherowley »

I have this double event when sending a json command via http to a virtual set point...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest