Jump to content

Programming Help


nadler

Recommended Posts

Posted

I'm new to isy and trying to learn the ins and outs of programming.

 

When I enter the bathroom between 12:30 am and 6:30 am and hit the on switch, I want the light to come on at 30%. All other times I want it to turn on at 100%. The following program does this BUT the light first turns on at 100% and it then takes about 4 secs for it to dim to 30%. I assume that is the time it takes the isy program to run and the command to reach the switch.

 

If
       From    12:30:00AM
       To       6:30:00AM (same day)
   And Control 'Upstairs / Master Bedroom / MB Bathroom' is switched On

Then
       Set 'Upstairs / Master Bedroom / MB Bathroom' 30%

Else
  - No Actions - (To add one, press 'Action')

 

My alternative, and it's not a very good one, is to set the local level to 30% and run another program during the day to raise the level to 100% when the bathroom on button is pressed. This also works but there is again about a 4 sec delay until the light goes from 30% to 100%

Posted

The solution is to define a scene for the bathroom lights and twice daily have a program run to adjust the scene on level for those lights. Once to 30% for the night and once to 100% for daytime. Note, adjusting the scene won't actually change the brightness of the lights if they are already on at the time the adjustment is made. You can have another program run right after the adjustments are made to check if the light is on and turn the scene on again to get the lights to dim or brighten.

 

 

-Xathros

Posted

Great solution. Thanks.

 

I did a lot of searching and reading before I asked the question to see if there was something that would point me in the right direction, but I couldn't find anything.

 

For future reference, is there a resource I missed that might have given me that solution?

 

Thanks again.

 

Noel

Posted

Hi Noel-

 

This is a brief discussion about Insteon Actions in the WiKi here:http://wiki.universal-devices.com/index.php?title=ISY-99i/ISY-26_INSTEON:Action

 

There have been several topics in the forums on this as well though none that I recall recently.

 

Here is one that may prove useful for you: http://forum.universal-devices.com/viewtopic.php?p=95729#p95729

 

-Xathros

Posted

Anytime. Happy to help.

 

-Xathros

  • 3 months later...
Posted

Hello all,

I specifically searched for this same question and glad I found a thread where the same question was asked. I also want lights in my guest bathroom to come on at a dim level and slower ramp rate during the night. If a guest wants the light to be bright, then they could always double-click the upper paddle.

 

Actually, I already thought about creating a scene that changes the ramp rate and "on level" during the night, yet it was not working properly which is why I cam here. Setting the scene only appears to work if I actually run the scene, which of course it turns on the light and that is not what I want to happen. I actually want to change the "Local" on level of the light so that when the guest presses the on switch, then it goes to that level. I don't really see any way to change the local on-level by program control in the 994i. I must be having a dumb brain day :wink:

Posted

The Adjust Scene statement can change the Local values. The device controlling the load appears in both the "In Scene" and "Set" parameters. The load control device must a Controller of a Scene even if a dummy scene.

 

In Scene 'device' Set 'device' 20% (On Level)

Posted
The Adjust Scene statement can change the Local values. The device controlling the load appears in both the "In Scene" and "Set" parameters. The load control device must a Controller of a Scene even if a dummy scene.

 

In Scene 'device' Set 'device' 20% (On Level)

 

 

Ok, you found the error in my logic :-) I DID NOT have the light switch set as a Controller. It was only set as a Responder in my scene. That actually confuses me as I didn't want the light switch to control anything else except its load, but I guess in this case, it needs to be also set as a Controller.

 

Changing the switch to a controller is the only thing I did and now it works very nicely. You da man !

Posted

While on this subject... what does anyone think is the best way to have a light return to a low dim level when someone clicks the paddle switch to turn off the light?

Posted

A Program will have to be triggered with the Off command and set it back to some low On Level. A SwitchLinc will always turn Off when the Off paddle is pressed.

Posted
A Program will have to be triggered with the Off command and set it back to some low On Level. A SwitchLinc will always turn Off when the Off paddle is pressed.

You folks are really smart. :P

 

Resulting from the above suggestions, I have the guest bath light set at a very low (night light) level from sunset to sunrise. If the guest turns on the light in the middle of the night, it ramps up slowly to about half brightness to not kill their eyes. Of course if they want full brightness, they could always click the paddle again. Then when they turn off the light, it goes back to the night light level.

 

Cool stuff you can do with the 994.

 

Much thanks

  • 4 weeks later...
Posted

I am trying to make my bathroom light work the same as this thread suggests but am having no luck. I have 2 switch link dual band v4.1 switches.One directly controls the load, the other is a slave and operates as a 3 way switch. I have a scene with both switches in it and they are both controllers. Here is the program I run:

If

From Sunset

To Sunrise (next day)

 

Then

In Scene 'Master Bathroom / Mstr Bath vanity lights' Set 'Master Bathroom / Mstr Bath vanity load' 20% (On Level)

In Scene 'Master Bathroom / Mstr Bath vanity lights' Set 'Master Bathroom / Mstr Bath vanity Switch 2' 20% (On Level)

 

Else

In Scene 'Master Bathroom / Mstr Bath vanity lights' Set 'Master Bathroom / Mstr Bath vanity load' 73% (On Level)

In Scene 'Master Bathroom / Mstr Bath vanity lights' Set 'Master Bathroom / Mstr Bath vanity Switch 2' 73% (On Level)

This program does run and does set the Scene values correctly but it doesn't seem to set the values of the individual switches local values correctly (note the screen shot showing 20%, even though the program ran this morning).

 

And this screen shot shows the SCENE has been set to 73%.

 

 

If I use the button at the bottom of the SCENE page to turn on the light, the light performs correctly and goes to 73%. But if I use either switch, the light only goes to 20%.

 

And here is what the switches look like from within the scene:

 

What am I overlooking?

Thanks for any and all help.

Bob

post-5464-140474163896_thumb.png

post-5464-140474163903_thumb.png

post-5464-14047416391_thumb.png

Posted

The Adjust Scene statements posted adjust what happens when the Scene name is used in a Program or controlled from the Admin Console. To adjust the Local values both the In Scene and Set parameters have to specify the individual switch.

 

Then

In Scene 'switch1' Set 'switch1' 20%

In Scene 'switch2' Set 'switch2' 20%

Else

In Scene 'switch1' Set 'switch1' 73%

In Scene 'switch2' Set 'switch2' 73%

Posted

Thanks for the help. Your suggestion worked partially. One of the switches worked correctly, the other didn't. So I had to change it as follows:

 

Else

In Scene 'switch1' Set 'switch1' 73%

In Scene 'switch1' Set 'switch2' 73%

In Scene 'switch2' Set 'switch2' 73%

In Scene 'switch2' Set 'switch1' 73%

 

I'd have never gotten there without your help though...thanks a lot.

Bob

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...