Open ar-ml opened 4 months ago
I contacted the manufactorer Winsen Sensor and got the following reply:
Q1: Why is Zeropoint Calibration not working? For the MH-Z19C Co2 Sensor there are two ways to calibrate the zero point:
Q2: How to switch auto-calibration (ABC) between 1 day and 7 day cycle?
Is there anyone who can update the ESPhome mhz19 component code, to support these commands? https://esphome.io/components/sensor/mhz19.html https://github.com/esphome/esphome/tree/dev/esphome/components/mhz19
Update: A dev checked the code and found out that zero point calibration should already be using the command mentioned above... No idea why it is not working then...
Maybe someone else wants to continue here one day...
I will probably switch to a different model / manufacturer now for further development: https://esphome.io/components/sensor/senseair.html (Seems to have much better ABC auto-calibration, and should work with sensor models Senseair Sunlight, Senseair Sunrise and Senseair S8.)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
(Please check my code below!)
I also tried it using the code from the documentation, but it did not work either: https://esphome.io/components/sensor/mhz19.html
(Please check below what I see in the logs, when I push the button for triggering zero point calibration.)
Could it be that mhz19.calibrate_zero Action is not working with MH-Z19C ??? Can you fix that?
Which version of ESPHome has the issue?
2024.2.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.1.3
What platform are you using?
ESP32
Board
Berrybase NMCU-ESP32
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response