Advertisement
Guest User

Untitled

a guest
Mar 20th, 2015
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. # SPECIMEN emonHub configuration file
  2. # Note that when installed from apt, a new config file is written
  3. # by the debian/postinst script, so changing this file will do
  4. # nothing in and of itself.
  5.  
  6. # Each Interfacer and each Reporter has
  7. # - a [[name]]: a unique string
  8. # - a type: the name of the class it instantiates
  9. # - a set of init_settings (depends on the type)
  10. # - a set of runtimesettings (depends on the type)
  11. # Both init_settings and runtimesettings sections must be defined,
  12. # even if empty. Init settings are used at initialization,
  13. # and runtime settings are refreshed on a regular basis.
  14.  
  15. # All lines beginning with a '#' are comments and can be safely removed.
  16.  
  17. #######################################################################
  18. ####################### emonHub settings #######################
  19. #######################################################################
  20. [hub]
  21.  
  22. # loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
  23. # see here : http://docs.python.org/2/library/logging.html
  24. loglevel = DEBUG
  25.  
  26.  
  27. #######################################################################
  28. ####################### Reporters #######################
  29. #######################################################################
  30. [reporters]
  31.  
  32. # This reporter sends data to emonCMS
  33. [[emonCMS]]
  34. Type = EmonHubEmoncmsReporter
  35. [[[init_settings]]]
  36. [[[runtimesettings]]]
  37. url = http://emoncms.org
  38. apikey = xxxxxxxxxxxxxx
  39.  
  40.  
  41.  
  42. #######################################################################
  43. ####################### Interfacers #######################
  44. #######################################################################
  45. [interfacers]
  46.  
  47. # This interfacer manages the RFM2Pi module
  48. [[RFM2Pi]]
  49. Type = EmonHubJeeInterfacer
  50. [[[init_settings]]]
  51. com_port = /dev/ttyAMA0
  52. [[[runtimesettings]]]
  53. group = 210
  54. frequency = 433
  55. baseid = 15
  56.  
  57.  
  58. #######################################################################
  59. ####################### Nodes #######################
  60. #######################################################################
  61. [nodes]
  62.  
  63. # List of nodes by node ID
  64. # 'datacode' is default for node and 'datacodes' are per value data codes.
  65. # if both are present 'datacode' is ignored in favour of 'datacodes'
  66. [[10]]
  67. datacodes = L, h, h, h, h, l, l, l, l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement