Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm working with a RaspBee Hat for Raspberry Pi, made by Dresden Electronik.

For this project (NodeJS) I use the Deconz-api I found here:
GitHub - mozilla-iot/deconz-api at improvements[^]

When I run my code to enumerate all devices known to the controller, it hangs on the first run. Then, it always return an empty list on consecutive runs.

If I first start the application that came with the RaspBee Hat (Deconz), then close it and rerun my code, everything works fine, and my code returns everything I ask for.

This make me suspect that I have to do some initialization of the controller before I ask for known end devices.

I am aware that this question is pretty abstract, but are there any takers ot there?

What do I have to do to a ZigBee controller device before I start enumeration network devices?

This is a NodeJS project.

TIA...

Dag.

What I have tried:

I'm running the discover.js in the /examples folder from the github repository linked above.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900