hassio-bluetti-bt icon indicating copy to clipboard operation
hassio-bluetti-bt copied to clipboard

[Bug]: Update sensors

Open juanmijm opened this issue 5 months ago • 0 comments

What happened?

The integration detected the station on the first try, but I see that it took a long time to update the sensors. After investigating the issues and logs I discovered that you can configure the Persistent connection and polling.

I activated Persistent connection and I tried to set the interval to 5 seconds and the timeout to 20, but this way it did not connect to the station and I got a continuous error in the log

Now I have configured 10 for interval and 45 for timeout and it reconnects, but I am checking that the sensors reset the counter every 27 seconds, but it does not really update the data until 27+27 seconds have passed

The device I am using is an ESP32 ETH01 configured with the Yaml from the EspHome page and used exclusively to connect to the Bluetti station.

On the other hand, I see that after a short time of being up and running the device disconnects

I would like to know how I can configure it to get the best stability and fastest possible sensor update, thanks.

What version of our software are you running?

0.1.4

What device are you seeing the problem on?

AC200L

What bluetooth connection are you using?

ESPHome bluetooth proxy

Have you changed the integration settings?

Yes (Please write down the changed settings in the next step)

Integration settings (if you changed them)

No response

Relevant log output

Registrador: custom_components.bluetti_bt.coordinator
Fuente: custom_components/bluetti_bt/coordinator.py:74
integración: Bluetti BT (documentación, problemas)
Ocurrió por primera vez: 14:02:13 (61 ocurrencias)
Última vez registrado: 14:12:13

Device not connected

juanmijm avatar Sep 23 '24 12:09 juanmijm