-
Notifications
You must be signed in to change notification settings - Fork 42
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
No longer publishing to binary sensors on MQTT #249
Comments
What changed? Did you implement new mqtt payloads in BI? Have you checked them all to make sure they are formatted correctly since it's complaining about a wildcard? |
Also, what indicates this being related to ha-blueiris? Just not seeing it referenced in the logs provided. |
As one more update, I removed the add-on today and the errors stopped in the logs. Re-adding the integration immediately triggered the MQTT errors again. |
Can you place up the topic that you have inserted into the BI camera's MQTT config? Thanks |
Maybe I wasn't clear but the post ^ is what I was asking for earlier - I need to know what you are sending from BI when this happens so I can set it up and test. It could be bad formatting or a weird camera name. |
Thanks. |
Please read the guide I linked above and follow the mqtt format it shows there. |
Error:
2024-11-24 15:55:14.420 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt_statestream/init.py", line 89, in _state_publisher
await mqtt.async_publish(hass, mybase + key, encoded_val, 1, True)
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 182, in async_publish
await mqtt_data.client.async_publish(
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 637, in async_publish
msg_info = self._mqttc.publish(topic, payload, qos, retain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1233, in publish
raise ValueError('Publish topic cannot contain wildcards.')
ValueError: Publish topic cannot contain wildcards.
2024-11-24 15:55:14.420 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt_statestream/init.py", line 89, in _state_publisher
await mqtt.async_publish(hass, mybase + key, encoded_val, 1, True)
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 182, in async_publish
await mqtt_data.client.async_publish(
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 637, in async_publish
msg_info = self._mqttc.publish(topic, payload, qos, retain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1233, in publish
raise ValueError('Publish topic cannot contain wildcards.')
ValueError: Publish topic cannot contain wildcards.
This seems new, but I am open to feedback. Tested reinstallation, restart of everything.
The text was updated successfully, but these errors were encountered: