← Back to the Workshop

WattWarden.rami.party

Your P1 smart meter, read out live on your own network. Nothing leaves the house: history lives in this browser.

not connected

No meter connected yet

  1. Enable Local API for the meter in the HomeWizard Energy app (Settings → Meters → your meter).
  2. Open ⚙ Settings and fill in the meter's IP address. The page first tries to reach the meter straight from the browser: on a tablet, allow the "local network" permission if it asks. Nothing to install.
  3. Only if your browser refuses the direct route, run the little relay on a computer instead:
    pip install websockets
    python p1-bridge.py
    Download p1-bridge.py

No meter at hand? Turn on Demo mode in ⚙ Settings and the dashboard runs on a pretend household so you can kick the tires.

Right now

···W

waiting for the first reading

Today

Imported
··· kWh
Exported
··· kWh
Gas
···
Net from grid
··· kWh

Counted since midnight, from the meter's own counters.

Costs

···

This month
···
Month at this pace
···

today, energy + gas + standing charge

Today's shape

Peak
···
Quietest
···
Average
···
Base load ≈
···

the quiet minimum costs ··· a year

Compare

Today so far
···
Yesterday
···
Daily avg (7 d)
···
This month
···
Last month
···

Power flow

⚡ grid 🏠 home

waiting for a reading

Last 60 minutes power · dips under the dashed line = export

Last 24 hours kWh per hour · import ▲ export ▼

History import ▲ export ▼

Gas

···

meter total · last update ···

Meter counters

Import T1 (low)
··· kWh
Import T2 (high)
··· kWh
Export T1
··· kWh
Export T2
··· kWh

Per phase

Voltage & current

Monthly peak

···W

quarter-hour average demand this month (Belgian capaciteitstarief) · ···

Water

···

from the water meter linked to the P1 dongle

Footprint

CO₂ today
···
CO₂ this month
···

from your electricity and gas, factors adjustable in settings

Connection & grid

Source
···
Last reading
···
Wi-Fi
···
Power failures
···
Voltage sags / swells
···
Smart meter
···

How it works

  1. A P1 meter dongle (like the HomeWizard P1 Meter) plugs into your smart meter and exposes the readings as JSON on your Wi-Fi: http://<meter-ip>/api/v1/data. Enable "Local API" in its app once.
  2. The page first fetches the meter directly from the browser, asking for the local-network permission where browsers support it. If yours blocks secure pages from talking to plain-HTTP LAN devices, a tiny relay, p1-bridge.py, does the same fetch from ws://127.0.0.1:7101 instead. The page picks whichever works and tells you which one it used.
  3. Every reading updates the tiles; counter snapshots are kept in localStorage (hourly for 14 days, daily for 400 days) to draw the long-term graphs, costs and comparisons. Nothing is uploaded anywhere.

Works with the HomeWizard P1 Meter's v1 API and anything that mimics it. Tiles for data your meter does not report (gas, phases, water…) simply stay empty: hide them in the settings. The full feature wish-list lives in todo-features.md.