inquid/yii2-hue

Yii2 Tools and Interface for Hue lights

Maintainers

Details

github.com/inquid/phpMyHue

Source

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 7

Type:yii2-extension

dev-master 2018-07-13 02:39 UTC

This package is auto-updated.

Last update: 2024-11-29 05:32:39 UTC


README

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

Main Functionnalities

  • Full group management
  • Scenes update or creation
  • Manage and run xml 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

Yii2 Hue

Yii2 Tools and Interface for Hue lights

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist inquid/yii2-hue "*"

or add

"inquid/yii2-hue": "*"

to the require section of your composer.json file.

  1. 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