home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.15k stars 30.19k forks source link

Newer MH-Z19B CO2 Sensor does not work with MH-Z19 Component - CO2 value never changes, remains at 5000 ppm #14498

Closed Bit-River closed 6 years ago

Bit-River commented 6 years ago

Home Assistant release with the issue: Issue observed with 0.69

Last working Home Assistant release (if known): not known

Operating environment (Hass.io/Docker/Windows/etc.): Hassbian

Component/platform: MH-Z19 CO2 Sensor

Description of problem: Newer Model the MH-Z19B isn't completely compatible - while the temperature is recorded correctly and responds quickly, the CO2 reading stays at 5000 ppm all the time.

There is no difference in the value when brought indoors or outdoors.

The value returns to 5000 within a few seconds when an arbitrary figure is forced.

One post on a different board I noticed stated that:

... the "B" version of the sensor, which gives a "0" as S-value.

if that helps ?

https://www.letscontrolit.com/forum/viewtopic.php?t=3857&start=20

The sensor yaml I used, standard as per component:

  - platform: mhz19
    serial_device: /dev/serial0
    monitored_conditions:
      - co2
      - temperature
muspelheim commented 6 years ago

same

balloobbot commented 6 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

balloobbot commented 6 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