在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:MacWyznawca/homebridge-mqtt-temperature-log-tasmota开源软件地址:https://github.com/MacWyznawca/homebridge-mqtt-temperature-log-tasmota开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-mqtt-temperature-log-tasmotaPlugin to HomeBridge optimized for work with Itead Sonoff and Electrodragon Relay Board hardware and firmware Sonoff-Tasmota via MQTT with log temperature (periodical and 24 h min. and max.) to file. It acts as a themperature monitor for DS18B20, DHT22, DHT11, AM2301, AM2302 sensors. Also works with other accessories sending the temperature as a number (payload ex. 21.1). Like this? Please buy me a beer (or coffee) ;-) MacWyznawca.pl Jaromir Kopp Something moreWorks with plugs [homebridge-max-temperature-log] and [homebridge-min-temperature-log], showing the minimum and maximum daily temperatures. Installation
Sample HomeBridge Configuration (complete){
} Sample HomeBridge Configuration (minimal){
} Description of the configuration file.sonoff in topic - topics name of Your Sonoff switch. "topic" - telemetry topic (for sensors data) "activityTopic": "tele/sonoff/LWT" - last will topic for check online state. "activityParameter": "Online" - last will payload for online state. "startCmd": "cmnd/sonoff/TelePeriod" - command sent after the connection. "startParameter": "60" - payload for startCmd. "patchToSave":"/root/.homebridge/" - path to save text files with temperature data. "savePeriod": "15" - period (minutes) for saving and check temperature. For save only min. and max. 24h temperature data set with "minus" ex "-15". Minimal preriod 10 minutes. Empty: save every hour. "zeroHour": "23" - time (UTC) at which you want to reset the timer min./max. Empty to reset after 24 hours since the last minimum or maximum. The files will be saved in the specified path with the "topic" (ex. Sonoff) in the file name ex. "/root/.homebridge/sonoff_temp.csv". "sensorPropertyName": "BME280-2" - custom Property name for sensor (see accessory WWW console for tips: {"Time":"2017-03-01T08:47:19", "DHT22-2":{"Temperature":4.6, "Humidity":71.7}}) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论