Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Feature Requests
 PowerHome Messageboard : PowerHome Feature Requests
Subject Topic: active/inactive times for x10 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: April 10 2004 at 19:06 | IP Logged Quote npavkov

Dave.... it would be a nice feature for PH to have a active or inactive period defined for each x10 device defined, so it would be possible to control certain lites and such ONLY during a period of time. Such as "only at darkness" or from start time to end time. I have indoor lites that come on via motion sensor, but I dont want them to come on during daylight hours. Just a suggestion. 

also is there any way to "reset" a x10 device to return to it's PREVIOUS x10stat known state (on,off,or dimmed) after a device has been controlled by some other means thru PH. IE: lite is dimmed,motion sensor triggers a lite 'ON' command and have the lite return to the DIMMED state???

 

Back to Top View npavkov's Profile Search for other posts by npavkov
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: April 10 2004 at 23:48 | IP Logged Quote TonyNo

If I may jump in, I do similar things using variables (flags) to enable and disable devices based on many things, one of which is time. The only hang-up is that you need a macro for each device. You could also add this logic to a trigger that controls the device.

Having this built-in is not necessary, but, may be helpful to some.

You could also add a line to a macro that is triggered by a motion sensor to save the previous state and restore it when the timed period is over.

Let me know if you would like an example.

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: April 10 2004 at 23:55 | IP Logged Quote npavkov

Tony.... thanks for the info.....

I will try to "reset" the current status as you suggest.....

can you give me some examples of how I would enable/disable switched lights from 7 am until 7pm daily?? I can turn them off and on within those times but how do I disable the devices from being controlled??

Back to Top View npavkov's Profile Search for other posts by npavkov
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: April 11 2004 at 11:00 | IP Logged Quote TonyNo

As I have assumed from your comments, this would only work on items controlled by PH (not directly as with a switch).

Create a new Global, say, LightEnable.  You would then create a macro, or, timed event to set/clear this flag, then, add a line to check this before you turn it on in a macro, or, trigger.

Timed Event
at 7am, clear flag (LightEnable=0)
at 7pm, set flag (LightEnable=1)

Old Light Macro
Light On

New Light Macro
if( {LightEnable} = 1, 1, 999)
Light On

For a trigger, simply add this to the Boolean column...

if( {LightEnable} = 1, 1, 0)

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: April 14 2004 at 14:20 | IP Logged Quote dhoward

Nick,

Tony is right on the money.  I do this the same way myself.  Typically any type of light or device that has "special" considerations (on only at certain times, days, etc), I create a macro for "ON" and "OFF", etc.  I then put my special condition checks within the macro (check for a certain time, day, value of global variable, etc).  Then anytime that I want to send an "ON" or "OFF" command, I only do so through the macro.

Let me know if you have any other questions ,

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward'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