a smart light control system as web service featuring Philips Hue API and synaptic.js
- Node.js (LTS)
- NPM
- Google Account
- Philips Hue Bulbs with Hue Bridge
- create a folder with content from smartlighting folder
- Deploy script content in folder smartlighting/platforms/services/calendar/gs-project as a web app Guide
- create a credentials.json file in smartlighting/platforms/services/calendar familiar to credentials-example.json and insert the web app key from the deployed web app
- First make sure your bridge is connected to your network and is functioning properly. Guide
- install node.js and NPM
- go to root folder of project and type: npm install
- with new router: delete smartlighting/platforms/physical-net/hue-control/philips-hue.json
- go to root folder of project and type: node index.js
- for the first time you might need to push the Philips Hue Bridge button to verify the bulbs, then restart
- open browser and visit http://localhost:3000/