Hello,
I’m having trouble with the Xiaomi Mi Scale module from @lolouk44.
I created a user named Cédric, with an accent, before realizing it wasn’t a good idea. So, I renamed it without the accent, but I’m still getting alerts.
I deleted the user, restarted Home Assistant, and even uninstalled the application by deleting its files, but the problem persists.
Can you help me?
Enregistreur: homeassistant.components.mqtt.discovery
Source: components/mqtt/discovery.py:393
intégration: MQTT (documentation, problèmes)
S'est produit pour la première fois: 21:25:09 (1 occurrence)
Dernier enregistrement: 21:25:09
Received message on illegal discovery topic 'homeassistant/sensor/miscale/Cédric/config'. The topic contains non allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic
I have a similar frustration. I want to rename some of my devices to be more descriptive. This is sort of possible, but the device, the name used in automations and overview, etc., name remains the same.
If it’s stubborn after clearing that topic and restarting, you may have to use something like MQTT Explorer to clear the topic.
Troubleshooting MQTT? MQTT-Explorer can help you be successful!
If you have Add-ons available, try adding this Add-on repository to your Add-on list. GitHub - GollumDom/addon-repository.
With this you can see that the broker sees and likely find the bug.
I successfully deleted it via MQTT Explorer, yet it keeps reappearing.
Recorder: homeassistant.components.mqtt.discovery
Source: components/mqtt/discovery.py:393
Integration: MQTT (documentation, issues)
First occurred: 15:04:40 (1 occurrence)
Last recorded: 15:04:40
Received message on illegal discovery topic ‘homeassistant/sensor/miscale/Cédric/config’. The topic contains non-allowed characters. For more information see MQTT - Home Assistant
That means your device is creating the topic. You have to fix it in your device. Your device meaning the lolouk44 addon. That’s what is creating the discovery. Turn off the discovery, delete the topic, restart HA. The error should not be present. If it is, make sure your configuration files with the mqtt section do not have that topic listed.