Node.js device library allows only one device instance per single Node process. Device UUID is stored in
./id.json file, under device root directory. Multiple devices can be started on single physical machine, however, due to necessity of storing device UUID, each device need to be started in separate working directory.
Optionally, you can use
GateHub to facilitate running multiple devices on one physical machine. If GateHub is running, devices started on same physical machine will fetch server location data from GateHub instead of using built-in discovery, so they won't block discoveryPort for each other. As consequence, devices will be able to join server simultaneously without delay. Additionally,
GateHub autostart feature can be utilised to run all desired devices automatically.
Node.js device library can be used in conjunction with
Controller library.