Home energy management · Research pilot

Run appliances when electricity is cheapest.

HEMS reads every smart plug once a second, follows India’s day-ahead power prices, and schedules flexible appliances like washers and water heaters into the cheapest hours. Then it switches them on and off for you.

1 s
plug readings
96
price blocks a day
₹2–10
price range, 6 Oct 2026
Moving three loads out of the peakIEX day-ahead prices · 6 Oct 2026
Electricity price over one day, with appliances shifted to cheaper hoursIEX day-ahead prices for 6 Oct 2026 range from Rs 2.00 to Rs 10.00 per kWh. A water heater, washing machine and dishwasher move from morning and evening peaks into the midday low.₹0₹5₹10Peak ₹10/kWhMidday ₹2/kWh00:0006:0012:0018:0024:00Water heater · 2 kWWashing machine · 0.5 kWDishwasher · 1.2 kW
At usual times ₹43.00 → shifted ₹9.27 a day−78% for these loads

Why it matters

Electricity prices change every 15 minutes. Homes don’t.

1 number

Bills arrive once a month

A monthly total says nothing about which appliance used the energy, or when.

₹2 → ₹10

Prices swing within a day

On the Indian Energy Exchange, power on 6 Oct 2026 cost ₹2.00/kWh at midday and ₹10.00 in the evening.

0 reminders

Nobody reschedules by hand

Cheaper hours only help if appliances actually run in them. That has to happen automatically.

How it works

From the plug to the schedule and back.

  1. Smart plugs

    Tapo P110/P115 plugs measure power, voltage and current every second.

  2. Home bridge

    A Raspberry Pi in each home collects readings, keeps them through internet outages, and relays commands.

  3. Backend

    Readings arrive over MQTT and HTTPS and are stored in PostgreSQL and InfluxDB.

  4. Optimiser

    A mixed-integer model (Pyomo + CBC) places flexible appliances against IEX day-ahead prices, balancing cost against delay.

  5. Control

    At the scheduled time the plug switches on, and off again when the task is done.

Features

What the system does today.

Live monitoring

Power, voltage and current for every plug, updated each second.

Price-aware scheduling

Day-ahead (DAM) prices for planning; the real-time (RTM) price for the current rate.

Automatic switching

Schedules run themselves: plugs turn on and off at the planned times.

Works through outages

The home bridge buffers readings and uploads them when the connection returns.

Isolated by design

Every home and bridge has its own credentials; one house cannot see another’s data.

Research-ready data

Full-resolution history, daily archives and CSV export for analysis.

Dashboard

One place for live load, history and schedules.

Residents see what each appliance is drawing, what the day has cost, and when flexible loads will run. Administrators manage homes, bridges and data exports.

HEMS dashboard showing live power per plug and today's consumptionHEMS dashboard showing live power per plug and today's consumption

Screenshot from a test house with simulated plugs.

About

A demand-side management pilot.

Real homes, real plugs and real market prices, built to measure how much household load can move out of peak hours and what that is worth. Developed by Ravelli Kiran Venkat.

Built with

  • Next.js
  • FastAPI
  • PostgreSQL
  • InfluxDB
  • MQTT (Mosquitto)
  • Pyomo + CBC
  • IEX market data
  • Raspberry Pi
  • Tapo P110