Page 1 of 1

esp to domoticz

Posted: 15 Dec 2016, 00:14
by vmfs1968
Hello
When I send this command through the command line esp
SendToHTTP 192.168.0.243,8080,/json.htm?type=command&paramm=switchlight&idx=174&switchcmd=On
It does not give a bug but in Domoticz it does nothing
What is wrong here?
Can someone help?

Re: esp to domoticz

Posted: 25 Dec 2016, 11:40
by Westcott
There are too many 'm' in paramm!
The Wiki needs to be edited.

Re: esp to domoticz

Posted: 27 Dec 2016, 12:28
by nick-head
I just tried

SendToHTTP 192.168.0.100,8070,/json.htm?type=command&param=switchlight&idx=114&switchcmd=On

and it works, so it looks like you missed a / off at the json.htm? bit.

Maybe too late but, hey , at least you got a working reply.