ShellyForHASS: 0.1.5 'charmap' codec can't decode byte
I’ve recently updated to v0.1.5 and I noticed this error this morning:
Error receiving CoAP UDP, 'charmap' codec can't decode byte 0x90 in position 538: character maps to <undefined>, Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pyShelly/coap.py", line 157, in _loop
payload = s(data[pos + 1:])
File "/usr/local/lib/python3.7/site-packages/pyShelly/compat.py", line 23, in s
return str(x, 'cp1252')
File "/usr/local/lib/python3.7/encodings/cp1252.py", line 15, in decode
return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 538: character maps to <undefined>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pyShelly/coap.py", line 157, in _loop
payload = s(data[pos + 1:])
File "/usr/local/lib/python3.7/site-packages/pyShelly/compat.py", line 23, in s
return str(x, 'cp1252')
File "/usr/local/lib/python3.7/encodings/cp1252.py", line 15, in decode
return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 538: character maps to <undefined>
I’ve never gotten this error before, I have 3 Shelly 2.5 in roller shutter mode. They all still seem to work fine though.
Any thoughts?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (11 by maintainers)
Open docker->container->homeassistant->details->terminal->bash
Then edit /config/configuration.yaml adding those lines:
Simone