json udevice change device status by url suddenly dont work anymore

Moderator: leecollings

Post Reply
johnnydomotic
Posts: 7
Joined: Tuesday 09 June 2015 20:34
Target OS: Linux
Domoticz version:
Contact:

json udevice change device status by url suddenly dont work anymore

Post by johnnydomotic »

Hi,

i have a domoticz on raspberry pi and rfxcom 433E
my cheap ebay doorsensor does not send an off signal but i had this working for months
with a event that triggered this url:
(blockly)
when sensor is OPEN then
trigger url:
adminusername:[email protected]:8080/json.htm?type=command&param=udevice&idx=869&svalue=Off


this worked perfect but now it dont anymore.
if i trigger the action with another button, it also dont work.
when i paste the exact url in a browser and enter it, the status of the sensor in switches changes instantly to closed.
some other things been happening and my setup is taking up more time than it should but
this is one i cant get working again even once.
i been searching for reports of the same issue but no luck.
does anyone know if this url format suddenly cant be used like this anymore due to an update?

thanks in advance,

John
johnnydomotic
Posts: 7
Joined: Tuesday 09 June 2015 20:34
Target OS: Linux
Domoticz version:
Contact:

Re: json udevice change device status by url suddenly dont work anymore

Post by johnnydomotic »

Hi,
Just politely bumping my topic in case it went by unnoticed.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: json udevice change device status by url suddenly dont work anymore

Post by Egregius »

Why use user:password and ip?
Disable authentication for 127.0.0.1 and use that as address.
johnnydomotic
Posts: 7
Joined: Tuesday 09 June 2015 20:34
Target OS: Linux
Domoticz version:
Contact:

Re: json udevice change device status by url suddenly dont work anymore

Post by johnnydomotic »

Thanks for that tip, did not know this was an option, will try it later and report back.
johnnydomotic
Posts: 7
Joined: Tuesday 09 June 2015 20:34
Target OS: Linux
Domoticz version:
Contact:

Re: json udevice change device status by url suddenly dont work anymore

Post by johnnydomotic »

I tested authorizing 127.0.0.1 this works for sending the url without errors however,
Still the url dont work
When i check current status, svalue is 0 or 15 not on or off or open or closed anymore,

On another door sensor, When it is on, i set value to 0 then it goes off
But setting it to 15 dont turn it back on.
When i press the button assigned to the action i can see the log beeing updated but the image does not chage to open (red)
Anyone know if this is changed for doorsensors or how to get on and off working again by updating svalue?
johnnydomotic
Posts: 7
Joined: Tuesday 09 June 2015 20:34
Target OS: Linux
Domoticz version:
Contact:

Re: json udevice change device status by url suddenly dont work anymore

Post by johnnydomotic »

thanks for the support y'all !
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest