Skip to main content

Water boiler automation with a Fronius pv inverter on a Raspberry Pi.

Project description

Boilr

latest release coverage

Water boiler automation with a Fronius pv inverter on a Raspberry Pi.

The objective was to harness the surplus generated by the PV system and enhance daytime self-consumption through water heating. This approach not only reduces the energy fed back to the grid but also curtails the need for heating resources like pellets, oil, or other fuels.

sufficiency over one day The yellow area illustrates the self-consumed energy after using Boilr (this program) to increase self-sufficiency. The blue line is the overall energy consumption. The gray region represents the surplus energy directed into the grid. The green line corresponds to the battery charge level, depicted as a percentage, while the green segment represents the surplus energy channeled into the battery.

self-sufficiency example Here, it's evident that all the energy generated by the PV system serves either to charge the battery or for direct consumption (inclusive of electrical devices and the water heater's heating element).

Features

  • Heat water with surplus power from PV
  • Active date & time spans
  • MQTT contactor status
  • Operating modes
    • Interactive
    • Daemon
  • Manual contactor override

Setup

Refer to this for setup instructions: Setup.md

Check out this Sample configuration for reference.

Usage

Starting service:

boilr start

Stopping service:

boilr stop

Run verbosely in command line with custom config path:

boilr -c ./config.yaml -v run

Complete guide (boilr -h):

usage: boilr [-h] [-c CONFIG] [-v] {start,stop,status,restart,run,manual} ...

Water boiler automation with a Fronius pv inverter on a Raspberry Pi.

options:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Path to the configuration file. (default: None)
  -v, --verbose         Increase verbosity (default: False)

commands:
  Choose between the following positional arguments

  {start,stop,status,restart,run,manual}
    start               Start boilr service
    stop                Stop boilr service
    status              Show the status of boilr service
    restart             Restart boilr service
    run                 Start boilr in command-line
    manual              Manually override contactor

Additional hardware required. Please check:
https://github.com/PeterBrain/boilr

[!IMPORTANT] In all operating modes Boilr needs permission to create a file in /var/log. If you run boilr as a daemon it needs permission to create a file in /var/run. Pytest needs write permission to /var/log too.

Requirements

Check out Requirements for more details.

Weaknesses

The existing design exhibits a significant limitation: in contrast to Ohmpilot[^1], a comparable Fronius product that boasts notably higher efficiency due to its use of PWM (Pulse Width Modulation), my setup operates solely in two states. It's either fully activated, providing maximum power to the heating coil, or completely deactivated. The optimal efficiency advantage is sacrificed on days when PV production falls just short of meeting both the household's current consumption and the water heating requirements.

Additional resources

[^1]: https://www.fronius.com/en/solar-energy/installers-partners/infocentre/news-row/ohmpilot-hot-water-with-solar-energy and https://www.fronius.com/~/downloads/Solar%20Energy/Brochures/SE_BRO_Fronius_Ohmpilot_B2C_EN_MEACA.pdf

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

boilr_pv-0.1.1.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

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

boilr_pv-0.1.1-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file boilr_pv-0.1.1.tar.gz.

File metadata

  • Download URL: boilr_pv-0.1.1.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.2

File hashes

Hashes for boilr_pv-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0f64eb64b2a123d2847b92531c9c60ce36c54246a59ec7902ff0d6ff210c70e3
MD5 3b935feb3429353373050ca63297a404
BLAKE2b-256 2133a43ddc642c46655f85ba64f06ed450c4db9e801cdee5057bfbcbd24d278c

See more details on using hashes here.

File details

Details for the file boilr_pv-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: boilr_pv-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.2

File hashes

Hashes for boilr_pv-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 125427cb34f9439f448b8fbb8282a7f57c9370f8d9ee05a97c77e39ec7bf172d
MD5 6151a3981f9bbf9babff8a52d55295d2
BLAKE2b-256 a903aa12852be64efeea85a4248b3c8647ef9870828498bd9ba145b2dfc4f73a

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