Page 1 of 1

DHT Values by http command

Posted: 26 May 2018, 20:28
by Frankinho
i need collect the values from the DHT Sensor by HTTP commands http://<espeasyip>/control?cmd=<command> into php
Is there an option like the other way to switch the relais by commands?

Re: DHT Values by http command

Posted: 26 May 2018, 21:13
by danmero
You can switch by http request or be MQTT subscription.

Regards,

Re: DHT Values by http command

Posted: 26 May 2018, 21:42
by Frankinho
The relais was only written as an example

I need the dht device temperature value as http command

Re: DHT Values by http command

Posted: 27 May 2018, 01:09
by danmero
Can you extract the value from http://<IP>/json

Do you want something else?

Regards,

Re: DHT Values by http command

Posted: 29 May 2018, 16:57
by Frankinho
Thanks, it works perfect for me :D