New
Apps 6,416Makers 6,395This week 12
Promote your app−30%
3views in
the last 30 days

OpenAmpere

Local app for solar systems with battery storage, no cloud at all

Built with Claude Code

by gr33ndev · Unclaimed · from ATAustria · added Oct 29, 2026
no ratings0 comments

Deutsch: README.de.md

OpenSSF Scorecard OpenSSF Best Practices

Website & Demo · FAQ · Source code · Questions · Roadmap · Report a bug · License · Third-party licenses · Security · Contributing · Code of Conduct · Governance

Local app for solar systems with battery storage, no cloud at all.

OpenAmpere talks to the inverter directly on your home network, stores all data locally and shows it in the browser. On a smartphone you can add the page to the home screen, and it then behaves like an app. No account, no cloud, no dependence on a manufacturer's server.

The app's user interface and the website are in German.

Übersicht mit Energiefluss von Solar, Speicher, Netz, Wallbox und Heizstab Geräte: Speicher und Wallbox bedienen Auswertung mit Tageswerten und Leistungskurve Übersicht im dunklen Design

From the demo with made-up values. Regenerate with scripts/screenshots.sh.

Independent community project. Background and legal notes are at the end of this page.

Supported devices

Device What OpenAmpere does Confirmed on a real system?
FoxESS H3, newer firmware Monitoring and control. Control is off by default. The new or old register map is detected automatically. ✅ Monitoring and control confirmed
FoxESS H3, older firmware / H3 Smart / H3 Pro Monitoring and control; with older firmware without the feed-in limit Not yet confirmed
SAJ H2 / HS2 Monitoring and control. Grid charging through a short charge time slot in the inverter, because SAJ has no remote control that ends by itself. Monitoring confirmed on a "3P-X E2" (older "Ampere.StoragePro"), control not yet
Immersion heater, heat pump (SG-Ready) Switching on solar surplus via Shelly relays or web addresses. Not yet confirmed
Immersion heater my-PV AC ELWA-E, AC ELWA 2, AC THOR Continuously variable according to solar surplus, optionally with cheap grid power. Not yet confirmed
Wallbox Via evcc: monitoring and operation in OpenAmpere, see docs/evcc.md. For many wallboxes evcc requires a paid sponsor token (list). Not yet confirmed
Home Assistant Dedicated integration: live data and control. Comes with the Home Assistant app, otherwise via HACS, see Installation. –

Not yet confirmed means: the support is based on documentation from the manufacturers or the community and is checked with tests and the simulator, but nobody has reported it from a real system yet. It may well work. If you have such a device, help with a device report: in the app, start the diagnostics under Mehr → Diagnose (More → Diagnostics; it only reads and changes nothing), tap Bericht kopieren (Copy report) and paste the report into the device report form. Remove IP addresses, passwords and API keys first. Every report helps to move a row to "confirmed".

The device type is detected automatically. Setup tries all known devices one after another, read-only: FoxESS at device address 247, SAJ at 1 and 2. So you don't need to know the device address or the manufacturer. The connection uses Modbus TCP, default port 502. New drivers are welcome, see src/openampere/drivers/registry.py.

Full list: docs/devices.md, with what is read and controlled per model and what exactly has been confirmed on real hardware.

