Let a Shelly plug or relay follow the spot price: the water heater on the cheapest hours, the heater off at price peaks, with no hub and no programming.
If you have a Shelly Plug, a Shelly Plus 1PM or any other Shelly relay, qtrl.me can switch it on and off by the electricity price. No RF-Hub is needed: the Shelly device talks to Shelly Cloud, qtrl.me fetches the spot price and sends the commands. You build the rule with a few clicks in the browser or in the app.
Typical uses:
- Water heater on a Shelly plug or a Shelly Pro relay: heat during the cheapest hours of the day.
- EV charger or engine heater on a relay: ready by a given time, charged during the cheapest block.
- Heaters, floor heating, pool or spa pump: off during price peaks, back on when the price drops.
- Thermostat with a Shelly temperature sensor and a Shelly relay that lowers the heat when it is expensive.
What you need
- A Shelly device that switches the load and is connected to Shelly Cloud through the Shelly app. Relays, plugs and dimmers work. Devices that run locally only, without the cloud, cannot be controlled this way.
- A qtrl.me account with the Plus plan or higher for the electricity price features. On Free you can build and test run the automation, but it does not run until you upgrade.
- Your price area. It is printed on your electricity bill. qtrl.me has prices for the Swedish areas SE1 to SE4 and for Norway, Denmark, Finland, Germany and the Netherlands.
Step 1: connect your Shelly account
- Go to Devices → Connections and click Connect your Shelly account. You approve at Shelly and come back here. qtrl.me never sees your Shelly password.
- Tick the devices you want to control and click Share selected. Within a minute they are in qtrl.me.
The whole procedure, with screenshots, is in the guide Shelly: connect your Shelly devices.

Step 2: hot water on the four cheapest hours
This is the most common rule and the one that saves the most for most people.
- Go to Automations and click New automation. Choose the mode When the conditions become true.
- Add the condition Cheapest periods. Choose your price area and enter 16 quarters. That is four hours per day, spread out where the price is lowest.
- Under When the conditions become true, do pick the Shelly device in the device picker and the command On.
- Under When the conditions stop being true, do pick the same device and Off.
- Click Test run. You see whether right now is one of the cheap quarters and what would happen.
- Save.
The heater now runs during the cheapest hours of the day and is off in between. If four hours is not enough, raise it to 20 or 24 quarters. Tomorrow's prices arrive in the afternoon, so the rule already knows in the evening what the night will look like.
Step 3: ready by a given time
If the car has to be charged or the water hot by seven o'clock, Cheapest block before is better than scattered quarters. Replace the condition in step 2 with Cheapest block before 07:00 with eight quarters, and you get two consecutive hours, the cheapest before you get up.
Switch off at price peaks
If you only want to avoid the most expensive hours, do the opposite:
- New automation, mode When the conditions become true.
- Condition Price level is expensive. The day's quarters are split into three equal parts, and "expensive" is the most expensive third.
- When the conditions become true: Shelly relay Off. When the conditions stop being true: On.
If you prefer a fixed limit, use the condition Electricity price above, for example, 200 öre per kWh instead of the price level.
A thermostat that lowers the heat when it is expensive
With a Shelly H&T or another temperature sensor in qtrl.me, a thermostat can run the heater on the Shelly relay. In the thermostat editor you pick the sensor and the relay, set the target temperature and, under Electricity price, how many degrees the set point is lowered during the expensive quarters. Frost protection always applies. See the guide Thermostat.
See what it does
- The price page shows the day's prices for your area and which quarters are cheap, normal and expensive.
- Put an electricity price widget and the Shelly device's on/off button on the dashboard to see the state and control it manually.
- If the Shelly device measures power, like the Plug S or Plus 1PM, power and energy are shown in qtrl.me and can be used as conditions in flows and on the dashboard.
Good to know
- Commands go through Shelly Cloud, so the device must be online at Shelly. If it is offline the command does not get through, and the next state change sends a new one.
- The conditions are evaluated every quarter of an hour. If you switch the device on manually, it is affected the next time the automation changes state.
- Prices are spot prices without VAT, tax and grid fees. The variation over the day decides which hours are cheapest, so the fees do not affect the choice.
- One rule can control several devices: just add more actions.
- All conditions and modes are described in the guide Controlling by the electricity price.