DHT Values by http command

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Frankinho
New user
Posts: 3
Joined: 26 May 2018, 20:21

DHT Values by http command

#1 Post by Frankinho » 26 May 2018, 20:28

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?

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: DHT Values by http command

#2 Post by danmero » 26 May 2018, 21:13

You can switch by http request or be MQTT subscription.

Regards,

Frankinho
New user
Posts: 3
Joined: 26 May 2018, 20:21

Re: DHT Values by http command

#3 Post by Frankinho » 26 May 2018, 21:42

The relais was only written as an example

I need the dht device temperature value as http command

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: DHT Values by http command

#4 Post by danmero » 27 May 2018, 01:09

Can you extract the value from http://<IP>/json

Do you want something else?

Regards,

Frankinho
New user
Posts: 3
Joined: 26 May 2018, 20:21

Re: DHT Values by http command

#5 Post by Frankinho » 29 May 2018, 16:57

Thanks, it works perfect for me :D

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests