Spot-hinta.fi Shelly scripts automate relays according to the electricity spot-prices, which are read from the api.spot-hinta.fi. Scripts work in Finland, Sweden, Norway, Denmark, Estonia, Latvia and Lithuania. See API Swagger documentation for details: https://api.spot-hinta.fi/swagger/ui
Purpose is to install needed scripts into Shelly and then configure for each relay an appropriate controlling mechanism.
- Open Shelly internal UI with a web-browser.
- Upload all three scripts simply with Shelly Library functionality, use this library URL: http://api.spot-hinta.fi/Shelly/library
- Configure scripts according to your needs, scripts have many comments in English.
- Use Monitoring script to secure script execution. Test that Monitoring script works by manually stopping monitored scripts.
- Test scripts by changing the parameters to see that relay is doing expected job.
Enjoy automatic control of your relays when electricity price is cheap (or.. maybe not cheap, but not the most expensive either)
- "Minimal water heating" - this script is, as the name indicates, minimal script targeted to a water heating with a single relay Shelly.
- "Rank and Price limit" - this script can control up to four relays (2 + 2) according to the fixed price and "rank"
- "Outdoor temperature adjusted heating" - this script can control up to 3 relays according to the adjusted "rank" based on weather forecast
- "Monitoring" - this script keeps other scripts running and optionally restarts Shelly, if Internet connection is lost