Fabian-Schmidt / esphome-victron_ble

Use official Victron BLE endpoint for fetching data from Victron devices via Bluetooth LE via ESPHome.
GNU General Public License v3.0
152 stars 15 forks source link

Component lock time too long #22

Open Fabian-Schmidt opened 1 year ago

Fabian-Schmidt commented 1 year ago

Look into lowering component lock time.

yoannchaudet commented 7 months ago

Is this related to this warning in the logs?

...
[11:09:26][W][component:214]: Component victron_ble took a long time for an operation (0.06 s).
[11:09:26][W][component:215]: Components should block for at most 20-30ms.
...

It started to appear on my side after I started to emit more than just a couple things.

HBK1 commented 1 month ago

With EspHome 2024.6.1 I do not get those warnings anymore even if the logging is set to Debug. I am also running syssi/esphome-jk-bms on the same esp32-s3-devkitc-1 (T-Dongle-S3) without problem.