issues icon indicating copy to clipboard operation
issues copied to clipboard

BH1750 fails with update interval < 1s

Open Stewie3112 opened this issue 3 years ago • 2 comments

The problem

As per title, bh1750 sensor (and maybe other components using time) just doesn't work without any warning in the logs when update_interval is set below 1s. I actually need faster response time and was using 200ms with the previous releases successfully.

Which version of ESPHome has the issue?

2022.5.1

What type of installation are you using?

pip

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP32

Board

No response

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Stewie3112 avatar Jun 11 '22 07:06 Stewie3112

Hey there @ottowinter, mind taking a look at this issue as it has been labeled with an integration (bh1750) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

probot-esphome[bot] avatar Jun 14 '22 10:06 probot-esphome[bot]

affected for me too v2022.6.3 i try change update_interval from 1s to 0.5s and get n/a

EugeneKorneev avatar Aug 11 '22 21:08 EugeneKorneev

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 10 '22 01:12 github-actions[bot]

ESPHome 2023.2.4 still suffers this issue, the minimal working interval I tried so far is 800ms, when reduced further to 600ms, stopped working thereafter.

Garfield-Z avatar Feb 28 '23 16:02 Garfield-Z