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
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)```
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)
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.
While I’m not sure why there are build errors for you when trying to pip update Theengs Decoder, uninstalling and then installing the Theengs Gateway Add-on afresh should give you all the latest dependencies, i.e. Theengs Decoder, as well.
Might be easier than trying to separately update Decoder.