Http to domoticz (json) syntax problem

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
qwerk
Normal user
Posts: 2
Joined: 26 Nov 2016, 16:46

Http to domoticz (json) syntax problem

#1 Post by qwerk » 26 Nov 2016, 16:51

I want to use rules to signal when my esp has booted.
I want him to switch a (virtual) light on

I use:

On System#Boot do
SendToHTTP 192.168.3.119,80,/json.htm?type=command&param=switchlight&idx=1759&switchcmd=On
endon

I get:

On System#Boot do
SendToHTTP 192.168.3.119,80,/json.htm?type=commandśm=switchlight&idx=1759&switchcmd=On
endon


It can't handle the &param .
Does anyone knows a way around this?

ayasystems
Normal user
Posts: 39
Joined: 09 Aug 2016, 09:45

Re: Http to domoticz (json) syntax problem

#2 Post by ayasystems » 27 Nov 2016, 20:06

You can create one switch and set it to send the value AT BOOT.... It is the same that you are talking


Regards

qwerk
Normal user
Posts: 2
Joined: 26 Nov 2016, 16:46

Re: Http to domoticz (json) syntax problem

#3 Post by qwerk » 27 Nov 2016, 20:37

ayasystems wrote:You can create one switch and set it to send the value AT BOOT.... It is the same that you are talking


Regards

thanks, simple and effective
I didn't think of that

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests