Closed moritzschaefer closed 11 months ago
I have the same problem :(
I read thorugh all the comments from all the threads I found again and esphome claims it's a 'hardware issue' with the NodeMCUs. Apparently, other ESP-based board designs are working fine
You accidentally ended up with an HC8 sensor, another Chinese one -- I did the same thing. There are multiple eBay listings selling it as an MH-Z19 sensor but it has a completely different protocol. See this link .
Kind of sad that I gaslighted myself by lengthy threads on connectivity issues between MH-Z19 and NodeMCU. Would be amazing if someone builds an esphome plugin for this decide. I can't commit to it unfortunately at the moment
The problem
Similarly to #488, I get "Reading from UART timed out at byte 0!" error messages with the MH-Z19C (https://www.ebay.de/itm/225181851233).
As shown in the logs and yaml below, I am using UART2 and disable uart-logging, so my issue seems to be different from #488.
Pin-wise, I only connect GND and 5V on one side and RX and TX on the other side.
Can you see anything in the logs that hints towards what's wrong?
Which version of ESPHome has the issue?
2022.10.2 & 2023.05.03
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP8266
Board
nodemcu v2/3
Component causing the issue
uart/mh-z19
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response