ziom10zset wrote: So in the case of using, for example, Zamel Supel, the signal from the transformer would have to go to connectors A1 and A2, the ones which, for example, are responsible for the gate opening and closing signal? Or some other place? Because I can't find diagrams too much where to plug in such tujas or Sonoffs for external sensors or other signal receiving devices.
First you need to ask yourself the questions:
1. what do we want to control?
2. in what way?
3. how many inputs and outputs do we need and of what type?
Re. 1
Temperature - and here we will need some kind of sensor. But we need to know what the temperature range should be. If it is to be water and the temperature is not to exceed 100'C, the DS18B20 sensor mentioned by a colleague earlier may be a reasonable solution.
The question is, however, whether this should only measure the temperature or whether it should be a thermostat that activates the pump depending on the temperature.
Pump operation - is it enough just to know that the pump is switched on (that the pump supply is on) or something more reliable, e.g. a water flow sensor? In the case of such a sensor, we have feedback that there is water flow, which clearly indicates that the pump is pumping and the hydraulic system is unobstructed.
ad. 2
Probably a controller with the possibility of connecting sensors and relays.
Of course, this could be the ESP. However, you need to remember that you have to put everything together, not infrequently with the use of a soldering iron, make some kind of casing for it, add a power supply, program it. So you need to have a minimum knowledge of electronics and the construction and operation of such microcontrollers.
But you can also use ready-made Tuya, Sonoff, Supla modules.
There are a lot of them on Allego, e.g. several-channel Sonoff controllers with preloaded Supla software with additional connection of DS18B20 sensors.
ad. 3
To realise temperature measurement - 1 temperature sensor
Pump control: one output + one control input
Flow sensor. Here we have a choice between a turbine sensor e.g. YF-B10 or a vane sensor e.g. FSW-4050-GZ1-SUS.
Turbine sensors are primarily used for flow measurement. The higher the flow rate, the higher the pulse frequency.
Vane sensors, on the other hand, are used to signal flow above a certain value.
In principle, a vane sensor is sufficient to have confirmation of pump operation.