// Set to true to run database update without logging in
// URL Example: http://localhost/emoncms/admin/db
"updatelogin"=>false,
// Mysql database settings
"sql"=>array(
"server"=>"localhost",
"database"=>"__DB_NAME__",
"username"=>"__DB_USER__",
"password"=>"__DB_PWD__",
"port"=>3306,
// Skip database setup test - set to false once database has been setup.
"dbtest"=>true
),
// Redis
"redis"=>array(
'enabled'=>false,
'host'=>'localhost',
'port'=>6379,
'auth'=>'',
'dbnum'=>'',
'prefix'=>'emoncms'
),
// MQTT
"mqtt"=>array(
// The 'subscriber' topic format is rx/* - where * is the emoncms input node number.
// The 'publisher' topic format is user selectable from the 'Publish to MQTT' input process, for example power/solar
// Activate MQTT by changing to true
'enabled'=>false,
'host'=>'localhost',
'port'=>1883,
'user'=>'',
'password'=>'',
'basetopic'=>'emon',
'client_id'=>'emoncms',
'userid'=>1,
'multiuser'=>false
),
// Input
"input"=>array(
// Max number of allowed different inputs per user. For limiting garbage rf data
'max_node_id_limit'=>32
),
// Feed settings
"feed"=>array(
// Supported engines. Uncommented engines will not be available for user to create a new feed using it. Existing feeds with a hidden engine still work.
// Place a ',' as the first character on all uncommented engines lines but first.
'engines_hidden'=>array(
Engine::MYSQL// 0 Mysql traditional
,Engine::MYSQLMEMORY// 8 Mysql with MEMORY tables on RAM. All data is lost on shutdown
//,Engine::PHPTIMESERIES // 2
//,Engine::PHPFINA // 5
,Engine::CASSANDRA// 10 Apache Cassandra
),
// Redis Low-write mode
'redisbuffer'=>array(
// If enabled is true, requires redis enabled and feedwriter service running
'enabled'=>false,
// Number of seconds to wait before write buffer to disk - user selectable option
'sleep'=>60
),
// Engines working folder. Default is /var/lib/phpfina,phptimeseries
// On windows or shared hosting you will likely need to specify a different data directory--