Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: ph.x10btn Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: April 21 2005 at 08:29 | IP Logged Quote phil13

not really a bug but i've noticed that you can't make an ph.x10btn command on an x10 adress not defined in the x10 powerhome device table ...

for example ph.x10btn("G",2,3,0) with G2 no defined

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

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: April 21 2005 at 10:24 | IP Logged Quote dhoward

That is correct. The X10 device needs to be defined so it knows what X-10 controller to use (no controller specified in ph.x10btn) and how to handle absolute dimming (use extended dim first if supported, then try preset dim, and last use standard dim commands). It also needs to be defined so PowerHome tracks the current level to calculate the absolute dim for standard dim commands.

You would need to use the ph.x10 function to send raw X-10 commands to undefined devices. The equivalent for the function above would be:

ph.x10(1,"G",2,0) + ph.x10(1,"G",103,0)



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