HTTP Data Push not keeping url

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
Rozz
Posts: 2
Joined: Wednesday 28 January 2015 11:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

HTTP Data Push not keeping url

Post 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?
Syno DS1512+ => 3Gb Mem, 3x3TB Red, 2x1TB Green.
Asus Maximus VII, Core i7-4790K, 16GB 2400Mhz, 256gb 950Pro, Asus Strix GTX1070, 1xPB287Q + 2xU2412M.
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: HTTP Data Push not keeping url

Post 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?
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HTTP Data Push not keeping url

Post by HansieNL »

Same problem here.
Blah blah blah
benotje
Posts: 30
Joined: Saturday 27 December 2014 15:50
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.20078
Location: Menterwolde,The Netherlands
Contact:

Re: HTTP Data Push not keeping url

Post by benotje »

Same problem here.
raspberry pi
nas synology
homey
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: HTTP Data Push not keeping url

Post 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 ;-)
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HTTP Data Push not keeping url

Post by HansieNL »

Still can't get it running here...???
The log doesn't show any httplink push messages.
Blah blah blah
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: HTTP Data Push not keeping url

Post 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.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HTTP Data Push not keeping url

Post 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?
Blah blah blah
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: HTTP Data Push not keeping url

Post by qwerk »

HansieNL wrote:@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?


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.
benotje
Posts: 30
Joined: Saturday 27 December 2014 15:50
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.20078
Location: Menterwolde,The Netherlands
Contact:

Re: HTTP Data Push not keeping url

Post by benotje »

the put way works for me also not

Gizmocuz this problem is known ?????
raspberry pi
nas synology
homey
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: HTTP Data Push not keeping url

Post 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 !
Quality outlives Quantity!
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HTTP Data Push not keeping url

Post by HansieNL »

I love software but hate bugs ;)
Just bought you a beer :D
Blah blah blah
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: HTTP Data Push not keeping url

Post by gizmocuz »

HansieNL wrote:I love software but hate bugs ;)
Just bought you a beer :D
+1, thanks ;)
Quality outlives Quantity!
Rozz
Posts: 2
Joined: Wednesday 28 January 2015 11:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: HTTP Data Push not keeping url

Post 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!!!!!
Syno DS1512+ => 3Gb Mem, 3x3TB Red, 2x1TB Green.
Asus Maximus VII, Core i7-4790K, 16GB 2400Mhz, 256gb 950Pro, Asus Strix GTX1070, 1xPB287Q + 2xU2412M.
User avatar
homerruma
Posts: 6
Joined: Tuesday 07 March 2017 17:01
Target OS: Windows
Domoticz version: 4.9700
Location: Ruma-Serbia
Contact:

Re: HTTP Data Push not keeping url

Post by homerruma »

Hi
This setings work for my:
The target variable is 1, 2 ,3 e.t.c.
Attachments
domoticz4.png
domoticz4.png (199.67 KiB) Viewed 1727 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest