Page 1 of 1
HTTP Data Push not keeping url
Posted: Monday 12 December 2016 21:14
by Rozz
Hi all,
I would like to push data to my Homey with a get http data push, but the URL field will not keep or store the setting, i can save the url and get an http link save confirmation, but when i return to the page the url field is blank.
The url field is located in: Settings - More Options - Data Push - HTTP
Can anyone point me in the right direction or if someone needs more info, please ask me what you need to help me.
For a crosspost to the Homey forum where this problem started:
https://forum.athom.com/discussion/2285/domoticz-data?
Re: HTTP Data Push not keeping url
Posted: Tuesday 13 December 2016 15:04
by qwerk
I have the same problem. see also
https://forum.athom.com/discussion/2285/domoticz-data
Are there people where this is working? what version are you using?
Re: HTTP Data Push not keeping url
Posted: Tuesday 13 December 2016 15:47
by HansieNL
Same problem here.
Re: HTTP Data Push not keeping url
Posted: Tuesday 13 December 2016 17:29
by benotje
Same problem here.
Re: HTTP Data Push not keeping url
Posted: Tuesday 13 December 2016 21:30
by qwerk
I found a way around the problem.
don't use the GET option , use the PUT option. then you can save the url and change is to GET.
Now it will stick

Re: HTTP Data Push not keeping url
Posted: Tuesday 13 December 2016 22:48
by HansieNL
Still can't get it running here...???
The log doesn't show any httplink push messages.
Re: HTTP Data Push not keeping url
Posted: Tuesday 13 December 2016 22:59
by qwerk
HansieNL wrote:Still can't get it running here...???
The log doesn't show any httplink push messages.
You did get the URL saved in domoticz?
My log is showing the actions.
It only sends data when the data is changed.
Re: HTTP Data Push not keeping url
Posted: Tuesday 13 December 2016 23:20
by HansieNL
@qwerk: Can't even save the link.
The link I use is :
http://192.168.x.xx/api/app/com.internet/%V/%v (x=number

Are you using the same link?
Re: HTTP Data Push not keeping url
Posted: Wednesday 14 December 2016 7:05
by qwerk
I am using the same link. Have you seen my earlier post that you can not save the link (first time) when you use the GET statement.
firsttime use the put statement , save it, then you can change it to the GET statement.
Re: HTTP Data Push not keeping url
Posted: Wednesday 14 December 2016 8:00
by benotje
the put way works for me also not
Gizmocuz this problem is known ?????
Re: HTTP Data Push not keeping url
Posted: Wednesday 14 December 2016 9:17
by gizmocuz
benotje wrote:the put way works for me also not
Gizmocuz this problem is known ?????
you can not send me a private message to look at something....
This is also an open source project, this means, you should 'try' at least to compile/debug domoticz, which, under windows, is a piece of cake.
then, if you open the 'chrome' developer console, go to the network tab, and try to save the link, you will see exactly which json call is called.
next, you can search in the code for this command, and you will see where it is checked against, and if you debug step-by-step, you will see where the problem lies.
Took me 3 minutes at the most, without coding skills, to find (and test) the problem. So fixed in #6144
Writing this post took longer... in the feature 'try' at least to debug, it is also a lot of fun !
Re: HTTP Data Push not keeping url
Posted: Wednesday 14 December 2016 10:24
by HansieNL
I love software but hate bugs

Just bought you a beer

Re: HTTP Data Push not keeping url
Posted: Wednesday 14 December 2016 16:27
by gizmocuz
HansieNL wrote:I love software but hate bugs

Just bought you a beer

+1, thanks

Re: HTTP Data Push not keeping url
Posted: Wednesday 14 December 2016 16:41
by Rozz
I updated to Domoticz v3-6147 and used the GET stuff, everything works now!! seeing data being pushed to Homey whenever something changes!
FINALLY!!!!!
Re: HTTP Data Push not keeping url
Posted: Tuesday 02 January 2018 18:11
by homerruma
Hi
This setings work for my:
The target variable is 1, 2 ,3 e.t.c.