Created
April 12, 2019 10:32
-
-
Save dangowrt/c87cab2c8c805a85e789e4ee1d7255cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadPlugin modbus | |
<Plugin modbus> | |
<Data "panel-voltage-input"> | |
RegisterBase 12544 | |
RegisterType Uint16 | |
RegisterCmd ReadInput | |
Type voltage | |
Instance "panel-voltage" | |
Scale 0.01 | |
</Data> | |
<Data "panel-current-input"> | |
RegisterBase 12545 | |
RegisterType Uint16 | |
RegisterCmd ReadInput | |
Type current | |
Instance "panel-current" | |
Scale 0.01 | |
</Data> | |
<Data "battery-voltage-input"> | |
RegisterBase 12548 | |
RegisterType Uint16 | |
RegisterCmd ReadInput | |
Type voltage | |
Instance "battery-voltage" | |
Scale 0.01 | |
</Data> | |
<Data "battery-charging-current-input"> | |
RegisterBase 12549 | |
RegisterType Uint16 | |
RegisterCmd ReadInput | |
Type current | |
Instance "battery-charging-current" | |
Scale 0.01 | |
</Data> | |
<Data "battery-percentage-input"> | |
RegisterBase 12570 | |
RegisterType Uint16 | |
RegisterCmd ReadInput | |
Type percent | |
Instance "battery-percentage" | |
</Data> | |
<Data "battery-charging-power-input"> | |
RegisterBase 12550 | |
RegisterType Uint32LE | |
RegisterCmd ReadInput | |
Type power | |
Instance "battery-charging-power" | |
Scale 0.01 | |
</Data> | |
<Data "load-voltage-input"> | |
RegisterBase 12556 | |
RegisterType Uint16 | |
RegisterCmd ReadInput | |
Type voltage | |
Instance "load-voltage" | |
Scale 0.01 | |
</Data> | |
<Data "load-current-input"> | |
RegisterBase 12557 | |
RegisterType Uint16 | |
RegisterCmd ReadInput | |
Type current | |
Instance "load-current" | |
Scale 0.01 | |
</Data> | |
<Data "load-power-input"> | |
RegisterBase 12558 | |
RegisterType Uint32LE | |
RegisterCmd ReadInput | |
Type power | |
Instance "load-power" | |
Scale 0.01 | |
</Data> | |
<Host "tracer"> | |
Device "/dev/ttyS2" | |
Baudrate 115200 | |
UARTType "RS485" | |
Interval 1 | |
<Slave 1> | |
Instance "tracer" | |
Collect "panel-voltage-input" | |
Collect "panel-current-input" | |
Collect "panel-power-input" | |
Collect "battery-voltage-input" | |
Collect "battery-charging-current-input" | |
Collect "battery-charging-power-input" | |
Collect "battery-percentage-input" | |
Collect "load-voltage-input" | |
Collect "load-current-input" | |
Collect "load-power-input" | |
</Slave> | |
</Host> | |
</Plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment