-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
SHT3X plugin sometimes can't read data when the interval value is less than 2s #2658
Comments
I have to look at the code to know for sure, but my first impression is that the separate values are being read one after another and not in one cycle. |
I'm still getting the same nan values with the interval of 3s. |
Just curious. What is the use case where you need to check temp/hum values so often? |
for now I just for testing stuff use this interval but there isn't any problem in reading other I2C sensores and also with SHT11 within 1s interval so there should be some optimization issue in the code. |
I'm not saying the plugin is working correct, I was just curious what use case there could be to really need such frequent updates :) |
This issue is no longer relevant, and can be closed. |
Not 100% sure this is actually being fixed, but please let me know if it is still an issue. |
I'm using the the esp32test_1M8_partition platform on ESP32 which have a SSD1306 OLED and a SHT31 connected on I2C bus, the problem is when I set the interval value of SHT31 less than 2S some time I just got a nan as temp and humidity values while I don't have any problem with bmp180 or SHT11 connected to the same device so it seems there is a problem in SHT3X plugin, here is the Log of the device,
you can see there are almost one nan valuse on every two read values,
here are some picture of the settings
The text was updated successfully, but these errors were encountered: