####################################################################### ####################### emonhub.conf ######################### ####################################################################### ### emonHub configuration file, for info see documentation: ### http://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md ####################################################################### ####################### 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 = 38400 # 9600 for old RFM12Pi [[[runtimesettings]]] pubchannels = ToEmonCMS, subchannels = ToRFM12, group = 210 frequency = 433 baseid = 5 # emonPi / emonBase nodeID quiet = true # Report incomplete RF packets (no implemented on emonPi) calibration = 110V # (UK/EU: 230V, US: 110V) # interval = 0 # 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/ # 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 = http://emoncms.rstechnical.com apikey = my_api_key_goes_here_and_works_fine senddata = 1 # Enable sending data to Emoncms.org sendstatus = 0 # Enable sending WAN IP to Emoncms.org MyIP > https://emoncms.org/myip/list sendinterval= 5 # Bulk send interval to Emocnms.org in seconds ####################################################################### ####################### Nodes ####################### ####################################################################### [nodes] ## See config user guide: http://github.com/openenergymonitor/emonhub/blob/master/configuration.md [[5]] nodename = emonpi [[[rx]]] names = power1,power2,power1pluspower2,vrms,t1,t2,t3,t4,t5,t6,pulsecount datacodes = h, h, h, h, h, h, h, h, h, h, L scales = 1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1 units = W,W,W,V,C,C,C,C,C,C,p [[19]] nodename = attic_temp_probes hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF) firmware = emonTH_dual_DS18B20_and_DS18B20_in_DHT22_Socket [[[rx]]] names = temperature, external temperature, battery, internalTemp datacode = h scales = 0.1,0.1,0.1,0.1 units = F,F,V,F [[21]] nodename = garage_temp firmware = emonTH_dual_DS18B20_ _DS18B20_in_DHT22_Socket V1.0 hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF) [[[rx]]] names = externalTemp1, externalTemp2, Battery, internalTemp datacode = h scales = 0.1,0.1,0.1,0.1 units = F,F,V,F [[23]] nodename = irrigation_water_meter firmware = moteino_RFM69HW_Pulse_RJS_Irrigation_Meter hardware = moteino_R4 [[[rx]]] names = GAL, GPM, GLM datacodes = f,f,f scales = 1,1,1 units = G,G,G [[24]] nodename = pool_temps hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:OFF) firmware = emonTH_DHT22_dual_DS18B20_RFM69CW [[[rx]]] names = externalTemp1, externalTemp2, humidity, battery, internalTemp datacodes = h,h,h,h,L scales = 0.1,0.1,0.1,0.1,0.1 units = F,F,%,V,p [[25]] nodename = pool_level firmware =moteino_Pool_Water_Level_Sensor_ETAPE_digital hardware = moteino_eTape_RF69HW [[[rx]]] names = resistance, battery, level datacode = h scales = 1,0.001,1 units = O,V [[26]] nodename = house_water_meter firmware = moteino_RFM69HW_Pulse_RJS_House_Meter hardware = moteino_R4 [[[rx]]] names = GAL, GPM, GLM datacodes = f,f,f scales = 1,1,1 units = G,G,G