Jump to content

Isy programming


Igdixon

Recommended Posts

Can an Insteon dimmer switch be programmed by an ISY99i so that when that switch is manually pressed between certain hours that it would only come on at let's say 50%. I would like to program a bathroom switch so that if it's pressed between 11pm and 5am it will automatically come on at 50%. All other times when pressed I would want it to come on at 100%. Thanks for the help

Link to comment

Yes that can be done.

 

Define an ISY Scene with the bathroom switch as a Controller.

 

Use the Adjust Scene Action statement with the switch name in both parameters. Set the On Level to whatever is desired in a particular time range.

 

If
       From    11:00:00PM
       To       5:00:00AM (next day)

Then
       In Scene 'SwitchLinc Dimmer' Set 'SwitchLinc Dimmer' 50% (On Level)

Else
       In Scene 'SwitchLinc Dimmer' Set 'SwitchLinc Dimmer' 100% (On Level)

 

The Adjust Scene statement is changing the On Level (applied locally) value in the switch. This value controls what happens at the switch when the local paddle is pressed. At 11 PM the Program triggers True setting the On Level to 50%. At 5 AM the Program triggers False and sets the On Level to 100%.

Link to comment

I created the scene with the bathroom dimmer and I have it set as the controller. Slowly but surely I was able to copy the identical program that I was instructed to but it's not working the way I want so I must be doing something wrong. If I use my MobiLinc app and go to the scene area and I pick "bathroom dimmer" it will work just fine. If I go to the actual controller and hit the paddle it just goes to 100%. Please help!

Link to comment

Insteon has the ability to set different on-levels and ramp rates, based upon which controller is activating the scene. From the ISY admin panel, my lighting, find the scene in question and expand (showing included devices). With the scene highlighted, notice the on-levels and ramp rates. Picking a controller device within the scene, do you notice the on-levels and ramp rates being any different? If so, adjust as you would like them to be. Notice the option to copy scene attributes. This option is good if you want the same on-levels and ramp rates as defined at the overall scene level, even when the scene is applied by a local controller device.

Link to comment

Igdixon

 

Post your Program. Right click on Program name and select Copy to clipboard. That way you can paste the actual Program. It sounds like the Scene name rather than the switch name was used in the Adjust Scene statement.

 

Also, was the Program complete Changes Saved and Enabled at 11 PM. Otherwise it would not have changed to 50%. Check Programs | Summary tab. Does the Program Last Run TIme show it ran at 11 PM and is the Status True. If it is past 5 AM at your location it will now show Last Run Time of 5 AM with a Status of False.

Link to comment

It changes the static attributes which will remain until changed. It does not affect what the Program will accomplish at 11 PM and 5 AM. The Program will change the Local On Level of the switch if the Adjust Scene statement is coded correctly.

Link to comment

If

From 11:00:00PM

To 5:00:00AM (next day)

 

Then

In Scene 'Master Bath Dimmer' Set 'Master Bath Dimmer' 40% (On Level)

 

Else

In Scene 'Master Bath Dimmer' Set 'Master Bath Dimmer' 100% (On Level)

 

The name of the scene is "Master Bathroom dimmer"

When the scene was created, I used the dimmer switch which is located in the master bathroom and it is programed as the controller

Link to comment

That is the correct way to code the Adjust Scene statement. Was the Program functional at 11 PM? The Then clause can be tested by clicking on the Program name and selecting Run Then.

 

What type of switch is it and what is its firmware level?

Link to comment

What ISY firmware is being used?

 

I ran a test on a SwitchLinc Dimmer on 3.2.1. It did not work but there is an issue that was uncovered setting LED Brightness and I think it is affecting setting the Local On Level as well. If on 3.1.17 I would expect it to work.

 

Run Tools | Diagnostics | Event Viewer with Level 3-Device communications event selected. Right click the Program name and select Run Then. Post the event trace which will show the commands executed to change the Local On Level.

Link to comment
  • 1 year later...

LeeG,

 

I have similar issues with my local ON values during a specific time of the day.

For some reason it is not working as expected.

 

I do have two switchlinc dimmer in a scene "stairway-light"

The dimmer with the load is the (M)aster, the 2nd controller is the (S)lave.

 

During the day, the local on setting value should be 75%

while during the night just 25%.

 

The ON Level of the scene is set to 25% for both dimmer (programmed with ISY admin console)

The ON Level applied locally is set to 75%

What is actually the other ON level set to 50% ?

 

 

If

From 9:00:00PM

To 6:00:00AM (next day)

 

Then

Set Scene 'Scenes / Stairway / Stairway-light' On

In Scene 'Scenes / Stairway / Stairway-light' Set 'Devices / Stairway / Stairway - light (M)' 25% (On Level)

In Scene 'Scenes / Stairway / Stairway-light' Set 'Devices / Stairway / Stairway - light (S)' 25% (On Level)

 

Else

In Scene 'Scenes / Stairway / Stairway-light' Set 'Devices / Stairway / Stairway - light (M)' 75% (On Level)

In Scene 'Scenes / Stairway / Stairway-light' Set 'Devices / Stairway / Stairway - light (S)' 75% (On Level)

post-5549-140474160239_thumb.jpg

post-5549-14047416024_thumb.jpg

Link to comment

The Program is setting the "Local" On Levels correctly. These are the values that affect what the individual switch does when its local paddle is pressed. The Master switch that is controlling the load should go to the set Local On Level value when its paddle is pressed On. The Slave switch status LEDs will go to the set Local On Level value when its paddle is pressed. The Local On Level value for the Slave switch has no other affect besides controlling the status LEDs on the Slave switch.

 

There are lots of On Levels in play here so let’s go through them. The Local On Level has been covered above.

 

