I am having issues with scenes and button pushes. I have made a scene for my hue lights that sets color (sat 46, dimmer 50, hue 79). I used simple lighting rule to make wallMote button 1 to turn on and off. This worked with out issue. I made a second scene(sat 94, dimmer 5 and hue11) and a second simple lighting rule for button 2. When I hit button 2 scene two turns on and if I hit it again it turns off. If I hit button 1, scene 1 turns on but the color is the same as button two and level is what I set for scene one.
Version:1.0 StartHTML:000000208 EndHTML:000022706 StartFragment:000003770 EndFragment:000022637 StartSelection:000003770 EndSelection:000022633 SourceURL:http://192.168.29.194/installedapp/status/162
klight (On)Built In App
Settings
Name Type Value
Name | Type | Value |
---|---|---|
bulbs | enum | ["99","131"] |
cm131 | enum | RGB |
cm99 | enum | RGB |
dm131 | number | 6 |
dm99 | number | 5 |
hu131 | number | 11 |
hu99 | number | 11 |
name | text | klight |
noOff | bool | true |
sa131 | number | 94 |
sa99 | number | 94 |
sw131 | enum | on |
sw99 | enum | on |
Event Subscriptions
Source Event Handler Filter
Source | Event | Handler | Filter |
---|---|---|---|
Dinning room | switch | checkScene | true |
Dinning room | level | checkScene | true |
Dinning room | colorMode | checkScene | true |
Dinning room | colorTemperature | checkScene | true |
Dinning room | hue | checkScene | true |
Dinning room | saturation | checkScene | true |
kitchen light | switch | checkScene | true |
kitchen light | level | checkScene | true |
kitchen light | colorMode | checkScene | true |
kitchen light | colorTemperature | checkScene | true |
kitchen light | hue | checkScene | true |
kitchen light | saturation | checkScene | true |
Application State
Name Value
Name | Value |
---|---|
appLabel | (On) |
captured | true |
capturedDevs | {99={satValue=94, colorTempValue=null, CM=null, switchState=on, dimmerValue=5, hueValue=11}, 131={satValue=94, colorTempValue=null, CM=null, switchState=on, dimmerValue=6, hueValue=11}} |
complete | true |
installed | true |
oldBulbs | [99, 131] |
oldDimmers | |
oldSwitches | |
otherMap | {99={name=Dinning room}, 131={name=kitchen light}} |
sceneSet | false |
zigbeeMap | {} |
Scheduled Jobs
No Scheduled Jobs are set.
Version:1.0 StartHTML:000000208 EndHTML:000022709 StartFragment:000003770 EndFragment:000022640 StartSelection:000003770 EndSelection:000022636 SourceURL:http://192.168.29.194/installedapp/status/230
SunSet (On)Built In App
Settings
Name Type Value
Name | Type | Value |
---|---|---|
bulbs | enum | ["99","131"] |
cm131 | enum | RGB |
cm99 | enum | RGB |
dm131 | number | 50 |
dm99 | number | 50 |
hu131 | number | 79 |
hu99 | number | 9 |
name | text | SunSet |
noOff | bool | false |
sa131 | number | 46 |
sa99 | number | 87 |
sw131 | enum | on |
sw99 | enum | on |
Event Subscriptions
Source Event Handler Filter
Source | Event | Handler | Filter |
---|---|---|---|
Dinning room | switch | checkScene | true |
Dinning room | level | checkScene | true |
Dinning room | colorMode | checkScene | true |
Dinning room | colorTemperature | checkScene | true |
Dinning room | hue | checkScene | true |
Dinning room | saturation | checkScene | true |
kitchen light | switch | checkScene | true |
kitchen light | level | checkScene | true |
kitchen light | colorMode | checkScene | true |
kitchen light | colorTemperature | checkScene | true |
kitchen light | hue | checkScene | true |
kitchen light | saturation | checkScene | true |
Application State
Name Value
Name | Value |
---|---|
appLabel | (On) |
captured | true |
capturedDevs | {99={satValue=87, colorTempValue=null, CM=null, switchState=on, dimmerValue=50, hueValue=9}, 131={satValue=46, colorTempValue=null, CM=null, switchState=on, dimmerValue=50, hueValue=79}} |
complete | true |
installed | true |
oldBulbs | [99, 131] |
oldDimmers | |
oldSwitches | |
otherMap | {99={name=Dinning room}, 131={name=kitchen light}} |
sceneSet | false |
zigbeeMap | {} |
Scheduled Jobs
No Scheduled Jobs are set.
Turn On klight when WallMote button 2 pushedBuilt In App
Settings
Name Type Value
Name | Type | Value |
---|---|---|
action | enum | Turn On |
buttonDev | capability.pushableButton | WallMote |
buttonEvt | enum | pushed |
buttonNo | number | 2 |
howToTrigger | enum | Button Pushed/Held |
lights | capability.switch | klight |
toggle | bool | true |
Event Subscriptions
Source Event Handler Filter
Source | Event | Handler | Filter |
---|---|---|---|
WallMote | pushed.2 | buttonHandler | true |
Application State
Name Value
Name | Value |
---|---|
appName | Turn On klight when WallMote button 2 pushed |
cancel | false |
disabled | false |
installedCapabs | [] |
Scheduled Jobs
No Scheduled Jobs are set.
Turn On SunSet when WallMote button 1 pushedBuilt In App
Settings
Name Type Value
Name | Type | Value |
---|---|---|
action | enum | Turn On |
buttonDev | capability.pushableButton | WallMote |
buttonEvt | enum | pushed |
buttonNo | number | 1 |
howToTrigger | enum | Button Pushed/Held |
lights | capability.switch | SunSet |
toggle | bool | true |
Event Subscriptions
Source Event Handler Filter
Source | Event | Handler | Filter |
---|---|---|---|
WallMote | pushed.1 | buttonHandler | true |
Application State
Name Value
Name | Value |
---|---|
appName | Turn On SunSet when WallMote button 1 pushed |
cancel | false |
disabled | false |
installedCapabs | [PushableButton, ColorMode, ReleasableButton, HoldableButton, Battery, MotionSensor, ColorTemperature, SwitchLevel, Switch, ChangeLevel, Configuration, Light, Actuator, ColorControl, ContactSensor, Refresh, Sensor, TamperAlert] |
Scheduled Jobs
No Scheduled Jobs are set.
I would not use simple lighting to control the button device, I would use button controller. If you want a second tap of the button to turn the scene off, make sure that you have the scene set to not ignore off. Then in button controller, for each button you will toggle the virtual scene control device that is created after you create your scene. What this will do is turn on the scene or turn off the scene each time you press the button. Give that try instead.
I just added the button controller and I had the same issue. I think my real issue my be with the scenes. I have two scenes captured with the setting above. If I go to devices and turn on a scene it will turn the lights on in that scene and set the level but it will not set the hue and sat. It is the hue and sat of the bulbs the last time used. Is this the same for you?
I think this question came up before and @bravenel mentioned the capability could be added to scenes, but it's not there now. Can't test myself because I don't have any lights that are compatible. I currently only own IKEA Trådfri color bulbs and they only support CIE XY, which is not supported by HE directly or via the Hue Integration at this time.
Is the purpose of scenes to set the color and level of a group of lights. If so how do you activate the scene. I have tried from the device list, motion lighting, simple lighting and button controller. Every way I use turns the expected groups on and sets the level but it never sets the color. I wounder if there is a setting that is incorrect with the hue lights setup on my hub or maybe this is not how scenes were intended to be used.