Php web interface and api to manage Philips Hue lights in a local network., (*1)
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, (*2)
Lights
, (*3)
Scenes in french
, (*4)
Effects
, (*5)
Rules (simple mode)
, (*6)
Rules (advanced mode)
, (*7)
Installation
Yii2 Hue
Yii2 Tools and Interface for Hue lights, (*8)
Installation
The preferred way to install this extension is through composer., (*9)
Either run, (*10)
php composer.phar require --prefer-dist inquid/yii2-hue "*"
or add, (*11)
"inquid/yii2-hue": "*"
to the require section of your composer.json
file., (*12)
- 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 :, (*13)
- Rename 'include/config.tpl.php' as 'include/config.php'
- Edit 'include/config.php' and put correct values for '$bridgeip', '$username' and, if needed, for '$lang'.
- 'bridgeip' is the ip address of your hue bridge in your lan.
- 'username' is a registered user in your hue bridge (cf http://www.developers.meethue.com/documentation/api-core-concepts).
- 'lang' references an existing 'lang/text_"lang".json' file ('en' by default).
Licence
MIT, (*14)
Includes the following plugins also used with MIT licence : jquery-ui, jquery-minicolors, (*15)