-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
friendly_name including # char causes disconnects from mqtt server #3175
Comments
MQTT doesn't allow wildcards (
Source: https://www.eclipse.org/paho/files/mqttdoc/MQTTClient/html/wildcard.html Latest zigbee2mqtt dev refuses to start when this is set. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@JasperAlgra : I'm facing the same issue now. How did you resolve it? zigbee2mqtt doesn't start anymore and I can't access/change the device name. |
I'm facing the same issue right now. I named my device with fancy name with UTF-8 characters and slash (czujnik otwarcia / zamknięcia 3b - drzwi wiatrołap) and now I can't rollback it. I can't rename device and I can't access/change the device name (503: Service Unaviable). |
@aro-git I've tried and it works fine in my case: You can always stop zigbee2qmtt, change the name in the configuration.yaml. |
Many thanks for instant reply.
I tried and changed this particular friendly name in devices.yaml file.
I very appreciate your fine work.
Greetings.
|
Bug Report
What happened
I found out that using hashtags in the
friendly_name
of device in configuration.yaml causes strange behaviour of zigbee2mqtt including dis/reconnect to the MQTT server.Example from configuration.yaml
In my case I've got a bulb and a remote. When I push a button on the remote zigbee2mqtt breaks and resets the connection to the MQTT server (maybe more, I cannot see in the debug log).
What did you expect to happen
How to reproduce it (minimal and precise)
add a
friendly_name
with a hashtag in it. Press a button on the remote or trigger an action through Home Assistant.Debug Info
zigbee2mqtt version: 1.12.0 (commit #840b9d9
CC253X firmware version: default
Logs:
With errors:
https://hastebin.com/sutavuxiba.pl
Without errors:
https://hastebin.com/owihifojot.apache
The text was updated successfully, but these errors were encountered: