Patrick762 / hassio-bluetti-bt

Bluetti Integration for Home Assistant
MIT License
53 stars 17 forks source link

[Bug]: AC70P successfully discovered and added, but entities are shown as unavailable. #148

Open jerryzou opened 3 days ago

jerryzou commented 3 days ago

What happened?

Today I bought an AC70P. Installed the integration -> restarted HA -> AC70PXXXXXXXXXX discoverd -> Added sucessfully -> One sensor entity showed as "Total Battery Percent" and Unavailable

Could it be my AC70P firmware is too new so the communication is encrypted?

Any help would be appreciated. :)

What version of our software are you running?

integration: 0.1.4

AC70P firmware version:

IoT v9046.01 ARM v2152.01 DSP V2112.03

What device are you seeing the problem on?

AC70P

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

Relevant log output

2024-11-23 21:05:15.439 INFO (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Reading data
2024-11-23 21:05:15.440 INFO (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Polling commands: 110-115,116-119,154-154,102-102
2024-11-23 21:05:15.440 INFO (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Pack comands: 
2024-11-23 21:05:16.959 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Requesting ReadHoldingRegisters(starting_address=110, quantity=6)
2024-11-23 21:05:21.768 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Raw data: b''
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Parsed data: {}
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Requesting ReadHoldingRegisters(starting_address=116, quantity=4)
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Raw data: b''
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Parsed data: {}
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Requesting ReadHoldingRegisters(starting_address=154, quantity=1)
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Raw data: b''
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Parsed data: {}
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Requesting ReadHoldingRegisters(starting_address=102, quantity=1)
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Raw data: b''
2024-11-23 21:05:21.769 DEBUG (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Parsed data: {}
2024-11-23 21:05:21.786 DEBUG (MainThread) [custom_components.bluetti_bt.coordinator] Finished fetching Bluetti polling coordinator data in 6.347 seconds (success: True)
2024-11-23 21:05:21.787 DEBUG (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None