Skip to content

About

Local energy monitoring and automation for a remote solar and battery site. Devices join through small services, e.g. Shelly, Tuya or APsystems, polled without a cloud. Rules and a web dashboard run on a Raspberry Pi (down to the Pi 1) or a small x86 box. Made for Home Assistant via MQTT over Tailscale, also runs standalone.

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Energy Node

Energy Node icon

Solar, batteries and loads in any building, watched and automated by a small box that keeps running on its own. Next door or at a remote site, connected to Home Assistant or standing alone.

Release CI License: MIT

Documentation · Download · What's new

Energy Node dashboard

Why Energy Node

Energy Node is for any building with solar panels, a battery bank or loads worth switching, whether that is a home, an office, a workshop, a farm or a commercial site. A Raspberry Pi in the building reads your devices, shows them in one dashboard and runs your automations on the spot.

Its main use case is the remote site: a workshop, barn or second property whose energy you want in the Home Assistant at home, but which is too far away or behind too shaky a connection to be run from there. The node does the work on site and mirrors every device to your Home Assistant over a Tailscale tunnel. If the link drops, the site keeps running. Energy Node runs just as well standalone at your main site, with or without Home Assistant next to it.

  • The node keeps measuring, switching and serving its dashboard when the internet or the VPN is down.
  • You need no cloud account. Every device is read on the local network.
  • A Raspberry Pi 1 is enough, because that is what it is built for. Any newer Pi or a small x86 box has room to spare.
  • Your devices show up in Home Assistant automatically, from the same building or from a remote site, and the dashboard can sit in the Home Assistant sidebar.

What you get

Your energy at a glance

The overview shows live energy flow, self-sufficiency and battery state on cards you arrange the way you like, on desktop and phone. Overview · Statistics · History

How your site is wired

Draw how your devices are wired, follow the energy from panel to plug and see where it gets lost along the way. Device map · Efficiency · Energy roles

Automations without code

Start from a template, build a scenario for a whole situation or write a single rule, all in the dashboard. The node checks your rules, suggests new ones from your habits and learns how your site behaves over the seasons. Automations · What the node learns

Notices when something is off

Monitoring collects notices about the energy balance, broken measurements and the surplus forecast in one place, each with recommended next steps. Monitoring

Setup and upkeep without a terminal

A desktop installer for Windows, macOS and Linux prepares the SD card and sets up the node. After that, a guided tour, settings forms, backups and updates all live in the dashboard. Installer · Onboarding · Settings

Users and permissions

Other people get their own account with the rights they need. A view-only guest access and sign-in through Home Assistant are built in. Users

Automation scenarios
Automations: scenarios, templates and rules
Monitoring
Monitoring: notices, forecast and learned values
Device map
Device map: how your site is wired
Installer
Installer: pick the services for a new node

The dashboard, page by page has a screenshot of every screen.

Supported devices

Hardware What Energy Node does with it
Shelly switches and meters, Gen1 and Gen2+ read and switch
APsystems EZ1 microinverters read, set the power limit, switch on and off
Lumentree inverters with a Trucki stick read
Tuya devices read and switch
LiFePO4 battery banks state of charge, computed from your other devices

Details for each device are in Device services. Support for further device families is welcome, see CONTRIBUTING.md.

Getting started

  1. Download the installer for your computer from the latest release.
  2. Let it prepare an SD card, or point it at a Raspberry Pi you already have.
  3. Pick your devices and open the dashboard. A short tour shows you around.

Deploying a node walks through every screen. To set up a node by hand, follow manual installation.

Home Assistant

Connect the node to your Home Assistant and all devices appear there as ordinary entities. A node at a remote site connects over a Tailscale tunnel, so you need no port forwarding. Three integrations from HACS add more:

  • Energy Node Companion: the dashboard in the Home Assistant sidebar, with history filled in from the recorder.
  • Battery SoC: the node's battery state of charge, running directly in Home Assistant.
  • Energy Node Icons: the dashboard's device icons for Home Assistant's icon pickers.

Platforms

The Raspberry Pi 1 (ARMv6, single core, 512 MB RAM) is the floor every design decision is measured against. The dashboard is a single Go binary without a runtime or database, charts are drawn in your browser and nothing loads from a CDN, so the node also works without internet.

Node hardware Package
Raspberry Pi 1, Zero, Zero W, 2 (32-bit Raspberry Pi OS) armv6
Raspberry Pi Zero 2 W, 3, 4, 5 (64-bit Raspberry Pi OS) arm64
x86 64-bit mini PCs and thin clients (Debian 13) amd64

The installer runs on Windows, macOS and Linux. Tested models and the right image for each are listed under operating system, measured CPU and RAM per service under resources on a Pi 1.

Documentation

Everything else is on the documentation site: how the parts fit together, the configuration and API reference and troubleshooting.

Status

Energy Node is in beta. It runs every day on a real site, but there is no 1.0 yet, so settings and screens can still change between versions. The release notes say when they do.

The dashboard speaks German and English. The documentation is in English.

Energy Node started at a single workshop with its own solar array and battery bank. The goal is a tool that runs in any building with solar, a battery or switchable loads, without touching the code.

Contributing

Bug reports, fixes and new device families are welcome. Start with CONTRIBUTING.md.

License

MIT, see LICENSE.

About

Local energy monitoring and automation for a remote solar and battery site. Devices join through small services, e.g. Shelly, Tuya or APsystems, polled without a cloud. Rules and a web dashboard run on a Raspberry Pi (down to the Pi 1) or a small x86 box. Made for Home Assistant via MQTT over Tailscale, also runs standalone.

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages