I’m new to Home Assistant in ESPHome, having installed both only a couple of days ago. So I do not really know my way around both project and their communities, yet. Hence, I’m not 100% sure which category or tags to choose for this topic.
I bought a house that came with an electric floor heating mat in the bathroom. The control unit is a Halmburger FHK-50-Plus. It consists of a temperature controller with a NTC floor sensor, a LCD display. The controller allows to program switch times and temperatures. This is the installation manual and datasheet (German only, I’m afraid).
After installing a photovoltaics system to the House I find the time-based controller logic of the floor heater to be too inflexible on its own and would like to amend the trigger with the information about the PV power surplus: The heater shall run if there is more power available as there is currently used in the house. I have my PV inverter and smartmeter integrated with Home Assistant already so all the information regarding available power surplus is already there.
Now I am looking for a (ESP or PicoW-based) solution to replace the FHK-50, that would allow me
to read out the current temperatur from the NTC temperature sensor
set the target temperature
read out the current state of the relay
have enough logic in the controller to switch power to the heating mat based on a comparison between desired temperature and target temperature
reusing the existing 230V wiring to the controller (L/N/PE)
Replacing the NTC with some other means of temperature measurement is out of the question as the sensor is cast in the bathroom floor beneath the tiles (and measuring air temperature instead has too much delay). Luckily, the NTC resistance at various temperatures is given in the datasheet (see image above), so I guess I could calibrate an ESPHome ntc sensor with that.
With Home Assistant I could then increase/decrease the target temperature based on PV power and/or daytime.
My questions are:
Are you awarre of any commercial products on the market that could serve as a replacement for the existing controllers? Does not necessarily need to be ESPHome-based as long as it can be integrated with Home Assistant. Ideally such product would be flush-mounted (“Unterputzdose”), but that’s not a hard requirement. I wasn’t able to find anything on devices.esphome.io, but I may have missed something? For example, I’d happily use a Shelly/Sonoff/Tasmota device if it could read the 2.5kOhm NTC.
Would I be to string something up with ESPHome NTC Sensor and switch output components as well as an optocoupler relay, wouldn’t I? Is ESPHome powerful enough to implement something like that? (I might be able to construct and 3D-print housing that could integrate with the existing flush-mounting socket, I guess). I would probably need some sort of 230V-based power supply for a NodeMCU or something…
regarding 2.: Yes, ESP8266 230V I/O Modul – LUANI, supports reading NTCs at the ADC Pin. Trying to solve the same problem with an old AEG underfloor heating with an Eberle thermostat and playing around right now with the module running ESPHome. So far I have been able to read NTC, switch the O1 relay (150W max), and configure the module as a generic_thermostat in HASS.
On second thought it seems that the Luani module is not applicable for my use case because the heater draws a power higher than the 150W supplied by the O1/O2 pins.
Over the weekend I built a prototype solution, which works quite well. As far as I understand, the voltage divider resistor should have a similar resistance as the NTC at 25 degrees, so I went with 2kOhm here (two 1kOhm resistors in series, actually).
Next steps are to include a display and some manual controls. For a high WAF, I’m looking at M5Stack CoreInk or M5Stack Core 2 which will be mounted in front of the existing flush-mount box.
Well, starting from the breadboard and a USB power supply, I got myself familiar with KiCAD to a certain degree and strung up a schematic and PCB layout for a combination of
5V power supply,
relay,
NTC voltage divider circuit
that I can actually put in the concealed mounting box with a 3D printed housing, with a M5Stack CoreInk as high-WAF userinterface.
I laid out the voltage divider resistore (R1) as a through-hole component so I can easily adapt to the various NTC thermistors that are embedded in my house (I have at least one 2K and one 15K NTC in the cast plaster floors of two different rooms.
Currently I have a hand-soldered protoyping board mounted to the wall, powered by a small RECOM 5V power supply behind it: