Skip to main content

A library to make interacting with Fronius inverters and storage systems simpler

Project description

pyFroniusReg

The aim of this python library is to provide some nice to use abstractions to interact with Fronius(tm) 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. Some testing has been done in int&sf mode.

Installation

Currently you can grab the .whl from the releases page. I'll figure out PyPI addition eventually

Examples

check_peak.py: Designed to be run from a cron job to check if we have enough storage to run the house for the peak pricing periods.

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

read_regs.py: Use the library to read some relevant registers from the non-storage inverter

read_regs_storage.py: use the library to read some relevant registers from the storage inverter

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

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!

Legal

pyFroniusReg, a python library for interacting with Fronius inverters Copyright (C) 2024 Paul Warren

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Froinus(tm), Symo(tm), Primo(tm), Tauro(tm) are tradmarks of Fronius International GmbH who have no involvement in this project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfroniusreg-0.2.2.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfroniusreg-0.2.2-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file pyfroniusreg-0.2.2.tar.gz.

File metadata

  • Download URL: pyfroniusreg-0.2.2.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyfroniusreg-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bd7dbdbeccf579c3b26e4eea166f0f6eb2d34c736b8d3b9f81bae42944b9ad9d
MD5 78e46f972ede8ac5d36c44c7ccda1c3d
BLAKE2b-256 de814021e1aec9078cbd4a7ae9e1cc2804688eb3205ad2bc79717fefbd3572ba

See more details on using hashes here.

File details

Details for the file pyfroniusreg-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pyfroniusreg-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 59.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyfroniusreg-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e08676fcb048ce9284cf7a8d3055fb9af9f1cd1a9a569aabfffbbf4a0ce2491
MD5 0f321cd38c7a3258ef44296a82c99232
BLAKE2b-256 9ea3e8fb79158b5b4719b1c2aee9548eb8974acfaf00ec215d595d27bbb49574

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page