Features

  • Menu: Übersicht (Overview), Geräte (Devices: operate the battery, wallbox and immersion heater, and set the order in which they get solar power), Auswertung (Report) and Mehr (More: setup and settings). A switch „Nur ansehen / Testen / Aktiv“ (View only / Test / Active) determines whether OpenAmpere is allowed to change anything.
  • Overview:
    • Live energy flow for PV, house, grid and battery with state of charge, plus wallbox and immersion heater
    • Daily totals
    • Self-sufficiency
    • Solar by module array: power, voltage and current per PV input (MPPT), e.g. for the south roof, west roof or garage
    • Temperatures: inverter, battery, battery cells
  • Report:
    • Power curve over the day with state of charge, values on tap
    • Energy per day (15 or 60 minutes), week, month and year
    • Yield per module array
    • Temperature history
    • Consumption per device (wallbox, immersion heater) and charging sessions
    • Self-sufficiency, self-consumption, consumption split between household and devices, estimated savings
  • Electricity tariffs: fixed price or dynamic tariff (exchange price plus markup, Germany and Austria) with standing charge, multiple tariffs with start dates; from these, savings and the net electricity cost.
  • Keep track of advance payments: enter monthly advance payments for grid consumption and feed-in (Mehr → Abschläge (More → Advance payments)). The report shows where you stand today: costs and feed-in compensation so far against the advance payments up to today, with the current month pro rata.
  • Meter readings from the grid operator: with a smart meter, OpenAmpere fetches the daily values from the grid operator's customer portal (Mehr → Verbindung → Zählerwerte (More → Connection → Meter readings)) and uses them to calculate the advance payments. Currently for Netze BW; other grid operators can be added as separate modules.
  • Export: energy values as a CSV file for Excel and similar tools.
  • Battery & backup power: backup power reserve, charge limits, operating mode
  • Feed-in limit: view and change the maximum feed-in power. You enter the installed module power (kWp) and the applicable rule: 60 % under the Solarspitzengesetz (German solar peak law; until a smart metering system with a control box is installed), the former 70 % rule, a fixed value from the grid connection approval (e.g. zero feed-in) or no limit. The percentages refer to the module power, not the inverter; the app does not allow more than the rule permits. With a fixed value from the grid operator, any increase is only permitted with the grid operator's written consent; the app requires a confirmation for this and logs the date and reference. "No limit" requires an explicit declaration, which is also logged.
  • Import history from the EKD cloud: for previous users of the "Ampere.IQ" app. Under Mehr → Daten & Sicherung (More → Data & backup), enter the API key from the Ampere.IQ app and start the import. The import only uses the public customer API with your own key; OpenAmpere has nothing to do with EKD, see legal notes.
    • It runs in the background with at most one request per minute.
    • After a restart, it continues where it left off.
    • Alternatively, a ZIP from the export tool can be imported.
  • Cloud-compatible interface: /api/v1/customer/installation and /api/v1/installation/{id}/now/all/power respond like the previous cloud customer API. Existing tools only need to be pointed at the new address.
  • Charging from the grid (experimental): at the cheapest exchange price or in a fixed time window, up to a charge target. Only works via the inverter's remote control with a time limit; in test mode it is only logged. Legal notes must be confirmed first (EEG storage, § 14a EnWG).
  • Use surplus: a my-PV immersion heater (AC ELWA-E, AC ELWA 2, AC THOR) follows the solar surplus continuously, with minimum surplus, maximum power, battery priority and optionally cheap grid power. OpenAmpere switches a heat pump (SG-Ready) or other devices via Shelly relays or web addresses, by priority, with minimum run time and minimum pause time.
  • Battery health (Mehr → Meine Anlage (More → My system)): full cycles, efficiency since commissioning, temperature of the warmest and coolest cell and their difference, with a warning for unusual values.
  • Firmware changes: OpenAmpere remembers the inverter's firmware and shows when it has changed. An update can change registers; afterwards it's best to run the diagnostics once.
  • Notifications via ntfy: inverter unreachable, fault, overwritten setting, battery full, cheapest power tomorrow, check battery, new firmware, start and end of charging at the wallbox.
  • Diagnostics (read-only): checks the register map, function codes, optional blocks, scaling, feed-in limit, connection drops and daily counters of your own device, and creates a report to share. Run it once before the first change to the inverter. Under Gerät auslesen (Read a device) it also reads registers of any Modbus device in your home network, for example a wallbox OpenAmpere does not know yet, so support for it can be added.
  • Wallbox with evcc: most wallboxes are controlled by the independent open-source project evcc. OpenAmpere supplies evcc with the grid, solar and battery readings, so evcc doesn't need its own connection to the inverter, and shows the charge points in the app: charging mode, charge target, minimum charge, charging plan, time until target and charging sessions. If the car itself is set up in evcc, state of charge and range are added, and the report shows kilometres driven, kilometres on solar power, consumption per 100 km and cost per 100 km compared with grid power. Whether the wallbox or the immersion heater gets surplus first is configurable. For many wallboxes evcc requires a sponsor token, which costs money; the evcc wallbox list shows which ones work without (details). Setup: docs/evcc.md. Thanks to the evcc community!
  • Wallbox without evcc: the portable 11 kW wallbox sold as "dé" (Tuya Wi-Fi) OpenAmpere reads and controls itself, without evcc and without a cloud: charging mode (manual, off, solar, minimum + solar, fast), current per phase, several wallboxes. It is often unplugged; OpenAmpere then shows it as not reachable and reconnects by itself. Needs the wallbox's local key from Tuya's developer platform. Setup: docs/wallbox-direct.md.
  • State of charge of the car (Volkswagen group): for cars from Volkswagen, Audi, Škoda, SEAT and CUPRA, OpenAmpere can read state of charge, range and odometer from the group's EU Data Act portal with the owner's brand account (optional and read-only; the values are at least 15 minutes old). At a wallbox OpenAmpere controls itself, every charge is stored with the state of charge at plug-in and the kilometres driven, for consumption per 100 km. Setup: docs/car.md.
  • See also docs/architecture.md.

Installation

OpenAmpere runs in one of two ways. Choose one of them: only one OpenAmpere may talk to the inverter.

  1. Standalone on a Linux computer with Docker, e.g. a Raspberry Pi, NAS or Proxmox server. If you use Home Assistant, you can connect it with the OpenAmpere integration (HACS) when you like.
  2. As a Home Assistant app, if you run Home Assistant OS (e.g. on a Home Assistant Green or a Raspberry Pi). OpenAmpere then runs inside Home Assistant and opens in its sidebar.
Way 1: standalone Way 2: Home Assistant app
Runs on its own Linux computer with Docker Home Assistant OS
Opens in the browser, also as an app on the phone in the sidebar of Home Assistant, and in the browser by IP address
Home Assistant optional: install the integration via HACS the app brings the integration along: no HACS
Updates in OpenAmpere, at the push of a button or at night through Home Assistant

