I posted earlier in communications issues forum and my questions are quickly morphing into programming questions so I moved here.
I have a 24 hour Laundromat with a large water heating boiler that I would like to turn off when not needed.
I also have a pump that keeps hot water circulating in 200 feet of uninsulated 1 1/2" copper piping.
The problem I'm having is that the actual state of the inline links is sometimes different from what is indicated on the dashboard and the admin console so I end up with a no hot water condition. I think the problem is mostly communication/noise related, but I know next to nothing about programming and want to eliminate the programing as the cause.
My goal is to have the boiler and pump turn on when motion is sensed and off after 5 minutes for the pump and 30 minutes for the boiler. To do this I have 2 programs for each.
The first program is:
Motion
If status motion is on
and status boiler is off
then set scene boiler on
2nd program is:
Off delay
If status boiler is on
then wait 30 minutes
set scene boiler off
I set up a scene for each device, do they need to be scenes, or can I just set the devices on or off?
I'm using if status, is that correct, or should I be using If control? I don't understand the difference.
It has been suggested that I add a program to query the status of both devices every minute or so to correct the incorrect device status
I figured out how to query a device, but I don't know how to endlessly repeat an action every minute.
Please comment