arendst/Sonoff-MQTT-OTA-Arduino

Home Assistant MQTT query for Tempature/Humidity

オープン

#249 opened on 2017/01/16

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Arduino (196 件のフォーク)github user discovery
help wantedsolved

Repository metrics

Stars
 (619 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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?

コントリビューターガイド