Author Topic: Advanced Lighting Controls  (Read 9186 times)

JimmyGosling

  • Veteran
  • ***
  • Posts: 105
    • View Profile
Advanced Lighting Controls
« on: March 14, 2008, 04:55:43 pm »
after working with DDamron this last week I'm very excited to have my new Insteon controlled lights up and running.  I do feel like there is some functionality that could be added though, and that is will the speed the lights dim and the level they return to when the event ends.

For example: It would be nice to have the lights blink before a movie starts (like  real theater) but then dim slowly rather than simply flipping off.  When the movie is over, my eyes are not ready for a full on bright light.  It would be nice to bring the lights up to 50% or just really  brighten slowly rather then quickly flipping on.

Again, just a feature request.

MANDINGO

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: Advanced Lighting Controls
« Reply #1 on: March 15, 2008, 12:10:50 am »
My lights dim slowly and i use the Ha22 with intermatic Z-wave switch dimmers all i did was to create a respond to the events and thats it !!!
For a Current List of Plug and Play Capture Cards/Devices
http://wiki.linuxmce.org/index.php/Capture_Cards

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Advanced Lighting Controls
« Reply #2 on: March 15, 2008, 01:00:27 am »
I think you can already do just that with scenarios.
"Change is inevitable. Progress is optional."
-- Anonymous


1audio

  • Addicted
  • *
  • Posts: 552
    • View Profile
Re: Advanced Lighting Controls
« Reply #3 on: March 15, 2008, 06:08:16 pm »
Not all lighting modules have control over their dim rates, especially over the network. And the ZWave modules have different features sets and some aren't supported by all modules.

I peeked inside the ZWave command classes and there is no explicit required support for dim rates so it would be vendor specific. I do remember something in the X-10 stuuf that could do it but thats old fuzzy memory.

It would be possible to write a macro that sends repeated changes in level however you then run into the latency and bandwidth issues if the networks.

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Advanced Lighting Controls
« Reply #4 on: March 16, 2008, 04:56:03 pm »
Dan and I have discussed the dimming issue as it applies to Insteon lights.  These lights are a little tricky in that they apply ramp rates to a group command, rather than an individual command.  That is to say, there is no way to tell a single device (of the current generation) to say, dim to 50% over x seconds.  However, when a command group is created, a device can know, when it receives a command targeted to a group of which it is a member, it should dim to x% over x seconds.  Right now, LMCE isn't set up to handle Insteon group commands, only individual commands.  It's going to take some work to modify the lighting module to support this.

JimmyGosling

  • Veteran
  • ***
  • Posts: 105
    • View Profile
Re: Advanced Lighting Controls
« Reply #5 on: March 17, 2008, 05:10:41 pm »
good to hear that it's something we're thinking about then.

@Zaerc: the senario does allow me to set a dim percentage, but it does not allow me to control the speed of dimming as PeteK stated.  Again, this might be insteon specific.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Advanced Lighting Controls
« Reply #6 on: March 26, 2008, 05:15:59 pm »
after working with DDamron this last week I'm very excited to have my new Insteon controlled lights up and running.  I do feel like there is some functionality that could be added though, and that is will the speed the lights dim and the level they return to when the event ends.

For example: It would be nice to have the lights blink before a movie starts (like  real theater) but then dim slowly rather than simply flipping off.  When the movie is over, my eyes are not ready for a full on bright light.  It would be nice to bring the lights up to 50% or just really  brighten slowly rather then quickly flipping on.

Again, just a feature request.

Jimmy,

I've noticed that default ramp rates are different for different devices.  LampLincs have a slow ramp rate, while switchlincs and keypadlincs have instant (very fast) ramp rates.
now, what you can do, if you want a specific light to be a slow ramp rate, program the ramp rate in that device as per the instructions.
the nice thing about slow ramp rates, is that it also tends to 'hide' the 'ladder' effect.

I'm also currently working on another device template defined as an Insteon Group.  When that device (it has it's own device) is changed, it will utilize Insteon's Group functionality, and change all lights at the same time.

As far as blinking the light, I'm not sure, but I'd think you could chain a few lighting commands to the scenario... worth a shot.

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Advanced Lighting Controls
« Reply #7 on: March 26, 2008, 05:23:12 pm »
Dan--

After spending some time on the Insteon forums and playing around at home, I don't think setting a device's local ramp rate necessarily changes the ramp rate of the light when it is controlled remotely.  According to Insteon documentation, it's supposed to use the first ramp rate found in the database, but users seem to be seeing it use the last programmed ramp rate in the database.  It's good to see that you're working the group angle.  That's going to be the key to uniform lighting control.

-pete

JimmyGosling

  • Veteran
  • ***
  • Posts: 105
    • View Profile
Re: Advanced Lighting Controls
« Reply #8 on: March 26, 2008, 08:47:30 pm »
Pete-
to answer your question, I've just implemented ddamron's suggestions successfully.  I set the ramp rate manually on the device (a dimmable switch) and then turned the lights on and off with my md.  They did adhere to my slowed ramp setting.

As for the command chaining.  I found that chaining perhaps too many changes together (lights off/on/off/10% and text to speech) caused my movies to kick out when initially run (the setting was applied to the scene set for movies to start)
After removing some of those commands the movies played as they had initially.

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Advanced Lighting Controls
« Reply #9 on: March 26, 2008, 09:06:42 pm »
Pete-
to answer your question, I've just implemented ddamron's suggestions successfully.  I set the ramp rate manually on the device (a dimmable switch) and then turned the lights on and off with my md.  They did adhere to my slowed ramp setting.

Jimmy--

I think this will work until you pair your lights to a different switch with a different ramp rate.  Then you'll see the lights go to the new ramp rate.  Of course, most people won't want different ramp rates for the same light, but to be correct, that case won't work.

JimmyGosling

  • Veteran
  • ***
  • Posts: 105
    • View Profile
Re: Advanced Lighting Controls
« Reply #10 on: March 26, 2008, 09:19:59 pm »
I see, thanks for the clarification

JimmyGosling

  • Veteran
  • ***
  • Posts: 105
    • View Profile
Re: Advanced Lighting Controls
« Reply #11 on: March 26, 2008, 10:25:59 pm »
Guys - I've created this walk-through for the setup.  Please let me know if it passes the test, what additional data I have left out perhaps.
http://wiki.linuxmce.org/index.php/Advanced_Lighting_Settings

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Advanced Lighting Controls
« Reply #12 on: April 04, 2008, 12:20:14 am »
I love it when it's Sexy Time!

JimmyGosling

  • Veteran
  • ***
  • Posts: 105
    • View Profile
Re: Advanced Lighting Controls
« Reply #13 on: April 04, 2008, 02:09:13 am »
 ;D I swear, that's not mine!

...Must have been auto-generated...


...alright, it's mine...but the ladies love it.