[BUG] Error receive CoAP in HA 0.113.0
See original GitHub issueEnvironment
- ShellyForHASS release with the issue: 0.1.9
- Last working ShellyForHASS release (if known): 0.1.8
- Home Assistant Core release with the issue: Home Assistant 0.113.0
- Operating environment (Home Assistant/Supervised/Docker/venv): Supervised
Describe the bug
Error in HA Logs.
Steps to Reproduce
HA 0.113.0 with Shellyforhass. Show in logs after reboot.
Expected behavior
No error should occour.
Screenshots
Traceback/Error logs
Logger: pyShelly
Source: /usr/local/lib/python3.8/site-packages/pyShelly/coap.py:191
First occurred: 4:14:32 (1 occurrences)
Last logged: 4:14:32
Error receive CoAP
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pyShelly/coap.py", line 172, in _loop
payload = s(data[pos + 1:])
File "/usr/local/lib/python3.8/site-packages/pyShelly/compat.py", line 23, in s
return str(x, 'cp1252')
File "/usr/local/lib/python3.8/encodings/cp1252.py", line 15, in decode
return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 244: character maps to <undefined>
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:49 (14 by maintainers)
Top Results From Across the Web
[FIRMWARE BUG] Shelly H&T CoAP-msg problem - Facebook
As discussed in the attached thread on ShellyForHASS group, it seems that in certain condition (like mine) Shelly H&T devices (powered in my ......
Read more >homeassistant Changelog - PyUp.io
Fix getting updated thread IP at startup in homekit_controller (Jc2k - 83037) ... Add reauth flow to xiaomi_ble, fixes problem adding LYWSD03MMC (Jc2k ......
Read more >download as TXT - DistroWatch.com
... aide^0.17.3-4 aiksaurus^1.2.1+dev-0.12-6.3 aiocoap^0.3-3.1 aiodns^2.0.0-1 aiodogstatsd^0.14.0-2 ... apertium-fr-es^0.9.2~r61322-4 apertium-get^1.0.0-2 ...
Read more >Fedora rawhide compose report: 20210622.n.0 changes
... 35-10 - Obsolete perl-RDF-Trine-redland (bug #1973623) Package: ... implementation of CoAP RPMs: libcoap libcoap-devel libcoap-doc ...
Read more >exact force field and bond inhomogene - Dyuthi
Chapter 11 deal. with the problem of deter- ... molecular spectroscopy ha. e.erged a. one of the most ... On solving the secular...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@PabloTheNinja Which FW version of shelly? If 1.8 please check https://github.com/StyraHem/ShellyForHASS/issues/366.
Long story short… there is no support for FW 1.8 at the moment. The devs are working hard on it.
I can confirm that it works with the latest beta version and fw 1.8