Spot-hinta.fi Shelly Plus scripts automate relays according to the electricity spot-prices, which are read from the api.spot-hinta.fi. Scripts works in Finland, Sweden, Norway, Denmark, Estonia, Latvia and Lithuania. See API Swagger documentation for details: https://api.spot-hinta.fi/swagger/ui
Study scripts and read comments to select which script suits the best for your needs.
- Open web browser and go to Shelly Web Admin aka device's web user interface.
- Update Shelly firmware to the latest version: Settings > Firmware > Update.
- Go to Scripts > Library > Configure URL and insert library URL: http://api.spot-hinta.fi/Shelly/scripts
- Choose the script you like and press "Insert code".
- Adjust script settings according to your needs. Scripts have comments in English.
- Test script: Change the settings and verify that the relay is does the expected thing.
- Use SmartMonitoring script to monitor script execution. Test Monitoring script by manually stopping monitored script(s) - monitoring script should restart the script shortly.
Enjoy automatic control of your relays when the electricity price is cheap (or maybe not cheap, but at least not the most expensive)
For Finland, designed especially for water boiler heating during night and afternoon hours if you have small boiler or use lots of water.
Designed especially for water boiler heating in Finland, this script takes into account the day-night price difference for energy transfer.
For Finland, to use simple pre-defined rules, see https://spot-hinta.fi/pikakoodit/
Excellent choice for many cases, for example for water boiler and floor heating. Very versatile.
Can control heating based on outdoor temperature and much more.
Can control two relays according to the fixed price, average price and cheapest price
Monitors internet connection and script execution. Stores relay status change history to spot-hinta.fi cloud.
Only for Shelly Plus Plug S as those it has the RGB led. Makes the led green/yellow/red depending on electricity price.