arendst/Sonoff-MQTT-OTA-Arduino

Home Assistant MQTT query for Tempature/Humidity

Aperta

#249 aperta il 16 gen 2017

 (4 commenti) (0 reazioni) (0 assegnatari)Arduino (196 fork)github user discovery
help wantedsolved

Metriche repository

Star
 (619 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor