Default config values are found in configs/index.js.
Create a custom.js
in configs/
to override default and process.env
config values.
module.exports = {
lifxApi: {
hostname: 'lifx.local',
port: 4000,
},
}
Node.js environment. This value can be either 'development'
or 'production'
.
NODE_ENV
nodeEnv: 'development',
Domain location of the Flic Client process from the Flic SDK.
FLIC_CLIENT_HOSTNAME
FLIC_CLIENT_PORT
flicClient: {
hostname: 'localhost',
port: 5551,
},
Domain Location of the LIFX Controller.
LIFX_API_HOSTNAME
LIFX_API_PORT
LIFX_API_PROTOCOL
lifxApi: {
hostname: 'localhost',
port: 36001,
protocol: 'http',
},
Domain Location of the WeMo Controller.
WEMO_API_HOSTNAME
WEMO_API_PORT
WEMO_API_PROTOCOL
wemoApi: {
hostname: 'localhost',
port: 36002,
protocol: 'http',
},