Conditional Trigger on Device Brightness not working
Posted: Tue Dec 06, 2016 3:15 pm
I am trying to set a trigger for when a light goes to 100% brightness, using Lutron RadioRa2 lights. The idea is that a single tap on the dimmer switch brings the light to a default brightness (typically 85%), and a double tap takes it to 100%. So my code looks for a light going to 100%, basically enabling something extra to happen when I double tap a lightswitch. In this example, I want my son's nightstand light to come on when I double tap the wall switch for his overhead light.
I've included a screenshot of the trigger conditional below.
However, when I take the light to any arbitrary brightness level, the trigger is activated, as seen in the log below (I have the trigger dump the full contents of the indigo device into the log, upon execution, for troubleshooting):
Any ideas what the issue is here?
I've included a screenshot of the trigger conditional below.
However, when I take the light to any arbitrary brightness level, the trigger is activated, as seen in the log below (I have the trigger dump the full contents of the indigo device into the log, upon execution, for troubleshooting):
- Code: Select all
Lutron RRA2/Caséta Debug Received an Output message: ~OUTPUT,56,1,9.00
Trigger Sebastian Full Bright
Lutron RRA2/Caséta Received: Dimmer Sebastian - Overhead level set to 9.00
Lutron RRA2/Caséta Sending: "Sebastian - Nightstand Lamp" set brightness to 100 with fade 2
Lutron RRA2/Caséta Debug Sending network command: #OUTPUT,83,1,100,2
Script device: address : 56
batteryLevel : None
blueLevel : None
brightness : 9
buttonGroupCount : 0
configured : True
defaultBrightness : 100
description :
deviceTypeId : ra2Dimmer
displayStateId : brightnessLevel
displayStateImageSel : DimmerOn
displayStateValRaw : 9
displayStateValUi : 9
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 3595879
globalProps : MetaProps : (dict)
com.jimandnoreen.indigoplugin.lutron-radiora2 : (dict)
address : 56 (string)
notes : (string)
zone : 56 (string)
greenLevel : None
id : 1482389170
lastChanged : 2016-12-06 14:53:05
lastSuccessfulComm : 2016-12-06 14:53:05
ledStates : []
model : RadioRA 2 Dimmer
name : Sebastian - Overhead
onBrightensToDefaultToggle : False
onBrightensToLast : False
onState : True
ownerProps : com.jimandnoreen.indigoplugin.lutron-radiora2 : (dict)
address : 56 (string)
notes : (string)
zone : 56 (string)
pluginId : com.jimandnoreen.indigoplugin.lutron-radiora2
pluginProps : emptyDict : (dict)
protocol : Plugin
redLevel : None
remoteDisplay : True
states : States : (dict)
brightnessLevel : 9 (integer)
onOffState : on (on/off bool)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsColor : False
supportsRGB : False
supportsRGBandWhiteSimultaneously : False
supportsStatusRequest : True
supportsTwoWhiteLevels : False
supportsTwoWhiteLevelsSimultaneously : False
supportsWhite : False
supportsWhiteTemperature : False
version : None
whiteLevel : None
whiteLevel2 : None
whiteTemperature : None
Lutron RRA2/Caséta Debug Received an Output message: ~OUTPUT,56,29,6
Lutron RRA2/Caséta Debug Received an Output message: ~OUTPUT,56,30,1,28.00
Any ideas what the issue is here?