Patrick762 / hassio-bluetti-bt

Bluetti Integration for Home Assistant
MIT License
30 stars 9 forks source link

[Bug]: AC200M : many errors in settings -> system -> logs #100

Closed fg-ha closed 1 month ago

fg-ha commented 1 month ago

What happened?

Problem : AC-OUTPUT ON/OFF and DC-OUTPUT ON/OFF are executed after reboot of raspberrypi v3plus dashboard not updated, battery status and charge power freeze sometimes

Version

0.0.11

What device are you seeing the problem on?

AC200M

What bluetooth connection are you using?

USB dongle

Have you changed the integration settings?

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

Integration settings (if you changed them)

Options
Use Controls ON
Polling interval  90 sec
Polling timeout   50 sec

Relevant log output

Error log 
This error originated from a custom integration.

Logger: custom_components.bluetti_bt.switch
Source: custom_components/bluetti_bt/switch.py:126
integration: Bluetti BT (documentation, issues)
First occurred: 17:47:13 (2 occurrences)
Last logged: 17:47:13

Invalid data from coordinator (switch.ac200mXXXXXXXXXXac_output)
Invalid data from coordinator (switch.ac200mXXXXXXXXXXdc_output)

warnings 
This error originated from a custom integration.

Logger: custom_components.bluetti_bt.sensor
Source: custom_components/bluetti_bt/sensor.py:163
integration: Bluetti BT (documentation, issues)
First occurred: 17:43:57 (8 occurrences)
Last logged: 17:45:32

No data for available for (total_battery_voltage)
No data for available for (pack_status1)
No data for available for (pack_status2)
No data for available for (pack_status3)

This error originated from a custom integration.

Logger: custom_components.bluetti_bt.sensor
Source: custom_components/bluetti_bt/sensor.py:147
integration: Bluetti BT (documentation, issues)
First occurred: 17:47:13 (22 occurrences)
Last logged: 17:47:13

Data from coordinator is None. Skipping update for ac200mXXXXXXXXXXbattery_pack_2_voltage
Data from coordinator is None. Skipping update for ac200mXXXXXXXXXXbattery_pack_2_percent
Data from coordinator is None. Skipping update for ac200mXXXXXXXXXXbattery_pack_3_status
Data from coordinator is None. Skipping update for ac200mXXXXXXXXXXbattery_pack_3_voltage
Data from coordinator is None. Skipping update for ac200mXXXXXXXXXXbattery_pack_3_percent

This error originated from a custom integration.

Logger: custom_components.bluetti_bt
Source: custom_components/bluetti_bt/__init__.py:61
integration: Bluetti BT (documentation, issues)
First occurred: 17:42:17 (1 occurrences)
Last logged: 17:42:17

You are using controls with this integration at your own risk!

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:188
First occurred: 17:42:10 (1 occurrences)
Last logged: 17:42:10

Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
fg-ha commented 1 month ago

new to homeassistant i had to learn how to use beta versions. installed beta 0.23 and found that the previous release has to be removed to make beta work. toggle of ac output now works after a few retries. i see some errors in the logs, appending dump ... home-assistant_2024-05-20T08-13-12.834Z.log

fg-ha commented 1 month ago

these ac200m values changed with bluetti-bt-0.23-beta : internal ac frequency 5 Hz (? 50 Hz) internal ac voltage 22.9 V (? 230 V) total battery voltage unknown (... 53.8 V)

several other unsed fields like those for [external] battery packs disappeared.