Automation scripts for Shelly devices powered by electricity spot data provided by elpris.eu:
The stable release of the automation scripts can be found on GitHub,
including a detailed changelog and installation guide.
The primary supported platform is Shelly Gen 2.
The script is compatible with Gen 2 Shelly devices:
Pro3, Plus1, Plus1 PM and Plug S
Shelly Gen 3 and Gen 4 devices are supported, provided that Matter is disabled.
NOTE:
shelly-local-price-hub-se is an alternative for users who prefer to keep price distribution inside their own local network instead of relying on an external proxy service.
The solution uses two dedicated Shelly devices:
- a Parser, which retrieves and processes Swedish spot prices from
elprisetjustnu.se,
and
- a Spot Server, which stores the data and makes it
available through a local HTTP API. Your Shelly controller can then
retrieve prices directly from this local server.
This removes the need for an external proxy, Raspberry Pi, NAS or cloud server for price distribution. An internet connection is still required for the Parser to retrieve updated prices from the original data source. After retrieval, the cached data is served locally, without a cloud dependency.
The project supports Swedish price zones SE1–SE4 and is compatible with shelly-elpris-se 3.2+. Existing installations can switch between the public proxy and the local Spot Server by changing one configuration variable.