You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the ricso integration for Home Assistant and can see the following error in my logs
cmd_id, command, crc = await self._read_command()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 123, in _read_command
return self._crypt.decode(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_crypt.py", line 47, in decode
decrypted = decrypted_chars.decode(self._encoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 14: invalid start byte
It seems to be that this issue is related with German special characters.
In the home assistant overview I can see only that sensors which do not have german special characters in the name (label)
For example I can see the sensor with the name "Fenster WZ" (window living room) but I cannot see the sensor with the name "Tür WZ" (door living room).
The special characters are ä, ö and ü.
I am using the local integration. My panel is RW132-3.90
The text was updated successfully, but these errors were encountered:
That's interesting. Do you know what is the right encoding? Can you try running PyRisco with it (utf-8 is the default, but you can pass in a different one).
hello,
I am using the ricso integration for Home Assistant and can see the following error in my logs
cmd_id, command, crc = await self._read_command()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_socket.py", line 123, in _read_command
return self._crypt.decode(buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyrisco/local/risco_crypt.py", line 47, in decode
decrypted = decrypted_chars.decode(self._encoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 14: invalid start byte
It seems to be that this issue is related with German special characters.
In the home assistant overview I can see only that sensors which do not have german special characters in the name (label)
For example I can see the sensor with the name "Fenster WZ" (window living room) but I cannot see the sensor with the name "Tür WZ" (door living room).
The special characters are ä, ö and ü.
I am using the local integration. My panel is RW132-3.90
The text was updated successfully, but these errors were encountered: