Zigbee2MqttAssistant icon indicating copy to clipboard operation
Zigbee2MqttAssistant copied to clipboard

lot of "no components" devices ...

Open iz3man opened this issue 5 years ago • 19 comments

Quite a strange topic I know ....

And it's not defined as BUG either, as I'm not sure if it's a bug. Just asking for help. I got about 20 of these devices:

image

Could all be true, that those are not supported, but I don't believe it. I don't even have that many devices. How can I find out what devices are? Is there something like the MAC Address Database where you can lookup the manufaturer or something? How can I get rid of those entries? Or better: What can I do to make them work in case they really are there ....?

iz3man avatar Feb 10 '20 08:02 iz3man

Possibly a duplicate of or at least related to #130, #129, #176, and #170.

CodeFinder2 avatar Feb 10 '20 11:02 CodeFinder2

I think these might be devices that are listed in the zigbee2mqtt database.db, but are not properly paired (this sometimes happens when pairing fails). Stop zigbee2mqtt, search for the item in the database.db file, delete it (make a backup first) and restart zigbee2mqtt.

renehonig avatar Feb 10 '20 14:02 renehonig

I think these might be devices that are listed in the zigbee2mqtt database.db, but are not properly paired (this sometimes happens when pairing fails). Stop zigbee2mqtt, search for the item in the database.db file, delete it (make a backup first) and restart zigbee2mqtt.

At least for me, I did that already and my db is 'clean' but thanks for the hint.

Anyway, I am starting to believe that all these issues are related to Home Assistant's device / integration / entity registry and how MQTT discovery works. Can you check if such devices are listed in HA's registry?

Mine were listed there and after removal (which was a pain), such phantoms are / seem to be (fingers crossed) gone in Z2MA as well. :sunglasses:

CodeFinder2 avatar Feb 11 '20 08:02 CodeFinder2

I read the other open issues, and it seems like a common, but unsolved issue. I checked the database.db file, and DIDN'T find MOST of those ID in the file. No idea where they come from. Then I started deleting some of the IDs that I DID find. Unfortunately those IDs were duplicates, that also showed up somewhere down the list as connected and properly working devices. Of course they were unfunctional after removing them from the db file. But still showed up like before in the unknown list. Good that I had a backup of the db file.

iz3man avatar Feb 11 '20 09:02 iz3man

Have you checked the device registry? See my previous post...

CodeFinder2 avatar Feb 11 '20 09:02 CodeFinder2

Have you checked the device registry? See my previous post...

Sorry, not checked. If you say HA's registry what file are you referring to exactly? Thanks!

iz3man avatar Feb 11 '20 09:02 iz3man

No files, at least in v0.105 there's a web UI for that (something like Settings / Configuration > Integration / Devices / Entities). Screenshot_20200211-124403

CodeFinder2 avatar Feb 11 '20 11:02 CodeFinder2

The devices that show "no components" don't show up in this entities screen. No idea WHERE in the system they are buried. But I'd really like to get rid of them.

iz3man avatar Feb 12 '20 08:02 iz3man

Same here. All devices have a duplicate 'no components' device in the list.

tabnul avatar Feb 19 '20 19:02 tabnul

I also have a 3 of these, however in my case they are all groups (https://www.zigbee2mqtt.io/information/groups.html) that I configured within Z2M. Would be great if these could show a group badge or something. Screenshot 2020-02-23 at 12 36 27 am

flexage avatar Feb 23 '20 00:02 flexage

I also have this. When I restart z2m it looks good again, but after a couple of days this issue appears again in Z2Massistant

groenmarsmannetje avatar Feb 25 '20 08:02 groenmarsmannetje

Same problem here. I have all my devices "NO COMPONENTS". But if i restart z2m, it's fine for next 24 hours.

klim123123 avatar Jul 24 '20 18:07 klim123123

yes, i have them too. Unable to delete them

sander816 avatar Jul 28 '20 13:07 sander816

I got the same issue. All my devices have "no components". Restarting Z2M does not change anything. My devices are on the Z2M compatibility list.

Is it possible that showing components requires MQTT discovery? In my case this is deactivated in Z2M, since I prefer to configure my devices in HA manually.

theFork avatar Aug 01 '20 11:08 theFork

I found out why this problem happened to me. It was because i used external MQTT broker. If i use local mqtt, no problems....

klim123123 avatar Aug 03 '20 14:08 klim123123

Related: I have been trying to get 2 Hue bulbs to connect to my zigbee network for the last few nights and have the same experience. At first it was because the devices were not supported in devices.js (new model, off by 1 digit). Now that has been corrected but they show as no components either way. I have tried removing their entries from database.db but the entry gets recreated upon launch.

daPyr0x avatar Aug 11 '20 04:08 daPyr0x

Use "MQTT Explorer" connect to your MQTT (such as Mosquitto), navigate to the zigbee2mqtt root topic, under that you'll find both the hex and the friendly name where the hex name is supposed to be superseded by the friendly name, so just remove the hex name. Then do a "Reset local state" in zigbee2mqttassistant. This worked for me. Apparently when you rename a device to assign a friendly name, the device will start appearing with its friendly name on the MQTT server, but the hex name also remains/stuck.

Edit: I see this is covered here: https://github.com/yllibed/Zigbee2MqttAssistant/issues/130

fdaemon avatar Oct 15 '20 14:10 fdaemon

@fdaemon can you kindly add a print screen? I am unable to find the hex name in MQTT Explorer. All my zigbee end devices are marked with "NO COMPONENTS Maybe this device is not (yet) supported by Zigbee2Mqtt?":

image

image

Thank you

tlc76 avatar Mar 31 '21 10:03 tlc76

Any news about this issue? I did'nt found any hex name in MQTT Explorer but I still have all of my devices with "NO COMPONENTS" Thanks

iceland12 avatar Apr 26 '21 19:04 iceland12