decoding error after fresh install
DrGBHindert opened this issue · 1 comments
DrGBHindert commented
Hello,
i did just a fresh install of the Addon in HA, configured it and now I am getting this error:
2023-08-18 13:31:07,456 Connected to MQTT broker
Traceback (most recent call last):
File "/usr/src/app/./mqtt_gateway.py", line 589, in <module>
mqtt_gateway.run()
File "/usr/src/app/./mqtt_gateway.py", line 269, in run
login_response_message = self.saic_api.login()
File "/usr/local/lib/python3.10/site-packages/saic_ismart_client/saic_api.py", line 120, in login
self.message_v1_1_coder.decode_response(login_response_hex, login_response_message)
File "/usr/local/lib/python3.10/site-packages/saic_ismart_client/ota_v1_1/Message.py", line 13, in decode_response
super().decode_response(message, decoded_message)
File "/usr/local/lib/python3.10/site-packages/saic_ismart_client/common_model.py", line 400, in decode_response
message_body_dict = self.asn1_tool_uper.decode(message_body.asn_type, dispatcher_message_bytes)
File "/usr/local/lib/python3.10/site-packages/asn1tools/compiler.py", line 167, in decode
decoded = type_.decode(data)
File "/usr/local/lib/python3.10/site-packages/asn1tools/codecs/uper.py", line 500, in decode
raise e
File "/usr/local/lib/python3.10/site-packages/asn1tools/codecs/uper.py", line 496, in decode
return self._type.decode(decoder)
File "/usr/local/lib/python3.10/site-packages/asn1tools/codecs/per.py", line 830, in decode
decoded = self.decode_root(decoder)
File "/usr/local/lib/python3.10/site-packages/asn1tools/codecs/per.py", line 848, in decode_root
raise e
File "/usr/local/lib/python3.10/site-packages/asn1tools/codecs/per.py", line 844, in decode_root
value = member.decode(decoder)
File "/usr/local/lib/python3.10/site-packages/asn1tools/codecs/uper.py", line 107, in decode
value = decoder.read_non_negative_binary_integer(self.bits_per_character)
File "/usr/local/lib/python3.10/site-packages/asn1tools/codecs/per.py", line 449, in read_non_negative_binary_integer
raise OutOfDataError(self.number_of_read_bits())
asn1tools.codecs.OutOfDataError: MPDispatcherBody.uid: out of data (At bit offset: 58)
Home Assistant is up to date, Car Model is MG4 Std
Thanks in advance!
DrGBHindert commented
Hello together,
I have now tried again to start the addon... and lo and behold, it works. I don't know what the problem was, but it works now.
Nevertheless, many thanks to the developers!
Kind regards