hello, I am a vm with hasso, I have a sena key which is connected to the vm, with roon assistant, it was seen and worked well, on the other hand with TheengsGateway addon nothing works, here is part of my configuration
if you want more info let me know
Hello,
What do you see in the logs of the addon ?
Could you change the configuration, and put the log level to DEBUG and share again the log extract?
hello, well I found it was my bluetooth key which was not detected in ha, on the other hand he does not see that watches are not for me
1 Like
INFO:BLEGateway:publishing device `{'name': 'Mi Smart Band 5', 'id': 'FD:B9:C6:35:59:3A', 'rssi': -77, 'brand': 'Xiaomi/Amazfit', 'model': 'Mi Band/Smart Watch', 'model_id': 'MB/SW', 'steps': 51, 'device': 'Xiaomi/Amazfit Tracker', 'mfr': 'Anhui Huami Information Technology Co., Ltd.'}` ERROR:root:A message handler raised an exception: Extra data: line 1 column 165 (char 164). Traceback (most recent call last): File "src/dbus_fast/message_bus.py", line 811, in dbus_fast.message_bus.BaseMessageBus._process_message File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/manager.py", line 848, in _parse_msg self._run_advertisement_callbacks( File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/manager.py", line 892, in _run_advertisement_callbacks callback(device_path, device.copy()) File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/scanner.py", line 279, in _handle_advertising_data self._callback(device, advertisement_data) File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/ble_gateway.py", line 339, in detection_callback gw.publish_device_info( File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/discovery.py", line 110, in publish_device_info pub_device["properties"] = json.loads( File "/usr/lib/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.9/json/decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 165 (char 164) DEBUG:BLEGateway:73:3D:BA:2E:7B:28:AdvertisementData(manufacturer_data={224: b'\x01\xdb\xcae=+'}, service_data={'0000fe9f-0000-1000-8000-00805f9b34fb': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'}, service_uuids=['0000fe9f-0000-1000-8000-00805f9b34fb'], rssi=-72)
Traceback (most recent call last):
File "src/dbus_fast/message_bus.py", line 811, in dbus_fast.message_bus.BaseMessageBus._process_message
File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/manager.py", line 778, in _parse_msg
self._run_advertisement_callbacks(
File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/manager.py", line 892, in _run_advertisement_callbacks
callback(device_path, device.copy())
File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/scanner.py", line 279, in _handle_advertising_data
self._callback(device, advertisement_data)
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/ble_gateway.py", line 339, in detection_callback
gw.publish_device_info(
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/discovery.py", line 110, in publish_device_info
pub_device["properties"] = json.loads(
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 165 (char 164)```
Thanks for reporting this, it’s a bug in Theengs Decoder and will be fixed in the next release.
1 Like
hi i have this error too
ERROR:root:A message handler raised an exception: Extra data: line 1 column 165 (char 164).
Traceback (most recent call last):
File "src/dbus_fast/message_bus.py", line 811, in dbus_fast.message_bus.BaseMessageBus._process_message
File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/manager.py", line 778, in _parse_msg
self._run_advertisement_callbacks(
File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/manager.py", line 892, in _run_advertisement_callbacks
callback(device_path, device.copy())
File "/usr/local/lib/python3.9/dist-packages/bleak/backends/bluezdbus/scanner.py", line 279, in _handle_advertising_data
self._callback(device, advertisement_data)
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/ble_gateway.py", line 339, in detection_callback
gw.publish_device_info(
File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/discovery.py", line 110, in publish_device_info
pub_device["properties"] = json.loads(
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 165 (char 164)
Also for the Mi Smart Band 5?
hi, i have mi band 3, mi band 5, AMAZFIT GTR and 4 nut finder3
Well, this looks like the same error as your previous one, so you’ll just have to wait for the next Theengs Decoder release. When it’s published, you’ll just need to update it with pip install -U TheengsDecoder
and then restart Theengs Gateway.
even when you have the addons, you have to do the ssh command?