mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Add MHZ19 Temperature to Domoticz
Add MHZ19 Temperature as Domoticz Temperature selection (#5128)
This commit is contained in:
parent
e7f67f9b88
commit
776486f390
@ -4,6 +4,12 @@
|
||||
* Fix IR local echo
|
||||
* Add user configuration of HLW8012 and HJL-01/BL0937 Energy Monitoring as used in Sonoff S31, Pow Ra and many Tuya based devices
|
||||
* Add user configuration of MCP39F501 Energy Monitoring as used in Shelly2
|
||||
* Add support for multiple ADS1115 I2C devices (#5083)
|
||||
* Add rule support for "==", "!=" ">=" and "<=" (#5122)
|
||||
* Add Hass status sensor (#5139)
|
||||
* Change GUI weblog solving possible empty screens (#5154)
|
||||
* Change PN532 support from I2C to Serial for more stability (#5162)
|
||||
* Add MHZ19 Temperature as Domoticz Temperature selection (#5128)
|
||||
*
|
||||
* 6.4.1.13 20190130
|
||||
* Add command SetOption36 to control boot loop default restoration (#4645, #5063)
|
||||
|
@ -345,7 +345,10 @@ void MhzShow(bool json)
|
||||
if (json) {
|
||||
snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s,\"%s\":{\"" D_JSON_MODEL "\":\"%s\",\"" D_JSON_CO2 "\":%d,\"" D_JSON_TEMPERATURE "\":%s}"), mqtt_data, types, model, mhz_last_ppm, temperature);
|
||||
#ifdef USE_DOMOTICZ
|
||||
if (0 == tele_period) DomoticzSensor(DZ_AIRQUALITY, mhz_last_ppm);
|
||||
if (0 == tele_period) {
|
||||
DomoticzSensor(DZ_AIRQUALITY, mhz_last_ppm);
|
||||
DomoticzSensor(DZ_TEMP, temperature);
|
||||
}
|
||||
#endif // USE_DOMOTICZ
|
||||
#ifdef USE_WEBSERVER
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user