Provisioning of a sensor node. Mainly to init the Wifi with SSID and password.
Install Node and bower packages.
npm install && bower install
cd app && npm install
Build the NW.js app.
gulp build
You'll find the apps here:
- Mac: build/SensorProvisioning/osx64/SensorProvisioning.app
- Win: build/SensorProvisioning/win32/SensorProvisioning.exe
- Linux: build/SensorProvisioning/linux64/SensorProvisioning
We can use nw to start NW.js directly.
cd app
nw
Open Debugbox and hit F5 for reload :)
- connect to sensor
- enter network connection (list available networks, enter credentials)
- list available pins - specify sensors that are supported
see https://git.dinotools.org/poc/SensorNodeESP8266/about/
- Homepage http://nwjs.io/
- Docu: https://github.com/nwjs/nw.js
- Yeoman generator: https://github.com/Dica-Developer/generator-node-webkit
- other gen: https://www.npmjs.com/package/generator-nwjs-material
- a little bit out-dated gen.: https://github.com/Anonyfox/node-webkit-hipster-seed
Bootswatch Lumen: http://bootswatch.com/lumen/