-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Hello, I am trying to add my rtl_433 devices to get auto discovered but whenever I try to run the add on which runs this wrapper script: rtl_433_mqtt_hass.py
I get the following error:
ERROR:root:JSON decode error: 2025-03-13T17:42:02.309197-0700
I also get the following error:
Exception in thread Thread-1 (_thread_main):
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
self.loop_forever(retry_first_connection=True)
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
rc = self._loop(timeout)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1164, in _loop
rc = self.loop_read()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1556, in loop_read
rc = self._packet_read()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 2439, in _packet_read
rc = self._packet_handle()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 3033, in _packet_handle
return self._handle_publish()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 3327, in _handle_publish
self._handle_on_message(message)
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
on_message(self, self._userdata, message)
File "/rtl_433_mqtt_hass.py", line 752, in mqtt_message
bridge_event_to_hass(client, topicprefix, data)
File "/rtl_433_mqtt_hass.py", line 840, in bridge_event_to_hass
if "model" not in data:
^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'int' is not iterable
Is it having trouble trying to decode the T in the UTC time?
Why am I getting argument of type 'int' is not iterable?
I appreciate any help in this matter. Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels