arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.18k stars 4.8k forks source link

mh-z19b should send temperature by mqtt to Domoticz too #5128

Closed Shmigger closed 5 years ago

Shmigger commented 5 years ago

mh-z19b sensor get temperature and CO2 values by tasmota well, but tasmota do no send temperature value by mqtt, only CO2 value is sent. It would be nice to use temperature values of mh-z19b without need of additional ds18b20. and thank you for excellent project!

Jason2866 commented 5 years ago

It does 22:32:49 MQT: tele/sonoff-71C254/SENSOR = {"Time":"2019-02-05T22:32:49","MHZ19B":{"CarbonDioxide":836,"Temperature":21.0},"TempUnit":"C"}

Shmigger commented 5 years ago

Oh, I'm really sorry for my wrong topic. The problem is Mqtt for Domoticz would not send temperature values.

14:17:43 MQT: domoticz/in = {"idx":1,"nvalue":440,"Battery":85,"RSSI":10} 14:17:43 MQT: tele/DVES_0073FA/SENSOR = {"Time":"2019-02-06T14:17:43","MHZ19B":{"CarbonDioxide":440,"Temperature":23.0},"TempUnit":"C"}

ascillato2 commented 5 years ago

Added by Theo. Thanks :+1:

Shmigger commented 5 years ago

You are awesome! Thank you!!!