Hi all,
I use SONOFF TH16 with DHT22 and firmware espeasy 1.20 .
I try to read GPIO14 by http (http://192.168.x.x/control?cmd=status,gpio,14). Answer is "?".
Thank you for your help
GPIO14 status by http
Moderators: grovkillen, Stuntteam, TD-er
Re: GPIO14 status by http
According to the wiki the status command is to Get a status set by GPIO/PWM/Servo command.
So, not for reading temp or humidity I guess.
So, not for reading temp or humidity I guess.
Re: GPIO14 status by http
Thank you Win16,
I suspected this answer. Please, could anyone give me the best solution to read the temperature and humidity values with http request ?
I suspected this answer. Please, could anyone give me the best solution to read the temperature and humidity values with http request ?
Re: GPIO14 status by http
You can use a controller to make ESPEasy send the values to some server or maybe query the JSON output.
Re: GPIO14 status by http
i tried send to my web server from sonoff... and opened an other topic because i think that esp easy doesn't accept requests like http://192.168.1.1/rcgi.bin/UpdateTagFo ... TagValue1= {{NumberField}}
All exemples seen use json syntax.
All exemples seen use json syntax.
Who is online
Users browsing this forum: Google [Bot] and 57 guests