Family in front of a modern home with solar panels, wallbox and heat pump (AI-generated image) AI

Hours · PV · Windows Flex · 168h · Austria

EMS APIs for hour demand, PV and spot prices — 7 days ahead

Hours Demand computes cheap grid hours from SOC, load and PV. PV Forecast and the 168h AI forecast feed Windows Flex and Loxone — specs in the wiki. Community Fair Use — higher quotas on request.

Reliable signals for flexibility and load shifting — proven, not promised

48 h day-ahead vs. 7-day forecast

More than tomorrow's price

With a dynamic electricity tariff, today and tomorrow are often not enough — for wallbox, battery and heat pump you need a forecast for the whole week.

  • Dynamic tariff: today and tomorrow are often not enough
  • Wallbox, battery and heat pump need a week-ahead outlook
  • SpotpriceAPI: 7 days / 168 hours instead of ~48 h only
Timeline: day-ahead covers only about 48 hours (today and tomorrow), then no prices — SpotpriceAPI delivers seven days ahead.
Tomorrow only · exchange price ~48 h SpotpriceAPI · 7 days / 168 h

Hours · EMS hour demand

How many cheap hours does the battery need?

Hours uses battery state, household load and the solar outlook to tell your EMS how many grid hours to charge — and at what clock times.

  • Battery almost empty and sun only tomorrow? Then a few cheap night hours cover the gap.
  • You get a number plus timestamps — not just “charge now”.
  • For Loxone spot optimizers, Home Assistant and other EMS.
Example: three cheap grid hours until PV carries tomorrow. Not live data.

PV Forecast · 7-day yield

How much power from your roof — seven days ahead?

PV Forecast estimates your plant’s yield in kWh, day by day. Hours then knows when the sun covers the house.

  • Site, kWp, tilt and azimuth from the portal profile
  • Daily kWh from today through six days ahead
  • So storage and wallbox do not charge blindly
Sample week: low yield on a rainy day, high on clear days. Not live data.

Spot prices · Live · 7 days

What does a kilowatt-hour cost — today through next week?

Live spot prices and a 168h AI electricity-price forecast for Austria — plus cheap windows including Windows Flex.

  • Today is the real exchange price; tomorrow is Day-Ahead after the auction, a forecast before that
  • 168 hours of AI forecast instead of ~48 h day-ahead only
  • Continue to Windows Flex for wallbox and relay windows
Sample week in the teaser; live data on the subpage.

Community · plans on request

Start Community — higher quotas on request

Community is free under Fair Use. Professional and OEM are currently on request — no self-serve checkout.

  • Community: full 7-day horizon, Decision, 1 key, 200 requests/day — free
  • Professional: commercial, multi-key, higher quotas — on request
  • OEM: white-label, volume, contract — on request
Community free · paid plans via Contact

Model & evidence — transparency instead of fair-weather metrics

We separate pre-auction ML, day-ahead clearing and actuals — and report bias with sign. Assess risk honestly and control EMS with guardrails, not marketing curves.

A · Transparency — D−1 ML ≠ D−1 DA

Pre-auction forecast (D−1 ML) measures true predictive skill before the auction. D−1 DA verifies post-clearing ingest — typically near 0 ct/kWh MAE when ingest is correct.

B · Guardrails — enterprise-grade inference

Multi-stage plausibility (incl. D−1/D−2) protects against bad incentives — without blanket-blocking genuine negative-price signals on summer weekends.

C · Improvement — auditable evolution

Raw archives and replays show how retraining and promotion gates sharpen quality.

No blanket savings guarantees. Metrics and archives exist for traceability.

Consumer app · EMS & PV

Free

When to switch on? Sparvo tells you.

A direct complement to EMS and standard PV apps: planning for device schedules and EMS integration — free.

  • Device plan and switch-on times with short reasons
  • 7-day spot prices and 168h AI forecast
  • Hourly PV yield ahead — complements your PV app
  • EMS integration and household planning

Free · guest at app.sparvo.at/try · Powered by SpotpriceAPI · specs in the wiki

Screenshot of the Sparvo app: When to switch on? With plans, prices, savings, plant and devices.
app.sparvo.at

Get started in three steps

From registration to connecting your smart home — with ready-made samples in the portal.

Register

Free Community account — forecast, Decision API and portal under Fair Use (1 key, 200 requests/day).

Get your API key

After email confirmation you receive your key in the dashboard.

Connect your system

Loxone, Home Assistant, Python or ioBroker — ready-made samples including Decision Windows (grid charging) in the portal.

API wiki & integrations

The public wiki documents Hours, PV Forecast, Windows Flex, the 168h AI price forecast and Loxone guides — specs, OpenAPI and quick start.

Frequently asked questions

What is the difference between tomorrow’s exchange price and the 7-day AI forecast?

Tomorrow’s day-ahead exchange price usually covers today and tomorrow — about 48 hours. SpotpriceAPI adds an hourly 168h AI electricity-price forecast for the full week. That helps you spot cheap charge windows earlier for EV, battery and heat pump. Details in the wiki and under cost comparison.

Does SpotpriceAPI work with Loxone and EMS?

Yes. Under Code samples and in the wiki (including the Loxone overview) you will find guides for Loxone PicoC, Home Assistant, Python and REST — including Hours and Windows Flex.

Do I need a dynamic electricity tariff?

For real cost savings, yes — the API delivers spot price forecasts. With a fixed tariff you can still use the signals for load shifting and self-consumption.

Is the API only for Austria?

The focus is Austria (EPEX Spot AT). More countries are planned long term.

What does SpotpriceAPI cost?

Community is free under Fair Use (full 7-day horizon + Decision, 1 key, 200 requests/day) — register with no credit card. Professional and OEM / Enterprise are currently on request via Contact.

Which API when — Hours, PV, Windows Flex or Forecast?

Hours computes EMS hour demand (/hours, spec Docs). PV Forecast delivers 7-day yield (/pv-forecast). Windows Flex finds cheap windows including Flex slots (/beste-stunden, spec Windows · Flex guide Loxone Flex, login for PicoC detail). The 168h AI price forecast is the data basis (/live-strompreise). Hourly control signals stay under /schaltsignale. Everything is in the wiki.

When Sparvo, when SpotpriceAPI?

Sparvo is the free consumer app — a direct complement to EMS and standard PV apps with device schedules and EMS integration (sparvo.at, app app.sparvo.at, guest /try). SpotpriceAPI is the developer/integrator API and wiki for Hours, PV, Windows Flex and the 168h forecast. Both share the same forecast pipeline.

Get started

Community for lab and smart home. Higher quotas and OEM on request via Contact.