Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Cycle On & Off Every 10 mins Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: November 19 2008 at 18:49 | IP Logged Quote tbeckman

I have a circ pump that I would like to cycle on and off every 10 minutes. It there a way to create a timed event to cycle on/off every ten minutes between 9am - 11am? Thank you.
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: November 19 2008 at 19:20 | IP Logged Quote TonyNo

Sure. Create the Timed Event for every 10 minutes, use a formula to invert the device status, and make the Boolean field something like...

if( hour(now())>=9 and hour(now())<11, 1, 0)

You should also create another Timed Event to turn it off at 11 in case the status at that time is On.

What kind of device are you controlling?
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum