Zigbee2mqtt new device not showing in home assistant

Hi
Ive paired alot of devices trough zigbee2mqtt before for them to show up in device list and I the mqtt integration.

Today I added 2 ikea bulbs and they refuse to show up in mqtt or devices.
I tried repairing them and checked so both z2m and mqtt talks to ‘homeassistant’.

Not sure what I can do or check now.
Everything is updated. I even tried to go back a version of z2m. No luck.

I can control the bulbs in the zigbee2mqtt menu. Just can’t expose them to the rest of home assistant…

If you renamed them in Z2M & forgot to tick the update home assistant checkbox, they will still have the old 0x… name inside HA.

Try renaming them again in Z2M & make sure the checkbox is selected inside the popup.

Yeah i tried that several time and also searching for both the 0x name and the renamed name.
It does not even update the amouth of mqtt devices i have when i add the lights…

Check with http://mqtt-explorer.com/ if you can see the devices there.

1 Like

Yeah they are visable in mqtt explorer. :slight_smile: not sure how to get them in hgome assistant tho…
Seems to be in the Homeassistant/light/0x*****/light/ structure as the others .

Removed and added the mqtt plugin to see if something would change. Nothing did.

Weird. Is this checked?

Yeah thats enabled.
Tried to disable and enable it again. then a restart of the system and no better.
Very wierd.

Tried to add an IKEA outlet with power measuring just now.
It showed up in MQTT and home assistant right away.

It just gets weirder & weirder.

Only thing I can suggest at this point is to go nuclear:

  • Remove the bulbs from Z2M. Use Force Remove if you have to, but it shouldn’t be necessary.
  • Reboot (not restart) HA. If you’re running Z2M & MQTT as Addons, this should also reboot them automatically.
  • Wait until everything is back up.
  • Add one of the bulbs & don’t rename it.
  • Check if it shows up in Z2M, MQTT Explorer & HA by searching using the default name.
  • If it show up, rename & recheck, then do the same for the other bulb.
  • If it doesn’t, I’m all out of ideas, sorry.

Out of curiosity, which model do these bulbs identify as? Got a link to the Z2M device page for them?

Just a thought: You haven’t had these devices paired in a different way to HA before, ZHA perhaps? Have you checked that they are not present in this file? Be careful so you don’t edit the file.

Yeah removed the bulbs. restarted the VM.
added them and it adds fine to zigbee2MQTT but not to MQTT addon as usual.
Shows up in mqtt explorer also. Cant find it with the 0x*** name nor any other name after i rename it an update the HA ID.

Here is one of the bulbs in Zigbee2MQTT showing details and then the dashbord…

I’m officially all out of ideas :worried:

hmm question. as ive had theese paired before and then removed. Is there an “blacklist” device in mqtt or hass? Its not blacklisted in zigbee2mqtt.

Not that I know of, no.

Only way your issue could be explained is if you sent a blank mqtt payload to the HA topic.
However, you wouldn’t have seen it in mqtt explorer either, so that’s not it.

1 Like

I bet it would work if i got 2 new unpaied bulbs. maby its not worth the hassle to try to fix this :slight_smile:

1 Like


Here is everything in mqtt explorer. I got no experience with how the layout should be. See anything wrong?

Try looking in the core device registry like I pasted in the previous post. This is a file on HA itself (not MQTT) under the hidden folder called .storage. You can access it with the Studio Code addon for HA for example.


Here are all the entrys in the .storage folder with one of the lights.

This is reporting the device through Z2M. Can you find the device in the registry when it’s not paired through Z2M? Try removing it from Z2M and check if you see it.