Open jxmesw1 opened 10 months ago
Update: this is the message I see when looking at the logs during the boot:
[I][ens160:179]: ENS160 readings unavailable - 1 hour startup required after first power on
Same here. Any updates?
I’m glad I’m not the only one - I was starting to think it was a hardware-related issue.
When I get chance I’ll look at the source code and see if there’s anything obvious, although I’m not an expert in this area. I’ll let you know how I get on.
From: stlnick2 @.> Sent: Tuesday, February 6, 2024 9:56:41 PM To: esphome/issues @.> Cc: James Warner @.>; Author @.> Subject: Re: [esphome/issues] ENS160 requires one hour warmup each boot (should be 3min) (Issue #5355)
Same here. Any updates?
— Reply to this email directly, view it on GitHubhttps://github.com/esphome/issues/issues/5355#issuecomment-1930817442, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5ACMRJKMH3LPXTUGQAGL63YSKRJTAVCNFSM6AAAAABBTGG7OCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQHAYTONBUGI. You are receiving this because you authored the thread.Message ID: @.***>
[Rumor] While trying to resolve the issue with 0 readings, I read somewhere that the sensor writes to permanent memory only once 24h. So if you started it, went through the warmup, you need to keep it running for 23 more hours to store that calibration. [/Rumor]
@Komzpa That makes sense. It's been, well, a long time since I've installed the sensor and I haven't had to reboot it, but I did just now and only 3 minutes were needed before readings.
So I assume it needs to be running for 24 hours before the 3min boots are available, like you said. If so, we could close this issue
Thankyou
It's not just a rumour, it's in the datasheet:
The problem
According to the docs, the ENS160 eCO2/tVOC sensor requires a one-hour warmup the very first time it's powered up. For subsequent boots or restarts, it's three minutes before readings are available. However, I'm experiencing an issue whereby I have to wait a full hour for readings every time I reboot my ESP. This should be three minutes rather than an hour.
Which version of ESPHome has the issue?
2023.12.5
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.1.2
What platform are you using?
ESP8266
Board
NodeMCU
Component causing the issue
ENS160
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
I sometimes see a message in the log saying something along the lines of "One hour warmup required..." although this is not always the case. I think this depends on when I look at the log, e.g. as soon as the ESP has booted