Repository navigation
ConfigFileCustomization
Paul edited this page Dec 17, 2017
·
2 revisions
All configuration values are stored in config.inc.php
To achieve local control of your lights generally only one variable must be edited
define("LIGTHING_BRIDGE_IP", "192.168.1.TCP");
Edit 192.168.1.TCP to be the address of TCP Connected Bridge
If you want to test or only intend to use local control you can jump to Syncing the Gateway
Unless otherwise noted Variables are boolean values. (0 & 1)
All Variables have comments describing their function extended descriptions will listed below for a few of them
-
define("LOCAL_URL", "http://localhost");- If you have completed the Advanced Server setup you will want to change this url to the one you defined in the virtual host setup i.e. http://lighting.local
-
define("USE_TOKEN_FILE", 1);- If you would rather not use an external file to hold the token set this value to 0
- When you run the gateway sync you will need to populate
define("TOKEN", "PASTE_TOKEN_HERE_IF_NOT_USING_TOKEN_FILE");with the code that is generated
Variables related to IFTTT Integration and the Scheduler are described in the setup information for those functions

-
Additional Project Information