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.