arendst/Sonoff-MQTT-OTA-Arduino

Home Assistant MQTT query for Tempature/Humidity

Offen

#249 geöffnet am 16.01.2017

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Arduino (196 Forks)github user discovery
help wantedsolved

Repository-Metriken

Stars
 (619 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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