Hue Api
Quick/Simple Api to Dialog/Manage Hue installation. Purpose for this API is to be simple enought to support multiple client ( Phone / App / Terminal )
Setup Project
- Install dependancies
npm run ci
- Get your Hue IP
npm run getHueIp
- Create your Username
npm run createUser --ip=<YOUR_HUE_IP>
- Copy the .env.example in your .env
cp .env.example .env
-
Update your .env with your value
HUE_BRIDGE_USERNAME
andHUE_BRIDGE_IP
-
Start using your API
npm run start
Basic NPM command
- Build the project:
npm run build
- Use nodemon while coding:
npm run watch
- Run your test:
npm run test
- Use eslint:
npm run lint