esp to domoticz

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
vmfs1968
Normal user
Posts: 42
Joined: 18 Oct 2015, 23:51

esp to domoticz

#1 Post by vmfs1968 » 15 Dec 2016, 00:14

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?

User avatar
Westcott
Normal user
Posts: 24
Joined: 05 Sep 2016, 18:14
Location: Gloucester
Contact:

Re: esp to domoticz

#2 Post by Westcott » 25 Dec 2016, 11:40

There are too many 'm' in paramm!
The Wiki needs to be edited.
Domoticz, Sonoff, ESP32

nick-head
Normal user
Posts: 48
Joined: 15 Nov 2016, 11:09
Location: North East UK

Re: esp to domoticz

#3 Post by nick-head » 27 Dec 2016, 12:28

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.
ESP32, Arduino's,Raspberry Pi's, ESP8266's, Nextion's, Sonoff's, LightWaveRF's, RFXCom 433, and a headache
And a HackRF One, as a present to myself.

Post Reply

Who is online

Users browsing this forum: No registered users and 69 guests