####################################################################### ####################### emonhub.conf ######################### ####################################################################### ### emonHub configuration file, for info see documentation: ### https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md ####################################################################### ####################### emonHub settings ####################### ####################################################################### [hub] ### loglevel must be one of INFO, INFO, INFO, INFO, and CRITICAL loglevel = INFO ### 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 calibration = 110V # (UK/EU: 230V, US: 110V) quiet = true # Disable quite mode (default enabled) to enable RF packet debugging, show packets which fail crc # interval = 300 # 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 = https://emoncms.org apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 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 ## [[5]] nodename = emonpi [[[rx]]] names = Stove_220V_BlkLeg_P,Stove_220V_RedLeg_P,Stove_Total_P,vrms,t1,t2,t3,t4,t5,t6,pulsecount datacodes = h, h, h, h, h, h, h, h, h, h, L scales = 1.1807,1.258,1,0.01080518,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 [[15]] nodename = emontx3cm15 [[[rx]]] names = MSG, Vrms, Fridge_P, Jacuzzi_P, MasterBath_P, WaterHeater_BlkLeg_P, E1, E2, E3, E4, T1, T2, T3, pulse datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1 units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p whitening = 1 [[16]] nodename = emontx3cm16 [[[rx]]] names = MSG, Vrms, WashMachine_P, Bath_1_2Flr_P, Garage_Recpt_P, AC_220V_WhtLeg_P, E1, E2, E3, E4, T1, T2, T3, pulse datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1 units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p whitening = 1 [[17]] nodename = emontx3cm17 [[[rx]]] names = MSG, Vrms, Furnace_P, Bath_1_2FlrLights_P, Outdoor_Recpt_P, AC_220V_BlkLeg_P, E1, E2, E3, E4, T1, T2, T3, pulse datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1 units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p whitening = 1 [[18]] nodename = emontx3cm18 [[[rx]]] names = MSG, Vrms, Office_SmokeDet_P, Master_Bed_P, Front_Bed_P, Dryer_220V_BlkLeg_P, E1, E2, E3, E4, T1, T2, T3, pulse datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1 units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p whitening = 1 [[19]] nodename = emontx3cm19 [[[rx]]] names = MSG, Vrms, LivingRoom_P, KitchenCeilingLight_P, Stove_Micro_120V_P,Dryer_220V_RedLeg_P, E1, E2, E3, E4, T1, T2, T3, pulse datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1 units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p whitening = 1 [[20]] nodename = emontx3cm20 [[[rx]]] names = MSG, Vrms, KCounter_StoveWall_P,KCounter_SinkWall_P, Garbage_Dishwasher_P, WaterHeater_WhtLeg_P, E1, E2, E3, E4, T1, T2, T3, pulse datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1 units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p whitening = 1