You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 510ad08
Browse filesBrowse the repository at this point in the historyBrowse files
17.7.0 — one-command Docker install, arm64 image, three update paths
- deploy/install.sh + docker-compose.yml + .env.example: one command, image
plus a Watchtower that watches only the analyzer; SEA_DIR, SEA_PORT,
SEA_HOST_NETWORK (mDNS discovery), TS_AUTHKEY (.env, 0600)
- image built natively for amd64 and arm64, published as one manifest;
the build checks that the mark carries both
- SEA_CONTAINER=1 in the image: update_channel() = addon | docker | app;
in Docker the in-app updater, checker and auto-heal stay off, endpoints
answer channel=docker without contacting GitHub, install -> 409,
Settings shows the command. Add-on wins; ZIP installs unchanged.
- texts in all nine languages (add-on text was missing in six)
- tests/test_update_channel.py pins all three paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@@ -82,7 +82,7 @@ Commercial energy dashboards lock you into subscriptions, truncate history after
82
82
- 🌐 **Full REST API v1** + **InfluxDB line-protocol push** + **Prometheus `/metrics`** for your own stack
83
83
- 🔒 **100 % self-hosted** — your energy data never leaves your LAN
84
84
- 🆓 **Zero subscription** — no cloud, no accounts, no analytics
85
-
- ⬆ **Self-updating** — background thread polls GitHub every hour for new releases; the Live tab shows a one-click banner to install or roll back to any of the last 10 versions, entirely from the browser
85
+
- ⬆ **Self-updating** — background thread polls GitHub every hour for new releases; the Live tab shows a one-click banner to install or roll back to any of the last 10 versions, entirely from the browser. The Docker image and the Home Assistant add-on update through their own channel instead — see [Updates](#updates)
86
86
87
87
### Who it's for
88
88
@@ -97,6 +97,31 @@ Commercial energy dashboards lock you into subscriptions, truncate history after
97
97
98
98
## ⚡ Quickstart
99
99
100
+
### 🐳 Docker — one command (recommended)
101
+
102
+
```bash
103
+
curl -fsSL https://raw.githubusercontent.com/robeertm/shelly-energy-analyzer/main/deploy/install.sh | sh
104
+
```
105
+
106
+
That writes a `docker-compose.yml` into `./shelly-energy-analyzer`, pulls the
107
+
image (amd64 and arm64 — a NAS, a Raspberry Pi, a Mac) and starts it, together
108
+
with a Watchtower that installs new versions every night. Open
109
+
`http://<this machine>:8765` and follow the setup wizard. Everything the app
110
+
keeps lives in `./shelly-energy-analyzer/data`.
111
+
112
+
| Option (in front of `sh`) | Effect |
113
+
|---|---|
114
+
|`SEA_DIR=/volume1/docker/shelly`| install somewhere else (e.g. on a Synology) |
115
+
|`SEA_PORT=8080`| another port for the dashboard |
116
+
|`SEA_HOST_NETWORK=1`| host network — mDNS discovery of Shellys works (Linux). On the default bridge network, add Shellys by IP address |
117
+
|`TS_AUTHKEY=tskey-auth-…`| also reach it over Tailscale (HTTPS); stored in `.env`, readable only by you |
118
+
119
+
Running it again is safe — an existing `docker-compose.yml` is kept. Prefer
120
+
doing it by hand? `docker-compose.yml` and `.env.example` are in the
Open <https://localhost:8765> and follow the 12-step setup wizard — pick demo mode for a zero-hardware tour, or connect real Shellys via mDNS, set your tariff, and you're live. Every optional step is skippable.
139
+
Open <https://localhost:8765>(Docker: `http://…:8765`) and follow the 12-step setup wizard — pick demo mode for a zero-hardware tour, or connect real Shellys via mDNS, set your tariff, and you're live. Every optional step is skippable.
115
140
116
141
> **No Shellys yet?** Enable **Demo Mode** in Settings → Advanced to explore the full UI with realistic generated data. Great for seeing what the tool can do before buying hardware.
117
142
@@ -647,6 +672,9 @@ Browser-based 12-step wizard at `/setup` (auto-redirected on first launch when n
647
672
648
673
## Quick Start (End Users)
649
674
675
+
### Docker
676
+
See [Quickstart](#-quickstart) — one command, any machine with Docker.
677
+
650
678
### macOS
651
679
```
652
680
Double-click start.command
@@ -723,7 +751,18 @@ python -m shelly_analyzer
723
751
724
752
---
725
753
726
-
## Updates (GitHub Releases)
754
+
## Updates
755
+
756
+
How a new version arrives depends on how you installed it — each install keeps
757
+
its own path:
758
+
759
+
| Install | Updates |
760
+
|---|---|
761
+
|**Docker** (`deploy/install.sh`, `docker-compose.yml`) | a new image. The bundled Watchtower installs it every night at 04:00; by hand: `docker compose pull && docker compose up -d`. The in-app updater is switched off inside the container — a file swap there would be gone with the next restart. |
762
+
|**Home Assistant add-on**| the add-on is rebuilt from the add-on store. The in-app updater is switched off there as well. |
0 commit comments