phpHue
phpHue copied to clipboard
PHP scripts for interacting with the Phillips Hue lighting system
If user sets flag `-c`, the code will run the following: ``` $state = echoLightState( $lights ); exit( ( count( $lights ) == 1 && $state ) ? 1 :...
A fix for the following error message: ``` PHP Notice: Undefined index: hue in /home/veloc1ty/workspaces/php/phpHue/hue.php on line 44 PHP Notice: Undefined index: ct in /home/veloc1ty/workspaces/php/phpHue/hue.php on line 52 PHP Notice:...
To be sure the right full qualified path is used and working across directories
eg: `-l 1 -l 2 -o 1`