-
-
Notifications
You must be signed in to change notification settings - Fork 28.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
Mosquitto broker not creating an entry into HA Devices or Entities list when adding a previously deleted device #35684
Comments
mqtt documentation |
Hey there @home-assistant/core, @emontnemery, mind taking a look at this issue as its been labeled with a integration ( |
@Koenkk can you confirm the steps described by OP are correct for deleting and readding a zigbee2mqtt device? |
@elbueno222 does this device reappear after restarting zigbee2mqtt? If yes, this is a zigbee 2mqtt bug. |
@Koenkk The device doesn't reappear after restarting zigbee2mqtt or Home Assistant, it just reappear when I link it again using the normal linking process. The problem is once the device is linked again, MQTT Mosquitto Broker should add the device to the Devices and Entities list and it's not doing it. |
Can you try:
|
@Koenkk I don't really understand why, but following the steps you mentioned the device is discovered and entries are created in the Devices and Entities lists, thank you very much. For some reason stopping and starting zigbee2mqtt produce a different effect than restarting HA (even I would assume restarting HA would also restart zigbee2mqtt) |
@elbueno222 this is a zigbee2mqtt bug. Fixed it in the latest dev branch. (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) @emontnemery I think this issue can be closed as it's not related to Home Assistant |
The problem
I am using zigbee2mqtt and Mosquitto broker in hassio (HassOS 3.13) and I am having an issue with zigbee devices, because every time I remove one device from Home Assistant and add it again, Home Assistant doesn’t create an entry in the Entities or Devices list for the device.
I am removing the device using topic zigbee2mqtt/bridge/config/force_remove, and then when I add the device again, zigbee2mqtt recognise it (I can see the message {"type":"pairing","message":"interview_successful","meta":{"friendly_name":"xxxxxxxxxxxx","model":"xxxxxxxx","vendor":"xxxxxx","description":"xxxxxxxxx","supported":true}} and any other subsequent message sent by the device in the zigbee2mqtt log, so pairing is successful), but Home Assistant doesn’t create an entry in the Entities or Devices list for the device.
These are the steps I am following:
After this process I can see the “interview_successful” message and also any new message sent from the device in zigbee2mqtt log, but the device doesn´t appear in HA devices list or entities list
I already checked the option “Enable newly added entities” is enable within MQTT Mosquitto Broker system options, so I don’t understand why the device is not added to the devices/entities list
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: