Vico1993 / HueApi

Small api to help dialog with my Hue light

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Install dependancies
npm run ci
  1. Get your Hue IP
npm run getHueIp
  1. Create your Username
npm run createUser --ip=<YOUR_HUE_IP>
  1. Copy the .env.example in your .env
cp .env.example .env
  1. Update your .env with your value HUE_BRIDGE_USERNAME and HUE_BRIDGE_IP

  2. Start using your API

npm run start

Basic NPM command

  1. Build the project:
npm run build 
  1. Use nodemon while coding:
npm run watch
  1. Run your test:
npm run test
  1. Use eslint:
npm run lint

About

Small api to help dialog with my Hue light


Languages

Language:TypeScript 93.1%Language:JavaScript 6.5%Language:Shell 0.4%