Cannot get Local monitoring

I installed a system around a year ago which posted both locally and to emoncms.org.  It's a simple setup just monitoring electricity use with a single CT feeding an EmonTx V3 with an RFM12b on 868Mhz.  This transmits to a Raspberry Pi model B with an RFM12Pi V2 expansion board.  This is pre emonhub version but ran fine recording to hard disc and uploading to emoncms.org for remote viewing.  I decided to update the system to a more recent version of the software and replace the model B Pi with a B+ .  I seem to be able to get the online part working but cant seem to be able to get the local side of it working.  I am using the image file I was pointed to emonSD-13-08-14.img.zip and have edited the emonhub.conf file for local and remote.  I see the 6 node 10 inputs on the emoncms.org online version but no inputs on the http://localhost/emoncms version.  I am using the correct read/write api key reported by the localhost emoncms.  Has anyone any ideas as to what  I can try.  I can post my emonhost.conf file if it helps.

 

Robert Wall's picture

Re: Cannot get Local monitoring

"I can post my emonhost.conf file if it helps."

I think it would help (with APIkey redacted) and I'm hoping Paul (pb66) hasn't missed this thread - he's the best one to answer this.

Roblister's picture

Re: Cannot get Local monitoring

Hope this works and makes sense

#SPECIMEN emonHub configuration file
# Note that when installed from apt, a new config file is written
# by the debian/postinst script, so changing this file will do
# nothing in and of itself.

# Each Interfacer and each Reporter has
# - a [[name]]: a unique string
# - a type: the name of the class it instantiates
# - a set of init_settings (depends on the type)
# - a set of runtimesettings (depends on the type)
# Both init_settings and runtimesettings sections must be defined,
# even if empty. Init settings are used at initialization,
# and runtime settings are refreshed on a regular basis.

# All lines beginning with a '#' are comments and can be safely removed.

#######################################################################
####################### emonHub settings #######################
#######################################################################
[hub]

# loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
# see here : http://docs.python.org/2/library/logging.html
loglevel = WARNING

#######################################################################
####################### Reporters #######################
#######################################################################
[reporters]

# This reporter sends data to emonCMS
[[emonCMS_remote]]
Type = EmonHubEmoncmsReporter
[[[init_settings]]]
[[[runtimesettings]]]
url = http://emoncms.org
apikey = ****** removed ******

[[emonCMS_local]]
type = EmonHubEmoncmsReporter
[[[init_settings]]]
[[[runtime_settings]]]
url = http://localhost/emoncms
apikey = ****** removed *****

#######################################################################
####################### Interfacers #######################
#######################################################################
[interfacers]

# This interfacer manages the RFM2Pi module
[[RFM2Pi]]
Type = EmonHubJeeInterfacer
[[[init_settings]]]
com_port = /dev/ttyAMA0
[[[runtimesettings]]]
group = 210
frequency = 868
baseid = 15

#######################################################################
####################### Nodes #######################
#######################################################################
[nodes]

# 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'
[[99]]
datacode = h
datacodes = 1, h, h, h,

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.