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. And now I've added the library to PyPi, so you should be able to do: pip install pyFroniusReg

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.3.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.3-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfroniusreg-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a936a0cd80a5887e15de15cb09098c90d4b7a53cb1fa8ec7ff49426c4740f9cf
MD5 c0da0c7da9b3f26a93e502e20cb4614d
BLAKE2b-256 d989e9215ab8fbb4fed84b015ed974b0153640645742bd4b03a18e613e9d4dfe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfroniusreg-0.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c146897bc006f84a89af93a606aaf7d233578b8915a1a28130ba8d9c295ad8c
MD5 1dd7531494e03179afa5dfb2a4ef7952
BLAKE2b-256 d89ba5b9de2eab0451911005c213deebbfb50383c5265237fc8d6b848e6d5d63

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