Max running time

Hello

Which node would you take to define a maximum running time for a actuator.
For example a fan that is only allowed to tun maximum 30minutes and then he needs to make a pause for 1 hour.

Search the timeout from flows https://flows.nodered.org/?term=timeout&num_pages=1
They are different, so you need to experiment with them to see if they do what you need

1 Like

Thanks.
I'll check them out.

If it would be a serious problem if it ran too long (overheating or similar) then don't forget that you will need a solution that survives a system restart.

For safety reasons and to preserve your equipment:

  1. If possible, never run "not yet completed" flow against real equipment.
  2. Make your flow for testing stadium with relative short timers, that you can actually observe your system reliability.
  3. Test all possible conditions you can imagine
  4. Test one more day
  5. Test one more day
  6. Rest
  7. Test one more day
  8. Start thinking to switch over to real equipment
  9. Test
  10. Switch over to real equipment (and pray if your equipment costs more than you have in pocket)

:slight_smile:

1 Like

And if a fail would be really expensive. Make sure you have at least one redundant system and make everything fail safe.

Check out the mytimeout node - it will do what you want. (Taking into account all the stuff the guys above have said)

Craig

I'll test every part before I change to the real equipment.
mytimeout I'm going to check this evening.