node-red-contrib-zigbee2mqtt icon indicating copy to clipboard operation
node-red-contrib-zigbee2mqtt copied to clipboard

Device list inaccurate

Open GeorgeCastanza opened this issue 2 years ago • 8 comments

Recently my zigbee2mqtt Bridge Node does not reflect the actual device list. The list of devices on the Bridge node seems to be about a month out of date

The device list is correct (as per the IN and OUT nodes). For any recently added devices, I can't see them on the Bridge Node or change their friendly name (they are not there to change).

I can't delete or change device names of any device on the Bridge node.

I've reinstalled zigbee2mqtt (not these nodes). I've downgraded these nodes to 2.0.0, then upgraded to 2.1.6. Same behaviour. I'm at a loss as to what to do next. I've checked permissions, and they all seem correct.

Edit: By editing configuration.yaml (for IN & OUT nodes), I can change the device name but not delete any device (as it reappears). Obviously, this doesnt work for the Bridge Node.

GeorgeCastanza avatar May 09 '22 06:05 GeorgeCastanza

This is the error I get:

"Error code #0023: Error: Connection closed" and "Error: getDevices timeout, close connection"

GeorgeCastanza avatar May 16 '22 04:05 GeorgeCastanza

How many devices do you have?

2022-05-22_14-46-06 60sec should be enough to poll the whole list of devices..

andreypopov avatar May 22 '22 11:05 andreypopov

About 40 devices.

GeorgeCastanza avatar May 22 '22 22:05 GeorgeCastanza

+1 on this one. After upgrading to 2.2.5 I am seing the exact same. Device list in the bridge is empty and I get the same connection and timeout message. Having 20 devices. The logs seem normal and all devices are reporting.

sapster77 avatar May 27 '22 19:05 sapster77

Might be a good idea to list setup. 2.1.6 Zigbee firmware is 20220219

My older (second setup) has the 2021 firmware and it's fine, no issues with the device lists.

GeorgeCastanza avatar May 29 '22 05:05 GeorgeCastanza

Thanks for the recent updates, I'm seeing some of the cosmetic stuff is now fixed. Appreciate it.

I'm still unable to delete any device from the main page (by hitting the x button). It does delete the device, but it returns immediately. I am having issues with a few devices that have fallen off the network, and I need to delete them to re-add them. Simply including them (without removal) doesnt do anything.

GeorgeCastanza avatar Jul 29 '22 06:07 GeorgeCastanza

ok, I will check it soon Finally I returned back to z2m. Switched almost all of my devices to zigbee2mqtt

andreypopov avatar Jul 29 '22 06:07 andreypopov

Further to this problem, to help your debugging.

I had 3 devices fall off the network. Normally, "including" them will bring them back, but it doesnt right now. It does update a few states, but not all. It seems to update "last seen and "zigbee link quality". I must have included it dozens of times, to no avail.

I can't delete the devices (pressing the x) on the hub page, as the device immediately returns. This is the same for 2 installs of node red, both referencing the same zigbee2mqtt install/stick. Versions of zigbee2mqtt are: 2.3.2 & 2.6.1

So, I removed the device, by deleting all references to the devices in (stopping zigbee2mqtt).

  1. configuration.yaml
  2. database.db
  3. state.json

Then restarting zigbee2mqtt, including and it included the device properly, with all the states/fields updating.

When I included the device, I kept on getting this error message (reported elsewhere) "Error code #0023: Error: Connection closed" This comes from the zigbee2mqtt-server configuration node (in the side-bar).

I knew it would "include" correctly when I saw that error message, because previously, I see that when other devices include.

I hope this helps.

image

GeorgeCastanza avatar Aug 01 '22 11:08 GeorgeCastanza