Provides access to luxafor devices
The Luxafor agent must have the rights to access the USB port.
Under Linux you can achieve that by starting the application using sudo
.
Note that you have to provide the absolute path to the executable in that case.
You can find out the path using:
which node
Example:
sudo /home/bheisen/.nvm/versions/node/v16.15.1/bin/node index.js -a 'Luxafor Agent' -d <domain>
You can then try out your device using vrpc.io
Hint:
Depending on your OS the node-hid
library may needs to be build and can not
survive with the pre-packed binaries. If that's the case install this package with
npm install --build-from-source
Make sure you have installed node, that's all you need!
node index.js - a 'Luxafor Agent' -d <domain>
Example:
node index.js -a 'Luxafor Agent' -d <domain> -t <token> -b mqtts://heisenware.rocks --bestEffort
You will then see the device directly in the Connectivity list.