-
Notifications
You must be signed in to change notification settings - Fork 20
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
Component lock time too long #22
Comments
Is this related to this warning in the logs?
It started to appear on my side after I started to emit more than just a couple things. |
With EspHome 2024.6.1 I do not get those warnings anymore even if the logging is set to Debug. |
I'm also getting this warrning message: Times are between 40 and 65 ms. I have 4 Victron devices on one ESP32 DEV KIT V1, where I request all avaliable params (voltage, current, power,...):
Beside Victron I'm also have some analog sensors, but the warrning message is only shown on Victron BLE. I have the latest version on ESPHome (2024.8.3) installed on HA. Hope it helps. |
I am getting quite a few of these alerts on pulling our environment via a single ESP32. all between 35-65ms when I see them show up. Not sure if this is a problem, but it seems that some devices are not being updated in Home Assistant timely, where as others are. 6x Smart Lithium Batteries Thoughts? |
Which configuration for logging are you using? I adjusted my Bluetooth scan parameter to receive more Bluetooth packages and therefore more Victron device messages. Here is my Bluetooth settings which works for me. See ESP32 Bluetooth Low Energy Tracker Hub for details. You might have to tweak these values. esp32_ble_tracker:
scan_parameters:
interval: 10ms
window: 10ms
active: false |
Hi Fabian, Using the following for logging; Enable logginglogger: I`ll try your settings and see how it works out over the next 24 hours. Also noticed some sensors seem to be going into HASS with 3 decimal points? When it looks like the source in ESPHOME logs from the BLE show only 2 decimal points. Data shows with multiple decimal points even outside of that graph created on the dashboard. Any thoughts on why some of the batteries would seem to have 3 decimal points and others only have 2? Here is the ESPhome code for the below sensors
ESP LOG: [11:14:49][D][sensor:094]: 'Eudora Battery 2 - Battery Voltage': Sending state 13.08000 V with 2 decimals of accuracy Screenshots below. |
I don't use HASS (Home Assistant). I run the ESPHome standalone with display. So I have very little knowledge of Home Assistant and its graphs and data. Looking at the graph there is a difference in when data is received The second graph is only displaying a single value for the full time. While the other has many data points. The graph appear to have an additional digit, but I believe this is due to rounding. As the battery is transmitting every few seconds a value and the graph is calculating an average of all values for a time period. This can cause this artefact. |
Look into lowering component lock time.
The text was updated successfully, but these errors were encountered: