Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Insteon Local Level / Ramp Rate Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
fasttimes
Groupie
Groupie


Joined: March 12 2006
Online Status: Offline
Posts: 63
Posted: June 27 2006 at 22:32 | IP Logged Quote fasttimes

Dave,

I think you said you were going to add the value for ramp rate to the insteon devices in the next version. Did you have any timeframe for this?

What I would like to do is to have a master/slave switch combo so that each switch behaves exactly like the other.

IIRC there is no way to set the local level and local ramp rate for a switch other than at the switch directly. If I could see the local level and ramp rate for a switch that controls a load, I could then use PH to set the slave switch to that level, and manual click once to set the level, then use PH to set the switch for the ramp rate, then double click to lock it in. Does that sound right?

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

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 28 2006 at 00:22 | IP Logged Quote dhoward

Mike,

You are correct...PowerHome does not currently retrieve the local ramprate value and I will be adding this for the next beta. I don't have an exact timeframe but I am desperately trying to get something out in the next couple of weeks.

You are also correct in that the local level and local ramprate must be set manually at the switch using the "set" button (except for KeypadLinc...you can use the KPL Config Utility to set these). I can programmatically change these values, but in order for them to take effect, you must remove power to the switch (either by pulling the "set" button out for 10 seconds or flipping a breaker).

I understand exactly what you're trying to do. Cant do it exactly that way yet. Best you could do is use the Device Status screen to set a specific "dim" level and then press the "set" button on the switch twice. Test the ramprate. If to slow, go back and increase the brightness. If to fast, go back and dim some more. Press the "set" button twice and test again. Once you like the ramprate, use this "dim" setting to set all your other switches.

The only problem I foresee is that even with the local ramprate (a value from 0 to 31) being read from the switch and stored in the database, it will probably be difficult to translate this into a direct dim level (0 to 255) since the formula appears to be exponential and SmartHome has not published what this exact mathematical relationship is. All they have given us is a rough table of approximations. Since there are only 32 total ramprate levels, I may have to just test various dim settings until I come up with a table of values that equate 1 for 1.

HTH,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
fasttimes
Groupie
Groupie


Joined: March 12 2006
Online Status: Offline
Posts: 63
Posted: October 09 2006 at 01:54 | IP Logged Quote fasttimes

dhoward wrote:
Mike,
I can programmatically change these values, but in order for them to take effect, you must remove power to the switch (either by pulling the "set" button out for 10 seconds or flipping a breaker).


Is this functionality in the new version? What about a script? I'd love to be able to set the rates from the computer.
Back to Top View fasttimes's Profile Search for other posts by fasttimes
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 09 2006 at 15:11 | IP Logged Quote dhoward

Fasttimes,

Yep the functionality is in the current version. From the Insteon Explorer/Devices tab, just scroll until you see the "Desired Local Level" and "Desired Ramprate". Set these columns to the values you desire. Also make sure that the "Write Level/Ramp/X10" option is checked at the top. Save your changes and watch the "Pending Operations" window. When the operation has moved to the "Completed Operations" window, cycle power on the effected device and it will then have the new local settings.

HTH,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
ginigma
Senior Member
Senior Member


Joined: June 18 2006
Location: United States
Online Status: Offline
Posts: 127
Posted: October 09 2006 at 16:41 | IP Logged Quote ginigma

dhoward wrote:
cycle power on the effected device and it will then have the new local settings.

Dave,
When you say power cycle, do you mean pull the air gap to reset the switch, or just toggle the switch off then back on?
Back to Top View ginigma's Profile Search for other posts by ginigma Visit ginigma's Homepage
 
crisx
Groupie
Groupie
Avatar

Joined: September 14 2006
Location: United States
Online Status: Offline
Posts: 72
Posted: October 09 2006 at 16:53 | IP Logged Quote crisx

You need to cut power to the switch - either with the air gap or turn the circuit breaker off and then on. (air gap is easier!). Pulling he air gap shouldn't reset the switch provided you don't push it in and hold it.
Back to Top View crisx's Profile Search for other posts by crisx
 
ginigma
Senior Member
Senior Member


Joined: June 18 2006
Location: United States
Online Status: Offline
Posts: 127
Posted: October 09 2006 at 17:04 | IP Logged Quote ginigma

Thanks Cris
Back to Top View ginigma's Profile Search for other posts by ginigma Visit ginigma's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 10 2006 at 13:38 | IP Logged Quote dhoward

Ginigma,

Cris has you taken care of. Just a very brief pull of the airgap is all you need. Just watch the LED on the switch, pull the air gap until the LED goes out, then just press it back in until the LED comes on. Just be careful not to press all the way in and hold, it might do a factory reset.

This is also necessary for programming the X10 address. The three locally programmable settings that require this "power-cycle" to take effect are local level, local ramprate, and local X10 address.

When doing this for a relay type switch (non-dimming), note that the airgap DOES NOT WORK. Don't know why it's even there then, but you cannot remove power from a relay switch with the airgap so you'd have to flip the breaker on these boys. Granted, you won't be programming local levels and ramprates but you may setup an X10 address.

HTH,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
keepersg
Newbie
Newbie


Joined: July 23 2007
Location: United States
Online Status: Offline
Posts: 29
Posted: October 09 2007 at 01:50 | IP Logged Quote keepersg

In the current version (.12) the change in ramp rate takes effect immediately after you specify it and save/refresh. I'd like to be able to change the ramp rate from within a macro. Is there any way to do this?

George

I've tested this further. The ramp rate when it is changed from PH will change immediately in a KPL. I've tested this in two of them. It will not change immediately in icon switches or insteon lamp modules which require the air gap or reset previously mentioned.

Edited by keepersg - October 09 2007 at 18:06
Back to Top View keepersg's Profile Search for other posts by keepersg
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 15 2007 at 10:48 | IP Logged Quote dhoward

George,

Your observations are correct. Only the KPL supports the "reset" command so that an airgap or power cycle is not required. Hopefully this will be supported in All devices with the next firmware revision but we'll just have to wait and see.

It's possible to update the desired local ramprate field from within PowerHome, but you have to use SQL to do it. Below is a formula that will update the field for you. The ID of the device to update is expected to be in the [LOCAL1] variable and the value to update to is expected in the [LOCAL2] variable:

ph_directsql("update insteondevices set dlocalramprate = " + [LOCAL2] + " where id = '" + [LOCAL1] + "'")

After executing this statement, it will still take PowerHome a few seconds to make the actual change (based upon the Poll Interval parameter) and of course will ONLY be able to update KPL's without the power cycle.

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