1) Give a description of the problem
I am looking to put my hot water recirculator on a timer. I would like the recirculator to run every 30 minutes, with an override if a bathroom light is turned on and it has been at least 15 minutes since last run
I tried to implement this with the code shown, but instead of the “every 5 minutes” procedure I had “If Outlet 1 stayed off for at least 30 min”, but this trigger was never firing on its own. It worked when I set the delay to only 10 seconds but for some reason fails with longer stay periods.
For now I just added a timer loop to check (every 5 minutes) if its been at least 30 minutes and run if so.
This works, but seems inefficient and also means the delay is actually 30-34 min instead of exactly 30 minutes.
Any ideas why the “if x stays off for y min” trigger isnt working?