arendst/Sonoff-MQTT-OTA-Arduino

Home Assistant MQTT query for Tempature/Humidity

开放

#249 创建于 2017年1月16日

 (4 条评论) (0 个反应) (0 位负责人)Arduino (196 个派生)github user discovery
help wantedsolved

仓库指标

星标
 (619 个星标)
PR 合并指标
 (30 天内没有已合并 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?

贡献者指南