Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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 = DEBUG
- #######################################################################
- ####################### Reporters #######################
- #######################################################################
- [reporters]
- # This reporter sends data to emonCMS
- [[emonCMS]]
- Type = EmonHubEmoncmsReporter
- [[[init_settings]]]
- [[[runtimesettings]]]
- url = http://emoncms.org
- apikey = xxxxxxxxxxxxxx
- #######################################################################
- ####################### Interfacers #######################
- #######################################################################
- [interfacers]
- # This interfacer manages the RFM2Pi module
- [[RFM2Pi]]
- Type = EmonHubJeeInterfacer
- [[[init_settings]]]
- com_port = /dev/ttyAMA0
- [[[runtimesettings]]]
- group = 210
- frequency = 433
- 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'
- [[10]]
- datacodes = L, h, h, h, h, l, l, l, l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement