wallmonitor
A local-only companion for the Tesla Wall Connector Gen 3 that grew well beyond reading data off the charger: it records everything the device reports, turns that history into a thermal model fitted to your install, forecasts derates before they happen (with the charge-current cap that avoids them), watches for connector degradation with honest statistics, and pushes actionable warnings to your browser or phone.
Everything stays on your machine and your LAN: the only network traffic is HTTP GETs to the charger's local API, storage is a local SQLite file, and the web UI serves no external assets (no CDNs, fonts, or analytics).
Try it in 30 seconds
No hardware needed — demo mode runs a built-in charger simulator:
uvx wallmonitor --demo
Then open http://127.0.0.1:8480.
Against your real Wall Connector — let the tool find it on your LAN (a
polite sweep of your own subnet; nothing leaves the network), then run with
the address it prints (add --split-phase on a North American install):
uvx wallmonitor --discover
uvx wallmonitor --host 192.168.1.50 --split-phase
On first contact the monitor pins the charger's serial number: if a different unit ever answers at that address, it alarms and pauses recording rather than blending two chargers' histories.
More than one Wall Connector? Run one instance per charger — --label names
each in the header and notifications, --peer links them so the header hops
between dashboards, and the service installer's --name does it all per
charger in one command. See More than one Wall Connector.
All history lands in a single wallmonitor.db SQLite file — back up that
one file and you have everything (wallmonitor --backup DIR writes a
verified, compressed snapshot wherever you point it, while running). For every option, and for running it as a
systemd service on an always-on box, see Running wallmonitor.
At a glance
- Zero-config setup —
--discoverfinds the charger on your LAN; the serial is pinned on first contact so a swapped or second unit can never blend into your history - Full-fidelity recording — every response stored with its complete raw JSON (optional retention trims old raw blobs so the database stays near-flat)
- Live dashboard (SSE) with rolling charts, an active-alert banner, and a live derate-forecast chart: measured handle temperature against the model's projected plateau and the trip threshold, projection drawn forward so the predicted trip intercept is visible on the chart
- Session review: energy, peak/average power, per-phase telemetry, drillable charts, and forecast hindsight — what the model predicted at each tick against what the handle actually did
- Event timeline with range presets, category filters, and paging
- Alert decoding and EVSE-state labels, each marked verified vs community-reported
- Wi-Fi health history and connectivity events
- Thermal derate forecast — a per-install fitted model predicts alert 40 live and suggests the highest current that avoids the 50% foldback
- Automatic derate prevention — an optional daemon caps the vehicle's charge current through a least-privilege BLE pairing when the forecast firms up, and restores it once the risk clears
- Degradation watch — ambient-corrected heat-rise trend with confidence intervals and a verified-baseline anchor, so "getting worse" is a statistical claim, not a vibe
- Actionable notifications, local-only — browser push and LAN webhook/self-hosted ntfy for phones, with a systemd + Docker deploy recipe
- Resilience: seamless restarts, downtime recorded as explicit gap events, sensor-glitch quarantine
- Several chargers: one labeled instance each, linked by a header switcher; per-install thermal models stay separate by construction
Works out of the box — everything else is additive
The core needs nothing but the charger. Integrations are optional, degrade
gracefully when absent, and the absence paths are covered by the test suite:
without an ambient sensor the charger doubles as its own thermometer, with
no webhook configured notifications are a tested no-op, and TeslaMate /
ntfy / ESP32-BLE each plug into a generic interface (POST /api/ambient, a
plain LAN webhook, a REST call) rather than being wired into the core.
Documentation
| Page | What's in it |
|---|---|
| Running wallmonitor | Every option, finding your charger, device identity, multiple chargers, systemd service install |
| What gets recorded | Recording fidelity, sessions, events, alert/EVSE label verification, resilience |
| Thermal model | The derate forecast and the degradation watch, in full detail |
| Amp control | Automatic derate prevention over BLE: design, guards, backtesting |
| Ambient sensing | Garage sensors (Ecowitt or any JSON poster), placement, contamination checks, the TeslaMate car bridge |
| Notifications | Browser push and self-hosted ntfy phone alerts |
| Measured charging efficiency | What three cross-referenced meters say about wall-to-battery efficiency |
Tests
uv run pytest
The suite runs the full pipeline against the simulator — polling, session detection, alert lifecycle, the web API, and the thermal model end to end.
License
MIT. Built on the
tesla-wall-connector
library (MIT, by Einar Bragi Hauksson).
wallmonitor is an independent project, not affiliated with, endorsed by, or sponsored by Tesla, Inc. "Tesla" and "Tesla Wall Connector" are trademarks of Tesla, Inc., used here only to identify the hardware this software monitors.
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 wallmonitor-0.5.0.tar.gz.
File metadata
- Download URL: wallmonitor-0.5.0.tar.gz
- Upload date:
- Size: 104.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22f3cc08d4a60a5dae5c7ffadb7fcb8d19fe4df5550a0b22be95db7ff91c193f
|
|
| MD5 |
2ff54e0a5f5d80db565540ff04368af3
|
|
| BLAKE2b-256 |
43f40d1697f396de459a34c263965cdb5952dc9231fb6fa50741b958ad3f97fb
|
Provenance
The following attestation bundles were made for wallmonitor-0.5.0.tar.gz:
Publisher:
publish.yml on zebraengine/wallmonitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wallmonitor-0.5.0.tar.gz -
Subject digest:
22f3cc08d4a60a5dae5c7ffadb7fcb8d19fe4df5550a0b22be95db7ff91c193f - Sigstore transparency entry: 2620364732
- Sigstore integration time:
-
Permalink:
zebraengine/wallmonitor@550fcd6acffd0b31334f254e22d6f94ca66b357a -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/zebraengine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@550fcd6acffd0b31334f254e22d6f94ca66b357a -
Trigger Event:
push
-
Statement type:
File details
Details for the file wallmonitor-0.5.0-py3-none-any.whl.
File metadata
- Download URL: wallmonitor-0.5.0-py3-none-any.whl
- Upload date:
- Size: 111.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2488139416e49cae517083d28d8aac1ef38d1df7f889b05417ec066c5131a4
|
|
| MD5 |
5698200ae0aeea18f7780d20dc59c6a0
|
|
| BLAKE2b-256 |
a43c22960db336fb7d1e649165a23ee99def371b4883982131ce1922d9476215
|
Provenance
The following attestation bundles were made for wallmonitor-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on zebraengine/wallmonitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wallmonitor-0.5.0-py3-none-any.whl -
Subject digest:
ce2488139416e49cae517083d28d8aac1ef38d1df7f889b05417ec066c5131a4 - Sigstore transparency entry: 2620364752
- Sigstore integration time:
-
Permalink:
zebraengine/wallmonitor@550fcd6acffd0b31334f254e22d6f94ca66b357a -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/zebraengine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@550fcd6acffd0b31334f254e22d6f94ca66b357a -
Trigger Event:
push
-
Statement type: