Fir. 2.00 Rules - SendtoHTTP - domoticz problem

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
keko37un
New user
Posts: 1
Joined: 12 Sep 2017, 22:26

Fir. 2.00 Rules - SendtoHTTP - domoticz problem

#1 Post by keko37un » 13 Sep 2017, 08:53

Hi I have problem send command to domoticz server
rules seem to be ok but sending improper syntaxt to domoticz.

Rule: peter
rules.jpg
rules.jpg (52.5 KiB) Viewed 1977 times
Output:
output.jpg
output.jpg (40.9 KiB) Viewed 1977 times
Can somebody help ?
thanks
peter

I`m found problem, right syntax for send back switching command is:

rules:

On Onxy do
SendToHTTP 192.168.1.46,8080,/json.htm?param=switchlight&type=command&idx=176&switchcmd=On
endon

On OFFxy do
SendToHTTP 192.168.1.46,8080,/json.htm?param=switchlight&type=command&idx=176&switchcmd=Off
endon

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests