Dimmer Extender - Brightness at a Different Rate Each Time

Posted on
Mon Sep 12, 2016 12:24 pm
jay (support) offline
Site Admin
User avatar
Posts: 14148
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Dimmer Extender - Brightness at a Different Rate Each Ti

With Insteon that can be a concern. With Z-Wave, however, it's really not. It's much higher-speed than Insteon and handles collisions a whole lot better.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Sep 12, 2016 12:51 pm
nsheldon offline
Posts: 1885
Joined: Aug 09, 2010
Location: CA

Re: Dimmer Extender - Brightness at a Different Rate Each Ti

Ah. Good to know. Thanks.

Posted on
Sun Sep 18, 2016 1:54 am
philipbasile offline
Posts: 77
Joined: Jan 08, 2015
Location: NJ

Re: Dimmer Extender - Brightness at a Different Rate Each Ti

Is the max ramp time still 8 min ?
Is there a way to increase that to say 30 min or 60 min?

I have my bedroom lights ramp up over 30 min to simulate sunrise in the winter but it's a lot of hard coded scheduled events. A 30 min ramp rate would be better.

Thanks

Philip

Posted on
Sun Sep 18, 2016 2:18 am
nsheldon offline
Posts: 1885
Joined: Aug 09, 2010
Location: CA

Re: Dimmer Extender - Brightness at a Different Rate Each Ti

Hi Philip.

The ramp times are defined by SmartLabs and are hard coded into each INSTEON dimmer module. Dimmer Extender simply tells the dimmer to change brightness and which of it's built in rates to use when changing. There's no way to customize the dimming times.

Posted on
Wed May 09, 2018 3:00 pm
gsbrewer offline
Posts: 16
Joined: Jan 22, 2016
Location: Livermore, CA

Re: Dimmer Extender - Brightness at a Different Rate Each Ti

This does not work on all i2CS devices... I think maybe only on the earliest of them. Im not sure when but Insteon changed the command for Brightness/Ramp somewhere around i2CS version 41 (internal version 65) from command byte 0x2E to 0x34. I don't think it is documented as far as I have seen but I saw some chatter online about it. Im using the following modification that seems to work on the 100+ devices I have. More devices need to be tested to complete the elif possibilities (Im not sure how versions 66-68 work - I didn't have any).

Code: Select all
         theCommand = 0
         if theRampRate:
            if self.theIndigoDevice.version >= 69:
               #later model  i2cs engine uses command 0x34
               theCommand = 0x34
            elif self.theIndigoDevice.version <= 65:
               # i2 engine uses command 0x2E
               theCommand = 0x2E
            else:
               mmLib_Log.logWarning("### Unknown insteon version " + + " for device " + self.deviceName + " while attempting BrightenWithRamp. Defaulting to standard Brighten ")

         if theCommand:
            self.sendRawInsteonCommandLow([theCommand,self.makeRampCmdModifier(theValue, theRampRate)], 0, 0)
         else:
            # use traditional set command
            indigo.dimmer.setBrightness(self.devIndigoID, value=theValue)

Thanks and I love your plugin!

Posted on
Wed May 09, 2018 3:09 pm
gsbrewer offline
Posts: 16
Joined: Jan 22, 2016
Location: Livermore, CA

Re: Dimmer Extender - Brightness at a Different Rate Each Ti

Oh and the other thing I did was to send a request for status when the ramp timing should be complete, that way the indigo UI doesn't show the "New" value until it is actually completed brightening - it was a personal preference.

Sorry for the fowled up indentation above - I don't know how to post formatted text as it turns out.

Who is online

Users browsing this forum: No registered users and 1 guest