Closed slandroe closed 9 months ago
confirmed, same here. Update rtl_433 an this addon.
Same here after updating the addon
same here
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
mqtt found in this Home Assistance instance.
Starting rtl_433_mqtt_hass.py...
[2024-02-17T09:10:15+0100] INFO:root:Enabling debug logging
[2024-02-17T09:10:15+0100] INFO:root:Discovering all devices
Exception ignored in: <function Client.del at 0x7f28349f8900>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 874, in del
self._reset_sockets()
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1133, in _reset_sockets
self._sock_close()
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1119, in _sock_close
if not self._sock:
^^^^^^^^^^
AttributeError: 'Client' object has no attribute '_sock'
Traceback (most recent call last):
File "/rtl_433_mqtt_hass.py", line 990, in
Same here after updating the addon
Same error post-update as well.
Thanks for the reports, looks like paho-mqtt released a new major version last week. PR is up at https://github.com/pbkhrv/rtl_433-hass-addons/pull/180.
Closing as a duplicate of https://github.com/pbkhrv/rtl_433-hass-addons/issues/178.
The problem
Auto discovery addon crashes after rtl_433 and rtl_433 autodiscovery version update yesterday. The day before, I tried the two similar *next addons - with the same behaviour.
What addon are you reporting the bug for?
rtl_433_mqtt_autodiscover
What is the addon version?
0.8.0
What type of MQTT Broker are you using?
Home Assistant Mosquitto MQTT Broker
Addon log messages
Additional information
No response