@ongcaps wrote:
Hi All,
First of all, thank you to this great community. I have HA for 2 years and it is the first time I need to write a post (because all the information is there!)
My set up:
- A synology running a docker container with HA and mainly tasmotized sonoffs
- I have an electric valve that controls whether I use the hot water coming from the solar energy system or from the water heater. I control that with 2 relays of a sonoff 4CH Pro with tasmota
- I have an automation that every time the temperature of the water in the solar system goes below 35 degrees it switches the relay to move the valve and use the boiler (and switches it off after 30 seconds) and if it goes above 35 it switches the other relay to move the valve in the other direction.
My 2 problems
I want to know when I am using the solar or the electric system in a given moment. I thought that I could create a new entity that would capture when each of the relays goes to ON but I do not know if this is possible (or even if it is a good idea)
The automation is triggered every time the sensor updates the temperature. How can I trigger the automation just when the temperature crosses 35 degrees in one or other direction?
Any idea is welcomed. Thank you in advance!
Daniel
Posts: 2
Participants: 2