Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Custom web page help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: July 21 2011 at 19:46 | IP Logged Quote jonkjon

I have been playing with lots of different ways to turn my lights on and off from a custom web page that i can access from my iphone. I have found quite a few ways to do this. In short, because i am either too tired or too lazy, what is the easiest way to accomplish the logic:" If the insteon light is on, turn it off. If the insteon light is off, turn it on." from a single button on a web page? Thanks for any help with this.....
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 
jonkjon
Groupie
Groupie


Joined: June 21 2010
Online Status: Offline
Posts: 77
Posted: July 21 2011 at 20:12 | IP Logged Quote jonkjon

I think maybe I have it with this....


<td align="center"><a href="ph-cgi/evalformula?formula=if(ph_getinsteonstat(
'KIT_FN')=1,ph_insteon('KIT_FN',18,0),ph_insteon('KIT_FN',20 ,0)) &nexturl=/Kitchen.html"><img

src="kitchen.png" border="0" height = "75" width = "75" ></img></a>Fan</td>
Back to Top View jonkjon's Profile Search for other posts by jonkjon
 

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