python library for interacting with Fronius inverters via modbus/TCP. Includes some example utilities
Find a file
2024-10-16 20:48:59 +11:00
examples Start of peak check script 2024-10-16 16:50:16 +11:00
src Test for string16 added 2024-10-16 20:48:59 +11:00
tests Test for string16 added 2024-10-16 20:48:59 +11:00
tools Tests pass on generated registers 2024-10-16 18:16:52 +11:00
.gitignore python gitignore 2024-10-12 20:59:05 +11:00
DesignNotes.md read_regs working, design notes added 2024-10-08 17:44:29 +11:00
LICENSE rename license file 2024-10-08 16:33:21 +11:00
noxfile.py Remove unused typing hint thing, exclude tools for now from linting 2024-10-16 16:42:52 +11:00
pyproject.toml Trying to get 501s ignored on generated registers 2024-10-16 18:40:10 +11:00
README.md Add some string reading bits, SerialNumber test failing 2024-10-12 17:37:46 +11:00

pyFroniusReg

The aim of this python library is to provide some nice to use abstractions to interact with Fronius solar inverters and storage systems over ModBus. It is tested on a Gen24 Primo 5kW system with an attached BYD battery storage system using 'float' mode of the sunspec ModBus over TCP protocol.

Examples

force_charge.py: Use the library to force my system to charge at 2.5kW

reset_charge.py: Use the library to set my system back to defaults

read_regs.py: Use the library to read some relevant registers

Acknowledgements

A lot of ideas and some orignating code came from: https://github.com/oscarknapp/Fronius-Gen-24-Modbus-Integration/tree/main

Special thanks to VK2TTY <@vk2tty@mastodon.radio> for their generous assistance in bringing me up to speed with a more pythonic way of doing things!