Advertisement
Guest User

tracer mppt bn collectd.conf

a guest
Jun 10th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.89 KB | None | 0 0
  1.  
  2. LoadPlugin modbus
  3. <Plugin modbus>
  4.  <Data "voltage-input-1">
  5.    RegisterBase 8192
  6.    RegisterType float
  7.    RegisterCmd ReadHolding
  8.    Type voltage
  9.    Instance "volt-1"
  10.  </Data>
  11.  <Data "power-input-1">
  12.    RegisterBase 8320
  13.    RegisterType float
  14.    RegisterCmd ReadHolding
  15.    Type power
  16.    Instance "power-1"
  17.  </Data>
  18.  <Data "freq-input-1">
  19.    RegisterBase 8224
  20.    RegisterType float
  21.    RegisterCmd ReadHolding
  22.    Type frequency
  23.    Instance "freq-1"
  24.  </Data>
  25.  <Data "energy-input-1">
  26.    RegisterBase 12288
  27.    RegisterType float
  28.    RegisterCmd ReadHolding
  29.    Type energy
  30.    Instance "meter-1"
  31.  </Data>
  32.  <Host "solarnode">
  33.    Device "/dev/ttyUSB0"
  34.    Baudrate 1200
  35.    Interval 5
  36.  
  37.    <Slave 1>
  38.      Instance "inverter"
  39.      Collect  "voltage-input-1"
  40.      Collect  "power-input-1"
  41.      Collect  "freq-input-1"
  42.      Collect  "energy-input-1"
  43.    </Slave>
  44.  </Host>
  45. </Plugin>
  46. <Plugin modbus>
  47.  <Data "panel-voltage-input">
  48.    RegisterBase 12544
  49.    RegisterType uint16
  50.    RegisterCmd ReadInput
  51.    Type voltage
  52.    Instance "panel-voltage"
  53.  </Data>
  54.  
  55.  <Data "panel-current-input">
  56.    RegisterBase 12545
  57.    RegisterType uint16
  58.    RegisterCmd ReadInput
  59.    Type current
  60.    Instance "panel-current"
  61.  </Data>
  62.  
  63.  <Data "battery-voltage-input">
  64.    RegisterBase 12548
  65.    RegisterType uint16
  66.    RegisterCmd ReadInput
  67.    Type voltage
  68.    Instance "battery-voltage"
  69.  </Data>
  70.  
  71.  <Data "battery-charging-current-input">
  72.    RegisterBase 12549
  73.    RegisterType uint16
  74.    RegisterCmd ReadInput
  75.    Type current
  76.    Instance "battery-charging-current"
  77.  </Data>
  78.  
  79.  <Data "battery-percentage-input">
  80.    RegisterBase 12570
  81.    RegisterType uint16
  82.    RegisterCmd ReadInput
  83.    Type percent
  84.    Instance "battery-percentage"
  85.  </Data>
  86.  
  87.  <Data "battery-charging-power-input">
  88.    RegisterBase 12550
  89.    RegisterType uint32
  90.    RegisterCmd ReadInput
  91.    Type power
  92.    Instance "battery-charging-power"
  93.  </Data>
  94.  
  95.  <Data "load-voltage-input">
  96.    RegisterBase 12556
  97.    RegisterType uint16
  98.    RegisterCmd ReadInput
  99.    Type voltage
  100.    Instance "load-voltage"
  101.  </Data>
  102.  
  103.  <Data "load-current-input">
  104.    RegisterBase 12557
  105.    RegisterType uint16
  106.    RegisterCmd ReadInput
  107.    Type current
  108.    Instance "load-current"
  109.  </Data>
  110.  
  111.  <Data "load-power-input">
  112.    RegisterBase 12558
  113.    RegisterType uint32
  114.    RegisterCmd ReadInput
  115.    Type power
  116.    Instance "load-power"
  117.  </Data>
  118.  
  119.  
  120.  <Host "tracer">
  121.    Device "/dev/ttyXRUSB0"
  122.    Baudrate 115200
  123.    Interval 5
  124.    <Slave 1>
  125.      Instance "tracer"
  126.      Collect "panel-voltage-input"
  127.      Collect "panel-current-input"
  128.      Collect "panel-power-input"
  129.      Collect "battery-voltage-input"
  130.      Collect "battery-charging-current-input"
  131.      Collect "battery-charging-power-input"
  132.      Collect "battery-percentage-input"
  133.      Collect "load-voltage-input"
  134.      Collect "load-current-input"
  135.      Collect "load-power-input"
  136.   </Slave>
  137.  </Host>
  138. </Plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement