ble_monitor icon indicating copy to clipboard operation
ble_monitor copied to clipboard

protocol.data_received() call failed

Open edgarvoorbraak opened this issue 4 years ago • 2 comments

I have this error on the latest build, 7.9.3. It causes the whole integration to stop working basically.

Logger: homeassistant Source: custom_components/ble_monitor/ble_parser/init.py:273 Integration: Passive BLE monitor (documentation, issues) First occurred: 01:05:11 (1077 occurrences) Last logged: 19:05:18

Error doing job: Fatal error: protocol.data_received() call failed. Traceback (most recent call last): File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 870, in _read_ready__data_received self._protocol.data_received(data) File "/usr/local/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 1855, in data_received self.process(packet) File "/config/custom_components/ble_monitor/init.py", line 648, in process_hci_events sensor_msg, tracker_msg = self.ble_parser.parse_data(data) File "/config/custom_components/ble_monitor/ble_parser/init.py", line 273, in parse_data elif ((man_spec_data[4] << 8) | man_spec_data[5]) == 0xBEAC and data_len == 0x1B: IndexError: index out of range

edgarvoorbraak avatar Mar 04 '22 18:03 edgarvoorbraak

Please try 7.9.4, I think this version will fix your issue.

Let me know if it is fixed

Ernst79 avatar Mar 04 '22 19:03 Ernst79

Awesome, that fixed it, thanks.

edgarvoorbraak avatar Mar 04 '22 20:03 edgarvoorbraak