Kachel

how do I make a flow heater I have a smart socket and a smart thermostat and an electric heater I want to keep the heater at 20 degrees

Thats quite a generic question Dirk. The function is of course:

  • if the smart thermostat says the temperature is below 20 degrees the smart socket should be ‘On
  • If the smart thermostat says the temperature is above 20 degrees the smart socket should be ‘Off
    You may consider to add a bit of hysteresis around the wanted temperature.

But…I get the feeling that your question is different than just asking for the above functionality

This is how I control my electric heater:
I have a temp sensor&controller of honeywell evohome called “zolder”. This contoller can set a desired temp and measure the temperature.
If you only have a meaurement sensor you can make a virtual device to sontrol the temp
And a switch called “heater”

Measured temp is changed then On
image
Measured temp is changed then Off
image

The temp set on the controller is changed
image