Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acurite 0.3.26 error and stop recieve data #68

Open
Bebebe1974 opened this issue Dec 9, 2024 · 0 comments
Open

Acurite 0.3.26 error and stop recieve data #68

Bebebe1974 opened this issue Dec 9, 2024 · 0 comments

Comments

@Bebebe1974
Copy link

DEBUG:Received Device Data from SDR and sent to MQTT: rtl_433/events : {"time": "2024-12-08 09:31:44+0300", "protocol": 211, "model": "Regency-Remote", "channel": 6, "command": "fan_speed", "value": "speed 67", "mic": "CHECKSUM", "mod": "ASK", "freq": 433.91171, "rssi": -12.1442, "snr": 16.0206, "noise": -28.1648}
Exception in thread Thread-1 (_thread_main):
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
self.run()
File "/usr/lib/python3.12/threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
self.loop_forever(retry_first_connection=True)
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
rc = self._loop(timeout)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 1164, in _loop
rc = self.loop_read()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 1556, in loop_read
rc = self._packet_read()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 2439, in _packet_read
rc = self._packet_handle()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 3033, in _packet_handle
return self._handle_publish()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 3327, in _handle_publish
self._handle_on_message(message)
File "/usr/lib/python3.12/site-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
on_message(self, self._userdata, message)
File "/scripts/rtl_433_mqtt_hass.py", line 593, in mqtt_message
bridge_event_to_hass(client, msg.topic, data)
File "/scripts/rtl_433_mqtt_hass.py", line 667, in bridge_event_to_hass
logging.warning("Device Id:{} doesn't appear to be a actual device. Skipping..".format(data['id']))
~~~~^^^^^^
KeyError: 'id'

After this error, data is no longer accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant