Skip to content
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

"Refresh Devices List" not working, except if restarting zigbee2mqtt #117

Open
gschintgen opened this issue May 8, 2023 · 2 comments
Open

Comments

@gschintgen
Copy link

Somehow node-red-contrib-zigbee2mqtt is unable to retrieve the devices list from zigbee2mqtt except by restarting zigbee2mqtt.

For a few hours I tried to get the device retrieval working, but all I was ever getting was an "Error: getDevices timeout" in Node Red's debug pane and also in its log file. I had a look at mosquitto's and zigbee2mqtt's log files. There didn't seem to be any relevant entries regarding me hitting the "Refresh Devices List" in any of this plugin's nodes.

It looked and felt as if it couldn't contact zigbee2mqtt. But it did indeed communicate with zigbee2mqtt just fine: When I opened this plugin's "bridge" node it showed me the zigbee2mqtt version, the coordinator version, lots of green 'OK's. It even retrieved the complete map of my zigbee devices. But it was unable to retrieve the devices!

In order to debug this I subscribed to zigbee2mqtt/# (and even to #) on the command line using mosquitto_sub but there wasn't a single relevant message showing up when I click the "Refresh Devices List" multiple times.
So how is this supposed to work?

I finally tried a restart of zigbee2mqtt (using this plugin's "Restart" facility which also worked fine!). And this "solved" it. Or rather the devices list is now populated with my current list of devices. But will it update properly in the future? Will a "Refresh" now work?

Anyway thanks for this package, it's making my Node Red even more powerful and user-friendly :-)

@andreypopov
Copy link
Owner

Hi, could you show bridge node opened?
Do you use docker?

@Onixarts
Copy link

Onixarts commented Jun 28, 2023

My device list is also empty.

Version 1.31.2
Coordinator zStack12 (20201127).

Refreshing map is working. I can find new devices, but the device list is empty. It can be refreshed after zigbee2mqtt reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants