coding-lemur / co2-meter-esp32

Measures the CO2 level in the room and gives a warning when to ventilate. All values are also distributed via MQTT.
MIT License
10 stars 0 forks source link

unexpected readings and weird temperature and co2 values #4

Closed bbregman closed 8 months ago

bbregman commented 9 months ago

hello @coding-lemur , i have followed your instructions to connect all the hardware bits, downloaded the software from github, compiled it into platformio in visualstudio code (needed to change some version numbers for the dependency libs otherwise the project would not compile, gave some errors and warnings) and uploaded the software to the esp32-devkit board. led display is working, co2sensor is blinking red twice a second I think and says:

Do you know what is missing for a good reading?

thanks in advance!

coding-lemur commented 9 months ago

Hey @bbregman . Thank you for using my project. The code has some issues with the new library updates :/

The error-code -2 from the co-sensor library indicates that there was no response from the sensor: Maybe the software-serial library has an issue or your wiring isn't correct. Currently I'm not able to upgrade libraries and fix the issues.

Best regards

René

bbregman commented 8 months ago

hello @coding-lemur , thank you for your reply. eventually i figured it out by using esphome and resetting the co2 sensor, then the values came in and the software was working. thanks again for your clear documentation, this helped me a lot in building the device and troubleshooting the issue.

bbregman commented 8 months ago

i guess this issue can be marked as closed :)