I’ve been experiencing issues with the IKEA Tradfri integration on and off for the past few months. I can always reload the integration and it will work for awhile but not reliable for any type of automation.
I am running HASSIO core-2021.8.4 and supervisor-2021.06.8 on an Intel NUC OS 6.2
I have these entries in my logs and have no idea where to start troubleshooting:
This log comes from Configuration > Logs
Logger: zeroconf
Source: /usr/local/lib/python3.9/site-packages/zeroconf/_logger.py:52
First occurred: August 7, 2021, 6:53:46 AM (1 occurrences)
Last logged: August 7, 2021, 6:53:46 AM
Choked at offset 297 while unpacking b'\**Hex KEY***TRADFRI gateway\x04_hap\x04_tcp\x05local\**more Hex Key**\xeaz\x80\x12\xeaz\x80\x12\xea\x04_hap\x04_tcp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00!\x0fTRADFRI gateway\x04_hap\x04_tcp\x05local\x00\x0fTRADFRI gateway\x04_hap\x04_tcp\x05local\**more still**c#=26\x04ff=1\x14id=C4:D5:EF:92:14:7D\x12md=TRADFRI gateway\x06pv=1.1\x06s#=571\x04sf=1\x04ci=2\x0bsh=fHvmmA=='
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/zeroconf/_protocol.py", line 111, in __init__
self.read_others()
File "/usr/local/lib/python3.9/site-packages/zeroconf/_protocol.py", line 178, in read_others
domain = self.read_name()
File "/usr/local/lib/python3.9/site-packages/zeroconf/_protocol.py", line 268, in read_name
self.offset = self._decode_labels_at_offset(self.offset, labels)
File "/usr/local/lib/python3.9/site-packages/zeroconf/_protocol.py", line 309, in _decode_labels_at_offset
raise IncomingDecodeError("Corrupt packet received while decoding name")
zeroconf._exceptions.IncomingDecodeError: Corrupt packet received while decoding name
And this log comes from Supervisor > System > Core
2021-08-09 11:13:26 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 384, in _process_service_update
async_service_info = AsyncServiceInfo(service_type, name)
File "/usr/local/lib/python3.9/site-packages/zeroconf/_services/info.py", line 112, in __init__
if not type_.endswith(service_type_name(name, strict=False)):
File "/usr/local/lib/python3.9/site-packages/zeroconf/_utils/name.py", line 95, in service_type_name
raise BadTypeInNameException("Type '%s' must end with '%s'" % (type_, _LOCAL_TRAILER))
zeroconf._exceptions.BadTypeInNameException: Type '.' must end with '.local.'
Any insights on where to begin here would be very appreciated. Also let me know if you need any additional info from me or my setup. Thanks in advance!