Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: A few PH Insteon questions Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: January 31 2008 at 08:00 | IP Logged Quote tbeckman

Can anyone tell me why a timed event with the formula ph_insteon("FRONT PORCH", idim, 50) would not work? The event goes as timed and the logs show the light has ACKed, but it does not actually dim.

Also, I have a triggered event to shut off a group of lights. It works fine, but sometimes if I turn on a light that was just shut off by this event... it will turn it off again up to a few minutes later and keep turning it off usually up to three times. Any idea why?

Thank you.

Edited by tbeckman - January 31 2008 at 10:42
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 31 2008 at 13:44 | IP Logged Quote TonyNo

That *should* dim it to about 20%. Maybe you have some noise creeping in? Does it ever work?
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: January 31 2008 at 14:40 | IP Logged Quote tbeckman

I haven't been able to get that particular function ph_insteon to work for me. Is there way to type in a function with parameters and run it with out tying it to a timed or triggered event? Thanks.

Edited by tbeckman - January 31 2008 at 14:41
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 31 2008 at 19:48 | IP Logged Quote TonyNo

Sure. Launch the Multi Editor (Maintenance, PowerHome MultiEditor) and select PH Formula (4th from the right toolbar button).

You can then type in what ever you want and click on the Execute button on the toolbar (button on far right). You'll also see what the return value is for debugging.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: January 31 2008 at 20:56 | IP Logged Quote tbeckman

That is cool... I am learning all the time. Ok... I did a ION, 50 and it dimmed, apparently the idim, 50 does not work.
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 31 2008 at 21:09 | IP Logged Quote TonyNo

I just tested that with idim, 128 and it dims the lamp a bit each time. I bet using 50 may not be noticeable.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: February 01 2008 at 00:43 | IP Logged Quote tbeckman

Hmmm.. I don't think I understand what idim does... I was expecting it to turn the light down to the number I chose... is that not what it does?
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: February 01 2008 at 07:38 | IP Logged Quote TonyNo

Okay, I was wrong.

The idim parameter should always be zero.

From the docs...

Set cmd2 to 0 for all cmd1 values except on (17). When sending an "on" command, set the cmd2 value to an integer between 0 and 255 for the level to go to.

Only ion, dimlevel gives absolute dimming.

Edited by TonyNo - February 01 2008 at 07:38
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
Gadgets
Senior Member
Senior Member
Avatar

Joined: January 28 2008
Location: Canada
Online Status: Offline
Posts: 178
Posted: February 05 2008 at 22:32 | IP Logged Quote Gadgets

TonyNo wrote:
Sure. Launch the Multi Editor (Maintenance, PowerHome MultiEditor) and select PH Formula (4th from the right toolbar button).

You can then type in what ever you want and click on the Execute button on the toolbar (button on far right). You'll also see what the return value is for debugging.


Damn really? I just put it in the "macro"formula" field of an open pane and click "run". I'llhave to try the Multi-editor thing-a-ma-bob.

__________________
Friends, don't let friends install Norton Products
Back to Top View Gadgets's Profile Search for other posts by Gadgets Visit Gadgets'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