New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2C HTU21D broken after update 20230306 #4556
Comments
Have you tried to set a I2C ClockStretchLimit value on the Tools/Advanced page? (usable values could be 1000..20000) Also, some of the log output, including data of this sensor, could be helpful in diagnosing this issue. |
I've done some tests with values of 1000,10000 and 20000 at borh 100kHz and 400kHz, no success. How do I get log outputs with sensor data? |
Don't know exactly know how much logging is produced by this plugin though. |
Got an other (same type) ESP32 Wroom with a new HTU21D, nothing else connected; exact same issue older fw no problem, new fw; nan log seems quite empty? |
No need to have a DEBUG level log, that's mostly confusing, most plugins log something on INFO level, but it seems this plugin doesn't log much, as I didn't find anything relevant (P014 or SI70xx). To get the initialization log for the plugin (again) you can send the command |
What exact .bin file do you have installed on your ESP? |
This P014 does have an issue with settings transitions from earlier builds. |
Build: [ESP_Easy_mega_20230306_normal_ESP32_4M316k Mar 6 2023] removing and adding again did not make a difference, nor did a factory reset. log with task enable; 273276: UDP : 48:3F:DA:5C:42:47,192.168.188.105,5 |
As this may be related to updates in the Arduino framework libraries, can you test this Actions run, where I have included a newer version of those libraries? |
Sure! |
Can you try with "Check I2C devices when enabled:" unchecked on the Tools->Advanced page? |
that solved it! Thanks for helping :) |
Yes, that's a new feature, to see if the sensor is still connected, and disable the task if it's not responding as expected. But this just indicates that this sensor doesn't like to be re-detected while it also needs to do measurements. |
Thank you for testing.... |
glad to help, if you need a fix tested please let me know |
Yes please, this Actions run should have a fix, where you should turn back on the |
fix works, HTU21D is working as usual with "Check I2C devices when enabled" on |
Thanks for testing 👍 |
After updating a ESP32 to the latest 20230306 release a HTU21D sensor stopped working.
ESP has 98% load with P_14_Environment - SI70xx/HTU21D read but values stay at NaN.
Sensor is configured to read every 20 sec as slow I2C speed of 100000Hz and the ESP32 is also controlling two PCF8574 devices.
The sensor does show up in a I2C scan but wont read.
After downgrading to 20221224 everything works fine again.
The text was updated successfully, but these errors were encountered: