snazzybunny / phpMyHue

Php web interface and api to manage Philips Hue lights

Home Page:http://fredbardin.github.io/phpMyHue/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phpMyHue

Php web interface to manage Philips Hue lights in a local network.

Main Functionnalities

  • Full group management
  • Scenes update or creation
  • Manage and run scripted effects (debug mode available) (see wiki)
  • Full rules management for sensors (simplified mode available for Hue Tap switch with on/off functionalities)
  • Set color and/or brightness for a light or several at once
  • Copy color settings between lights (copy to, copy from, switch with)
  • Switch lights on/off
  • Run simple effects
  • Multi Lang (new translation files can be added and/or be submitted, see wiki)
  • Fully touch device compatible
  • Hue API class available in 'include/hueapi.php' (see comments in file)
  • Hue cmd web service available with 'hueapi_cmd.php' (see comments in file and wiki)
  • Hue effects web service available with 'main.php' (see wiki)
  • ...

Screenshots

Lights
screenshot

Scenes in french
screenshot

Effects
screenshot

Rules (simple mode)
screenshot

Rules (advanced mode)
screenshot

Installation

  1. Copy 'phpMyHue' directory and its content in your web server.
  2. Open a browser on your installation url, it should be something like "http://my_web_server/phpMyHue"
    • Automatic configuration begins (bridge detection, user creation, ...) : follow configuration informations in your browser

If you're asked to proceed manually because automatic setup failed to complete (ie. : local file writing not allowed from your web server), follow the displayed instructions or the ones below :

  1. Rename 'include/config.tpl.php' as 'include/config.php'
  2. Edit 'include/config.php' and put correct values for '$bridgeip', '$username' and, if needed, for '$lang'.

Licence

MIT

Includes the following plugins also used with MIT licence : jquery-ui, jquery-minicolors

About

Php web interface and api to manage Philips Hue lights

http://fredbardin.github.io/phpMyHue/

License:MIT License


Languages

Language:PHP 56.7%Language:JavaScript 38.7%Language:CSS 4.6%