LHV2-state-nodejs
Setup
- get a recent version of node.js. Tested with node v17
- install the dependencies.
npm i
- (optional) install the dependencies of
noble
- allow node to access the bluetooth
Run
To enable the stations:
$ node src/index.js --set on
To disable the stations:
$ node src/index.js --set off