-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Exception in _state_received when handling msg on... #112
Comments
Do you have RGB lights or plugs? |
Yes 8x Eglo spot 120 in groups like 3 + 3 + 2 and one eglo plug plus. |
Update for IDs: |
You have probably some retained mqtt messages with invalid config setup. A mismatch in what is configured in the discovery message and in the received state. Try removing all retained messages and restart the esp device. |
It will check if all known devices are reachable through the current connection(s) and only when it misses a device an additional connection will be setup. |
MQTT cleaned and running on main branch. So far no errors in log. Closing the issue for now. |
Hello, seems it's not solved. |
Can you share your yaml config(s) and the exact topics from the errors in HA |
Sure. Once this occurs again I will share everything I can. |
Hello @fsaris.
I have noticed that I am receiving sometimes such error messages in HA.
Have you seen somethingg like this before?
Logger: homeassistant.components.mqtt.client
Source: util/logging.py:95
integration: MQTT (documentation, issues)
First occurred: 01:22:09 (66 occurrences)
Last logged: 10:54:22
Exception in _state_received when handling msg on 'awox-ble-mesh-hub/32770/state': 'OFF' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/entity.py", line 1470, in _message_callback msg_callback(msg) ~~~~~~~~~~~~^^^^^ File "/usr/src/homeassistant/homeassistant/components/mqtt/light/schema_json.py", line 418, in _state_received values = json_loads_object(msg.payload) File "/usr/src/homeassistant/homeassistant/util/json.py", line 56, in json_loads_object value: JsonValueType = json_loads(obj) ~~~~~~~~~~^^^^^ File "/usr/src/homeassistant/homeassistant/util/json.py", line 42, in json_loads return orjson.loads(obj) # type:ignore[no-any-return] ~~~~~~~~~~~~^^^^^ orjson.JSONDecodeError: unexpected character: line 1 column 1 (char 0)
Exception in _state_received when handling msg on 'awox-ble-mesh-hub/32772/state': 'OFF' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/entity.py", line 1470, in _message_callback msg_callback(msg) ~~~~~~~~~~~~^^^^^ File "/usr/src/homeassistant/homeassistant/components/mqtt/light/schema_json.py", line 418, in _state_received values = json_loads_object(msg.payload) File "/usr/src/homeassistant/homeassistant/util/json.py", line 56, in json_loads_object value: JsonValueType = json_loads(obj) ~~~~~~~~~~^^^^^ File "/usr/src/homeassistant/homeassistant/util/json.py", line 42, in json_loads return orjson.loads(obj) # type:ignore[no-any-return] ~~~~~~~~~~~~^^^^^ orjson.JSONDecodeError: unexpected character: line 1 column 1 (char 0)
Exception in _state_received when handling msg on 'awox-ble-mesh-hub/32768/state': 'OFF' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/entity.py", line 1470, in _message_callback msg_callback(msg) ~~~~~~~~~~~~^^^^^ File "/usr/src/homeassistant/homeassistant/components/mqtt/light/schema_json.py", line 418, in _state_received values = json_loads_object(msg.payload) File "/usr/src/homeassistant/homeassistant/util/json.py", line 56, in json_loads_object value: JsonValueType = json_loads(obj) ~~~~~~~~~~^^^^^ File "/usr/src/homeassistant/homeassistant/util/json.py", line 42, in json_loads return orjson.loads(obj) # type:ignore[no-any-return] ~~~~~~~~~~~~^^^^^ orjson.JSONDecodeError: unexpected character: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: