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)
dduff617 wrote:indigo/insteon allows one to create a group and then send on/off commands to that group (but not dim).
i realize the dimmer extender works by sending "direct" commands to indigo devices, but i'm curious if there might be any way to extend the dimmer extender so that the start/stop brighten/dim and the dim/bright by 1 step commands could be sent to a group (aka "scene", aka a PowerLink link).
Users browsing this forum: No registered users and 0 guests