Skip to content

stellaqx/Nodephilipshue

Repository files navigation

Nodephilipshue

Nodejs web app for controlling Philips Hue smart light bulb.

Demo on Youtube

prerequisites

how to run the express server

Open your terminal window, run the following commands:

git clone https://github.com/QianXuX/Nodephilipshue/
npm install

open hue-express-new.js, substitute

urlOri = "http://192.168.1.6/api/cJ23p6wZNUarNRb5Y6SsY5aCyDhVRaIjtg2qC5Xh/lights/"; with your actual hue bridge ip address.

Then, run:

node hue-express-new.js

how to use

Open your browser and go to http://localhost:9100/ to start the web app.

web app home

functions

  • All lights page shows all connected light bulb devices

web app home

  • Browse a particular light bulb by clicking the associated link

web app home

  1. View detailed information of a single light bulb
  2. Change the on/off status and the brightness of the light bulb
  3. Choose different scenes by by clicking the corresponding button