Skip to content

martinkangur/shelly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Add Nordpool price 💶 switching to your shelly device

This code works if you live in Estonia 🇪🇪, Lithuania 🇱🇻, Latvia 🇱🇹 or Finland 🇫🇮. Just change the country code in the API endpoint.

Script setup

Make sure your Shelly device is connected to the Internet and accessible from LAN.

  • Login to the cloud ☁️
  • Find device
  • Click settings
  • Device information
  • Device IP This should open in a new browser window with local access to Shelly's device.

Installing Script

  • Click on Scripts button
  • Open Libary modular
  • Push Configure URL button
  • Paste URL https://raw.githubusercontent.com/martinkangur/shelly/main/SHELLY_MJS.md
  • Click on desired script

Configure API endpoint

Find api_endpoint and change #COUNTRY_CODE# 🌍 to ee, lv, lt or fi

api_endpoint: "https://dashboard.elering.ee/api/nps/price/#COUNTRY_CODE#/current"

Set your price point 👈

Find configuration value price_limit will be set when your device turns on or off. Prices don’t include VAT and are measured in EUR/MWh

Example

price_limit: 200 Will set toggling threshold for the device to 200 EUR/MWh

Setting relay to switch.

Most shelly devices have only one output(relay). If you want to change the output channel find switchId and set it to the desired output.

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published