Way 1: standalone

Requirements: a Linux computer on the same network as the inverter (Raspberry Pi with a 64-bit system, NAS, Proxmox …) and Modbus TCP enabled on the inverter. For the battery systems sold by EKD this is already the case; for other devices the installer can take care of it.

1. Install: run in a terminal on the computer:

curl -fsSL https://gr33ndev.github.io/OpenAmpere/install.sh | bash

Prefer to check the script before it runs? Download it with its helpers and SHA256SUMS from the latest release, compare the checksums and then start it. With the helpers next to it, install.sh uses those instead of downloading them:

mkdir openampere-install && cd openampere-install
for f in install.sh updater.sh tailscale.sh SHA256SUMS; do
  curl -fsSLO "https://github.com/Gr33ndev/OpenAmpere/releases/latest/download/$f"
done
sha256sum -c SHA256SUMS && bash install.sh

The script installs Docker if needed and asks for the folder (default /opt/openampere), whether it should also set up evcc for a wallbox, and whether you want to use OpenAmpere on the go as well (Tailscale, see Remote access). When run again, the answers are kept. It detects the time zone and a free port by itself. At the end it shows the address of the app. What it does is in scripts/install.sh.

Updates: when a new version is available, the app shows a notice at the top; a tap on Aktualisieren (Update) is all it takes. Under Mehr → Über OpenAmpere (More → About OpenAmpere), updates can also be installed automatically at night. For this, the install script sets up a small helper container (scripts/updater.sh): it has access to Docker, but only reacts to a request file that the app writes into the data folder. It then pulls the new version, starts it and checks that it is running. If it doesn't start, the previous version is restored. The app itself gets no access to Docker. The app checks GitHub for new versions every 6 hours; this can be turned off. If you installed with the script before, run it once more so the helper is added.

2. Set up in the browser: open the displayed address, usually http://<server-ip>:8080, and set a password. A setup wizard searches for the inverter on the home network, or you enter its IP address. It tests the connection and saves it. Values can be viewed on the home network without a password. Changing settings, control commands and data backup require a login.

3. Optional: immersion heater or heat pump. No additional software is needed. Add it in the app under Mehr → Verbindung → Heizstab und weitere Geräte (More → Connection → Immersion heater and other devices).

4. Optional: wallbox. Most wallboxes are controlled by evcc, a separate open-source project. If you answered yes to "Wallbox" in the script, evcc is already running as a second container at http://<server-ip>:7070, and OpenAmpere knows its address. Then:

  1. Set up the wallbox and vehicle in evcc.
  2. In OpenAmpere, under Mehr → Verbindung → Wallbox (More → Connection → Wallbox), copy the meter configuration and paste it into evcc. This way evcc gets the grid, solar and battery readings from OpenAmpere.

If evcc is already running elsewhere, enter its address under Mehr → Verbindung → Wallbox. Details are in docs/evcc.md.

A few wallboxes OpenAmpere controls directly, without evcc: so far the portable 11 kW wallbox sold as "dé" (Tuya Wi-Fi). Choose direkt (directly) under Mehr → Verbindung → Wallbox; you need the wallbox's local key from Tuya's developer platform. Step by step: docs/wallbox-direct.md.

Where to find what: under Geräte you operate the battery (backup power reserve, charge limits), wallbox and immersion heater, and set who gets solar power first. Under Mehr you'll find Meine Anlage (with the feed-in limit), Stromtarif (Electricity tariff), Verbindung, Steuerung und Protokoll (Control and log), Benachrichtigungen (Notifications), Zugriffsschutz (Access protection), Darstellung (Appearance), Daten & Sicherung and Diagnose (Diagnostics).

Forgot your password? Run this in a terminal on the server, then set a new password in the app:

cd /opt/openampere && sudo docker compose exec openampere openampere reset-password

If OpenAmpere is in a different folder (for a manual installation, the folder of the repository), replace /opt/openampere with that folder.

The same command is needed when the app says that the database was damaged and your previous password could not be taken over. Until then, nobody can set a new password in the app, so that nobody else in your home network can choose one first.

Problems during setup? See Troubleshooting. How to back up your data, move to a new computer or remove OpenAmpere again is described under Backup and restore, Moving to a new computer and Uninstalling.

Connect Home Assistant

Optional. The OpenAmpere integration brings power, energy (suitable for the Energy dashboard), state of charge and status live into Home Assistant, and if you allow it control of the battery, charging from the grid and the immersion heater. It connects to the running OpenAmpere; only OpenAmpere talks to the inverter.

  1. Install the integration via HACS: the first button opens the repository in your Home Assistant. Download it there and restart Home Assistant.
  2. Add the integration with the second button and enter the address of OpenAmpere.
  3. Pair: Home Assistant and OpenAmpere show the same 6-digit code. Compare it under Mehr → Verbundene Apps (More → Connected apps) and allow it there, read only or with control.

[![HACS Custom](https://img.shields.io/badge/HAC

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#solar · #battery