The Scene Name Responder On Levels affect what each Scene Responder does when the Scene Name is turned On with a Program statement or turned On with the Admin Console. The ISY PLM is the Controller when the Scene Name is used.

 

There are two additional Controllers defined for the Scene, the Master switch and the Slave switch. The Responders to these Controllers have their own Responder On Level settings. That is the 50% Responder On level that is displayed for the Responder Slave switch when Master switch node name as Controller is selected. When the Slave switch node name as Controller is selected there will be a Master switch Responder On Level.

 

To summarize in Insteon every Scene controller has a unique set of On Level values for its Responders.

 

In addition to the Scene Responder On Levels the Local On Levels are in effect for the switch where the paddle is being pressed.

 

This means that the time based Program that is setting the Local On Level settings correctly has several more Responder On Levels to set if all the Responder On Levels are to be adjusted as the Local On Levels are now.

 

An Adjust Scene statement that specifies the Controller name in the 'In Scene' parameter and Responder name in the 'Set' parameter must be added to the Program. I believe that will be three additional Adjust Scene statements in the Then clause and three additional Adjust Scene statements in the Else clause.

Link to comment

Hi LeeG,

Not 100% sure if I understood all explanations about the ON levels but at least 75%.

I have changed the program according to your advice and to my new gained understanding and

it is working now as expected. :)

 

Thanks a lot.

 

-- changed program --

 

If

From 9:00:00PM

To 6:00:00AM (next day)

 

Then

Set Scene 'Scenes / Stairway / Stairway-light' On

In Scene 'Devices / Stairway / Stairway - light (M)' Set 'Devices / Stairway / Stairway - light (M)' 25% (On Level)

In Scene 'Devices / Stairway / Stairway - light (M)' Set 'Devices / Stairway / Stairway - light (S)' 25% (On Level)

In Scene 'Devices / Stairway / Stairway - light (S)' Set 'Devices / Stairway / Stairway - light (S)' 25% (On Level)

In Scene 'Devices / Stairway / Stairway - light (S)' Set 'Devices / Stairway / Stairway - light (M)' 25% (On Level)

 

Else

In Scene 'Devices / Stairway / Stairway - light (M)' Set 'Devices / Stairway / Stairway - light (M)' 75% (On Level)

In Scene 'Devices / Stairway / Stairway - light (M)' Set 'Devices / Stairway / Stairway - light (S)' 75% (On Level)

In Scene 'Devices / Stairway / Stairway - light (S)' Set 'Devices / Stairway / Stairway - light (S)' 75% (On Level)

In Scene 'Devices / Stairway / Stairway - light (S)' Set 'Devices / Stairway / Stairway - light (M)' 75% (On Level)

Link to comment
  • 1 year later...

Howdy,

 

I know this is bring up an older topic, but as a relatively new ISY/Insteon guy, the response here kind of confused me.

 

As I understand it, each dimmer switch as a 'Local On' dim level (used when a person presses the switch).  In addition, it can have a number of defined scenes which have various other dim levels and when the related scene is activated, the switch goes to that level.  However, activating the scene does not change the 'Local On' dim level.

 

What confused me in response #19 was what I think I read saying that the 'In Scene X Set Y xx%' changed the 'Local On' level.

 

I thought the ''Adjust Scene" action just modified the level for the defined scene in the specified switch (so that a subsequent activation of the scene would set the switch to the newly adjusted level).  I didn't think it also altered the default "local on" level too.

 

Am I misreading that (particularly, post #19)?  

 

If not, is there a way to simply change the level/ramp for a device in a scene without also modifying the "Local On" (manual activation) default level?

Sorry if this seems silly, but this made me question much of what I thought I was getting an handle on with Insteon Scenes.

 

Thanks!

 

Gerry

Link to comment

You can adjust both the applied locally attributes, or the attributes as it responds to a scene.

 

When using "adjust scene" (this is a bad name) you can adjust not only scenes but applied local.

 

If you want to adjust the local attributes, then pick the device from the first section of the drop down list where it lists all your devices with a little square icon to the left.

 

If you want to adjust the device as it responds to a scene, select the name of the scene (with the circle and 3 dots in it icon), then pick which device you want to adjust.

Link to comment

To change the Local On Level or Local Ramp Rate both the In Scene and Set parameters specify the local device.

  •   In Scene 'SwitchLinc Dimmer DB' Set 'SwitchLinc Dimmer DB' 80% (On Level) 

To change the Responder On Level or Responder Ramp Rate the In Scene parameter specifies the Controller and the Set parameter specifies the Responder.

 

  •   In Scene 'MotionSensor2-Sensor' Set 'SwitchLinc Dimmer' 80% (On Level) 
Link to comment

Thanks folks!! That makes sense (well, it works, I agree the action name is slightly confusing, but get the point).

One odd thing when I'm trying this out, the "In Scene" drop-down box seems to show me only 10 items - a mix of some scenes and some devices.  There are plenty of devices and scenes it doesn't list.

 

When I switch the action to 'Insteon', the drop-down there shows me all scenes and devices (about 40).  Switch back to 'Adjust Scene' and only 10 items. 

 

Is there something special about a device or scene in order for it to be listed as in the 'In Scene' drop-down box?  There is nothing special or common about the 10 items I can see in it.

 

Gerry

Link to comment

I have to say, mine has some odd stuff that I would like explained. 

 

Items listed as devices, also bring up all devices that are responders to that device in the "set" drop down.

 

If I change those other devices, and go to the scene menu for the scene it is a controller, then click on that device in the scene to get the "applied local" showing, it shows that the "set" device changed, just under the "applied local" setting for the primary device.  The device does not change under its own "applied local" menu.

 

If I select the same device in the "in scene" menu and the "set" menu, then it changes the local on level. .  as expected.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...