arendst/Sonoff-MQTT-OTA-Arduino

Home Assistant MQTT query for Tempature/Humidity

Open

#249 opened on Jan 16, 2017

 (4 comments) (0 reactions) (0 assignees)Arduino (196 forks)github user discovery
help wantedsolved

Repository metrics

Stars
 (619 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I'm setting up Home Assistant and I got it reporting the on/off state of my sonoff and am able to switch it from the web interface of home assistant. I added a temp sensor on GPIO14 and I am able to see the temp/humidity on the main page of the arduino. I did notice that is publishes this temp to my MQTT server every now and then. but how do i make a publish to query for the temp/humidity?

looking in the commands under the wiki here doesn't have anything about DHT or TEMP and querying for status doesn't return the temp/humidity.

Any thoughts?

Contributor guide