; ------------------------------------------------------------ ; Editable emoncms settings.ini - EDITABLE!! ; Lewis and Oan Edit 202001211200 ; 1. copy example.settings.ini and rename to settings.ini ; 2. edit entries in settings.ini as required ; 3. copy settings from below into settings.ini as required ; The items in [] are sections. Any new setting must be ; within the right section in the settings.ini file ; ------------------------------------------------------------ ; Suggested installation path for symlinked emoncms modules /opt/emoncms/modules emoncms_dir = "/opt/emoncms" openenergymonitor_dir = "/opt/openenergymonitor" ; Mysql database settings [sql] server = "192.168.42.1" database = "emoncms" username = "emoncms" password = "emonpiemoncmsmysql2016" ;;port = 3306 ; Skip database setup test - set to false once database has been setup. dbtest = true ; Redis [redis] enabled = true prefix = 'emoncms' ; MQTT [mqtt] ; 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 = true ;;host = 'localhost' ;;port = 1883 user = 'emonpi' password = 'password' ; Input ;;[input] ; Max number of allowed different inputs per user. For limiting garbage rf data ;;max_node_id_limit = 32 ; Feed settings [feed] ; Supported engines. List engines by id to disable feed creation. ; Existing feeds with a hidden engine still work ; If using emoncms in low-write mode, ensure that PHPFIWA is disabled ; MYSQL:0, MYSQLMEMORY:8, PHPTIMESERIES:2, PHPFINA:5, PHPFIWA:6, CASSANDRA:10 engines_hidden = [0,6,10] redisbuffer[enabled] = false phpfina[datadir] = '/var/opt/emoncms/phpfina/' phptimeseries[datadir] = '/var/opt/emoncms/phptimeseries/' ; User Interface settings [interface] feedviewpath = "graph/" enable_update_ui = true [public_profile] ; Log file configuration [log] ; Log Level: 1=INFO, 2=WARN, 3=ERROR level = 2