This file contains hidden or 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
## | |
# Based off Mark Gardiner's script here: | |
# https://gist.github.com/markgdev/ce2dbf9002385cbe5a35b81985f9c84a | |
# I've added some tweaks to get additional information out of the inverter. | |
# Note: the InverterStatus gathering (for fault reporting) is wrong, I'm pretty sure I've got my hex conversion wrong | |
# I know the last two batter statuses are correct as that's what the system reported when I had a battery fault :-) | |
## | |
import minimalmodbus |