####################################################################### ####################### emonhub.conf ######################### ####################################################################### ### emonHub configuration file, for info see documentation: ### https://github.com/openenergymonitor/emonhub/blob/emon-pi/conf/emonhub.conf ####################################################################### ####################### emonHub settings ####################### ####################################################################### [hub] ### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL loglevel = DEBUG ### Uncomment this to also send to syslog # use_syslog = yes ####################################################################### ####################### Interfacers ####################### ####################################################################### [interfacers] ### This interfacer manages the RFM12Pi/RFM69Pi/emonPi module [[RFM2Pi]] Type = EmonHubJeeInterfacer [[[init_settings]]] com_port = /dev/ttyAMA0 com_baud = 9600 # 9600 for old RFM12Pi [[[runtimesettings]]] pubchannels = ToEmonCMS, subchannels = ToRFM12, group = 210 frequency = 433 baseid = 15 # emonPi / emonBase nodeID # calibration = 230V # (UK/EU: 230V, US: 110V) quiet = true # Disable quite mode (default enabled) to enable RF packet debugging, show packets which fail crc interval = 30 # Interval to transmit time to emonGLCD (seconds) [[MQTT]] Type = EmonHubMqttInterfacer [[[init_settings]]] mqtt_host = 127.0.0.1 mqtt_port = 1883 mqtt_user = emonpi mqtt_passwd = emonpimqtt2016 [[[runtimesettings]]] pubchannels = ToRFM12, subchannels = ToEmonCMS, # emonhub/rx/10/values format # Use with emoncms Nodes module # node_format_enable = 1 # node_format_basetopic = emonhub/ # topic: basetopic/rx/10/values # payload: 100,200,300 # emon/emontx/power1 format - use with Emoncms MQTT input # http://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md nodevar_format_enable = 1 nodevar_format_basetopic = emon/ [[emoncmsorg]] Type = EmonHubEmoncmsHTTPInterfacer [[[init_settings]]] [[[runtimesettings]]] pubchannels = ToRFM12, subchannels = ToEmonCMS, url = https://emoncms.org apikey = 182xxxxx senddata = 1 # Enable sending data to Emoncms.org sendstatus = 1 # Enable sending WAN IP to Emoncms.org MyIP > https://emoncms.org/myip/list sendinterval= 30 # Bulk send interval to Emoncms.org in seconds ####################################################################### ####################### Nodes ####################### ####################################################################### [nodes] ## See config user guide: https://github.com/openenergymonitor/emonhub/blob/emon-pi/conf/emonhub.conf # List of nodes by node ID # 'datacode' is default for node and 'datacodes' are per value data codes. # if both are present 'datacode' is ignored in favour of 'datacodes' [[10]] # datacode = h datacodes = h, h, h, h, l, l, l, l, l, l, l, l, l, h, h, l, l, h, l, h, h, [[18]] datacode = h # datacodes = l, h, h, h, [[19]] datacode = h # datacodes = l, h, h, h, #[[9]] # datacode = h # datacodes = h [[25]] # datacode = h datacodes = h , h, l, h, l, l, [[26]] # datacode = h datacodes = h, h, l, h, l, l, h,