Hi everyone, i’m trying to do an automation to start my HVAC based on temperature and solar production.
I’m using a min sensor to decide which HVAC to start first, but i can occurr into a situation in which the HVAC in the coldest room has already started and when i check again to start another HVAC the automation “skips” because min sensor is again on the same room… is there any way to select the minimum temperature between the HVAC that are OFF or at least to select the second lowest?
Thanks
P.S. I’m not very familiar with NodeRed, but would that give an help in this case?
AMAZING!
That’s what i was looking for, just two questions: i should copy those lines into a template sensor right?
And secondly: i use 5 external temperature sensors, so sorting would be on those sensors and not on an HVAC attribute, how should i modify it?
Thanks again
That’s really up to you. If it’s information that you think you’ll use in multiple places then it makes sense to create a template sensor. If not, then you can use it as a variable in the automation.
Since you need to make a selection based on the states of both devices, we will need to figure out how to link them. In most cases, this is a good place to use the Area where the devices are located. Have you assigned Areas to your sensors and hvac devices? Is therea 1:1 relationship between them… i.e. are the climate devices you want to control assigned to the same areas as the thermometers that you want to base their behavior on?
It would be helpful if you would share your current automation so we can see how the parts are currently related.
I think the way to do this that is least complicated would be to set up a list of dictionaries that link the necessary information. In your automation, that could be something like: