Live Tariff Β· No Scripts

Shelly Electricity Tariff API

Live electricity prices on every Shelly device via Shelly Cloud's Electricity Tariff API β€” no Python scripts, no Home Assistant, no LAN proxy. Paste one URL into Elewatt and the all-in price refreshes every 15 minutes, automatically.

Reedik Lindau
Reedik Lindau

Β·

The easiest way to power your Shelly Electricity Tariff

Other guides ask you to deploy a script, run a server, or babysit a Home Assistant add-on. Elewatt drives Shelly Cloud's official Electricity Tariff API for you: copy the API URL from Shelly Cloud β†’ Energy β†’ Electricity Tariff, paste it into Elewatt, pick the contract you want pricing from, and your Live tariff updates natively on the device β€” every 15 minutes, in your home currency, including grid fees and VAT. No code. No maintenance. No API key from you.

Free to use

no API key needed, and it never counts toward your device limit

Find compatible Shelly devices

Why Elewatt's Electricity Tariff integration

No scripts or Home Assistant
Live tariff every 15 min
All-in price (grid fees + VAT)
Monitor consumption costs
Native Shelly Cloud Electricity Tariff
Free, no API key needed

How it compares

Three ways to put live electricity prices on a Shelly device β€” and why most users pick Elewatt.

Live Tariff Β· No Scripts

Elewatt Γ— Shelly Electricity Tariff

  • Paste one API URL β€” done
  • All-in price (spot + grid + VAT + margin)
  • EE, FI, LV, LT, DK, SE, NO, DE
  • Auto-updates every 15 min
DIY scripts

DIY scripts & tutorials

  • Deploy a script you maintain yourself
  • Spot price only (no grid/VAT)
  • Country support depends on the script
  • You own the cron and the bugs
Home Assistant

Home Assistant + custom YAML

  • Run a full HA instance 24/7
  • Configure spot-price + tariff sensors
  • Wire automations per device
  • Update breaks every HA major release

How to set it up

From a Shelly Cloud account to live electricity prices on your device in 5 simple steps. Takes about 5 minutes.

1

Create a free Elewatt account

Sign up at elewatt.eu β€” no credit card, no subscription. Confirm your email and you're in.

Create Free Account
2

Add your electricity contract

In Elewatt, go to Contracts and add your tariff: country and price area, grid fee, day/night tariff if relevant, and VAT. This is what we use to calculate the all-in price your Shelly device will show. Stock-price contract? We add the supplier margin too.

Add contract details
3

Get your Shelly Electricity Tariff API URL

In Shelly Cloud (cloud.shelly.com), open Energy β†’ Electricity Tariff, switch the tariff to Live, and copy the API URL at the bottom of the panel. It looks like https://shelly-XX-eu.shelly.cloud/v2/users/.../… β€” this is the only thing Elewatt needs to push prices to your account. No API key, no OAuth.

Open Shelly Cloud
4

Paste the API URL into Elewatt β†’ Connections

In Elewatt, open Connections β†’ Shelly Price API β€” it is its own card, and it is free. Paste the API URL into "Price update URL", pick which contract's pricing should be sent under "Contract", and click Save. Then hit "Push price now" to send the current price straight away, which is the quickest way to confirm it works.

Set up the Price API
5

Verify the live price on your Shelly device

Open the Shelly Smart Control app or your Shelly Cloud dashboard and head back to Energy β†’ Electricity Tariff. Within 15 minutes you should see the Live tariff update with the latest all-in price. From there, build any logic you want on the Shelly side β€” turn the relay on under a price threshold, run a script that triggers on cheap hours, or just display it. Elewatt keeps the tariff fresh every 15 minutes, automatically.

Open Shelly Cloud

Ready to put a Live tariff on your Shelly?

Create a free Elewatt account, paste your Shelly Electricity Tariff API URL, and live electricity prices flow to your device in under 5 minutes.

AI-assisted, human-reviewed β€” an editor checks every article before publication. Read our editorial policy

Frequently Asked Questions

Other guides

All guides