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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a936a0cd80a5887e15de15cb09098c90d4b7a53cb1fa8ec7ff49426c4740f9cf
|
|
| MD5 |
c0da0c7da9b3f26a93e502e20cb4614d
|
|
| BLAKE2b-256 |
d989e9215ab8fbb4fed84b015ed974b0153640645742bd4b03a18e613e9d4dfe
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c146897bc006f84a89af93a606aaf7d233578b8915a1a28130ba8d9c295ad8c
|
|
| MD5 |
1dd7531494e03179afa5dfb2a4ef7952
|
|
| BLAKE2b-256 |
d89ba5b9de2eab0451911005c213deebbfb50383c5265237fc8d6b848e6d5d63
|