Homekit Automations with Smart Radiator Valves
I have smart trv's and would like to use apple home to ensure that any time I'm home, and between certain times, I'd like to set specific temperatures on those trv's. It feels like it should be really easy to do but I can't find a robust solution.
I don't necessarily want it for when I arrive home, I want it for when I'm home. For example, in the main bedroom (which I've slept all night), I want the trv to turn on between 6:30am and 8am. Then turn off between 8am and 9pm. But then turn back on (if I'm home) at 9pm until 11pm.
Is there a way to do this which also works if I arrive home at say 9:30pm? I have figured out how to trigger to the TRVs at specific times or when I arrive/leave. However, doing something as simple as...
IF I'm home
AND between time
SET temperature to X
seems quite hard without writing a lot of IF loops
Many thanks!