LIFX Tip: Brightening & Dimming

Posted on
Sat Jun 17, 2017 10:48 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

LIFX Tip: Brightening & Dimming

Version 4.1.0 of the LIFX Controller plugin now supports all the standard Indigo UI controls.
In particular, it fully enables support for Device Actions > Light/Appliance Controls > Brighten by % | Dim by %

This means you can use another device to control the brightening and dimming of the LIFX device.

I have tested using a Z-Wave Remotec Scene Master ZRC-90 - see http://www.vesternet.com/z-wave-remotec-scene-master

You will need two triggers. The first to do the brightening/dimming while the button is held down and the second to request a LIFX status when the button is released

As an example, to brighten you need to set-up an Indigo Trigger as follows:
  • Trigger
      Type: Z-Wave Command Received
    • Event: Incoming Command Received from Device
    • Edit Event Settings...: From: ZRC-90 Device, Received: Button 1 Held Down
  • Condition: As required - not used?
  • Actions:
    • Type: Brighten by % (Light/Appliance Controls)
    • Device: LIFX device
    • Amount: 2% (or value as required)
The state in the Indigo UI gets updated continuously, but if you want to ensure that the LIFX device is totally consistent with Indigo then when you release the button, it is best to trigger a LIFX Status request, as follows (using example above):
  • Trigger
      Type: Z-Wave Command Received
    • Event: Incoming Command Received from Device
    • Edit Event Settings...: From: ZRC-90 Device, Received: Button 1 Released
  • Condition: As required - not used?
  • Actions:
    • Type: Request Full Status Update (Universal Controls)
    • Device:LIFX device

I guess the same could be done with an Insteon dimmer switch but I don't have any Insteon devices?

Hope this might prove useful :)

Posted on
Fri Jun 30, 2017 4:19 pm
kelmk offline
Posts: 85
Joined: May 17, 2017

Re: LIFX Tip: Brightening & Dimming

Hi I'm trying to set this up for an Insteon dimmer switch. I'm confused by the brighten by 2%. How do I get it to keep brightening and not just once? When the Insteon dimmer is held it only sends one command start brightening. How do you get the brighten to loop?
Thanks

Posted on
Sat Jul 01, 2017 12:27 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Tip: Brightening & Dimming

With the Z-Wave switch it continually sends dim/brighten commands while you hold the switch down.

Can the Insteon switch be configured to do this? I presume not. :cry:

I will take a look at enhancing the plugin to handle a single brighten command and to set up an internal timer loop to continue brightening/dimming until it receives a button released command.
I am assuming that with the Insteon switch that you get one trigger when you hold the button down and and that you get a further trigger when you release the button?

Not sure how complicated this will be to do but I will investigate it. :)

Posted on
Sat Jul 01, 2017 12:39 am
kelmk offline
Posts: 85
Joined: May 17, 2017

Re: LIFX Tip: Brightening & Dimming

Ah that makes sense. The insteon just sends one start dimming message and a stop dimming message. I might have a work around using a repeating schedule every second but your solution sounds cleaner. Thanks!


Sent from my iPad using Tapatalk

Posted on
Sat Jul 01, 2017 10:28 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: LIFX Tip: Brightening & Dimming

autolog wrote:
With the Z-Wave switch it continually sends dim/brighten commands while you hold the switch down.

Can the Insteon switch be configured to do this? I presume not. :cry:


No. However, a dimmable Insteon device will send a start brighten/dim when pressed (and held) and a stop brighten/dim when released so those can be used for triggers. So you you subscribe to those Insteon events then your plugin could do some dimming/brightening. I think something similar is sent by the Homeseer Z-Wave switches as well but I'm less clear on that.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Jul 05, 2017 8:09 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Tip: Brightening & Dimming

I will restart the work to look at this - I got sidetracked sorting out the no ack bug..
It is doable but won't be quite as quick as I had hoped - maybe a week or two (depends on other commitments). :)

Posted on
Sun Aug 20, 2017 1:06 am
kelmk offline
Posts: 85
Joined: May 17, 2017

Re: LIFX Tip: Brightening & Dimming

autolog wrote:
I will restart the work to look at this - I got sidetracked sorting out the no ack bug..
It is doable but won't be quite as quick as I had hoped - maybe a week or two (depends on other commitments). :)

Have you had a chance to look at this? No rush, just curious.



Sent from my iPad using Tapatalk

Posted on
Mon Aug 21, 2017 2:11 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Tip: Brightening & Dimming

kelmk wrote:
Have you had a chance to look at this? No rush, just curious.


Not yet but I will take another look at it shortly as I have doing some bug corrections to the LIFX plugin. :)

Posted on
Sun Aug 27, 2017 11:06 pm
koensayr offline
Posts: 90
Joined: Jul 10, 2013

Re: LIFX Tip: Brightening & Dimming

I'd be interested in figuring out a way to get it to function. So far, I can't seem to do it via triggers while holding the dimming button down. I can only get the adjustment to happen once the button is released (stop brighten status) as Jay suggested above.

Please let me know if there is anything I can do to help!

Posted on
Mon Aug 28, 2017 10:41 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Tip: Brightening & Dimming

I will start looking at this shortly but the UK Bank Holiday weekend has got in the way. :wink:

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests

cron