Author |
|
jonkjon Groupie
Joined: June 21 2010
Online Status: Offline Posts: 77
|
Posted: July 21 2011 at 19:46 | IP Logged
|
|
|
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 |
|
|
jonkjon Groupie
Joined: June 21 2010
Online Status: Offline Posts: 77
|
Posted: July 21 2011 at 20:12 | IP Logged
|
|
|
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 |
|
|
|
|