Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Help with conditional macro Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 17 2008 at 17:17 | IP Logged Quote BeachBum

Unless the forum did tricks you might try this
if(hour(now())> 23 or hour(now())<=5,1,999)


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
Lazyman
Groupie
Groupie
Avatar

Joined: February 08 2006
Location: United States
Online Status: Offline
Posts: 74
Posted: December 19 2008 at 00:34 | IP Logged Quote Lazyman

Thanks!! It works.

Now, how can I change it so that instead of checking to see if "Master Bedroom" is on, it will check to see if "Master Bedroom" is at 35 or brighter? What is the command to check the level of a light.

(and thanks again)
Back to Top View Lazyman's Profile Search for other posts by Lazyman
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 19 2008 at 08:46 | IP Logged Quote BeachBum

Check out ph_getinsteonlevel or ph_getinsteonlevelrt depending on whether you get it from PH or the device.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 

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

<< Prev Page of 2
  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