Skip to content

Instantly share code, notes, and snippets.

View madbobmcjim's full-sized avatar

Matt Green madbobmcjim

View GitHub Profile
##
# 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