Open gkathan opened 2 months ago
Have you tried bringing the device running HA closer to the MPPT? Could be the connection of the solar panel is attenuating the BT signal such that the device cannot be communicated with by the HA host BT.
During full noon sunshine, I get sporadic data...the Sun is disrupting the RF of BT just enough....once the Sun has passed over head everything resumes as normal. My Victron shunt is the most affected. It has notoriously weak BT power.
hmmm ... it worked like a breeze for the last 6 month .. and stopped suddenly with this weird behaviour => did not change anything physically in the setup
another update on my issue:
on my victron connect app both mppts show correct values
maybe I shall try to reset the pin to get new key and retry
Based on the error message you're seeing:
File "/config/custom_components/victron_ble/sensor.py", line 154, in sensor_update_to_bluetooth_data_update
): SENSOR_DESCRIPTIONS[
^^^^^^^^^^^^^^^^^^^^
KeyError: (<VictronSensor.EXTERNAL_DEVICE_LOAD: 'external_device_load'>, <Units.ELECTRIC_CURRENT_AMPERE: 'A'>)
I think my patch #124 should fix it. The problem seems to be that the code assumes the external_device_load
will have no units, but it actually comes through with a unit. #124 handles either case.
Version of the custom_component
version: 0.1.1
HA: core: 2024.8.3
Describe the bug
Hi, I have 2 victron mppt smart solar devices in my van - and both did work with BLE integration without issues for last months
any ideas ?
Debug log
This error originated from a custom integration.
Logger: custom_components.victron_ble.device Source: custom_components/victron_ble/device.py:71 integration: Victron BLE (documentation, issues) First occurred: 14:51:32 (37 occurrences) Last logged: 14:52:51
Could not identify Victron device type
Logger: custom_components.victron_ble Source: components/bluetooth/passive_update_processor.py:575 integration: Victron BLE (documentation, issues) First occurred: 14:51:32 (43 occurrences) Last logged: 14:52:50
Unexpected error updating hamburgT3.foldable data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/bluetooth/passive_update_processor.py", line 575, in async_handle_update new_data = self.update_method(update) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/victron_ble/sensor.py", line 154, in sensor_update_to_bluetooth_data_update ): SENSOR_DESCRIPTIONS[ ^^^^^^^^^^^^^^^^^^^^ KeyError: (<VictronSensor.EXTERNAL_DEVICE_LOAD: 'external_device_load'>, <Units.ELECTRIC_CURRENT_AMPERE: 'A'>)