Skip to content

ba5eem/LightSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightSwitch

ELECTRON PhilipsHue

  • Electron Menu Tray App - Simple on/off for your Philips Hue Light

Demo UI Screenshot:

Getting Started - Testing:

git clone git@github.com:ba5eem/LightSwitch.git
cd LightSwitch
npm install -g electron
npm install
touch .env

Following required in the env file:

HUE_IP=http://192.168.?.?
HUE_USER=username
PORT=9000
electron .

Getting Started - Deploy to run permanently - MacOs

npm install electron-packager --save-dev
npm install electron-packager -g
npm install --save-dev electron

electron-packager . --overwrite --platform=darwin --arch=x64 --icon=images/icon.icns --prune=true --out=release-builds
  • Once Complete - you now have a Mac App to control your lights - AWESOME!

  • This APP was inspired from a recent AT&T IoT Hackathon.

  • At first I wrote a cli to turn my light on/off, but I wanted to go a step further to make it more readily accessible.

About

Electron App - Light Switch - IoT - Control Philips Hue Light from Menu Tray Icon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published