[OBSOLETE] OSRAM Lightify Smart Dimming Switch(Ultra-fast Zigbee Handler)

I Haven’t delved into webcore yet, just actually read about it for the first time yesterday. I’ve been using core for a while now and it was a game changer for me. I think you may find it fairly easy to use to make your things do what you want once you have the smartapp installed.

You won’t regret it. Jump in

Appreciate the suggestion. All in and not looking back… No complaints on Webcore. Down to that, alexa, and actiontiles to do all I need (for now).

@JDRoberts i am currently using the custom DH that supports dimming. how do i switch to using the official DH provided by ST? cant find what type of device to use to get to that.

thanks!

Change to ZigBee Button.
You will then have 2 buttons with 2 actions each; press and held.

Core/webcore can easily increment up/down based on any 1 of those 4 actions but I don’t know of a way to have it work like I’d expect a dimmer to work because both pressed and held don’t report what action is performed until the button is released so holding it and having it dim up/down [value]% for each [time interval] it is held for doesn’t seem possible.

For now I’ve settled with:
Press 1: Turn on all lights in the room to 100% #don’t just turn on because most lights will return to last custom value which is likely not desirable if you control lights with other smartapps/pistons/…
Press 2: Turn off all lights in the room
Held 1: Turn on 1 corner light to 1% as a night light (or toggle a/c, or…)
Held 2: Dim all lights in the room to 10%.

tried that. but seems to give me a generic remote image with no actions. probably doing something wrong …

Yes, if you are looking to trigger a button press for the device using the smartthings things tab like you’d toggle on or off a light bulb then your out of luck. In my experience, the button is there so you dont have to use the app that way. (To improve wife acceptance factor of building a smart home). The button is there to trigger an experience you can also trigger from smartapps like webcore/alexa/actiontiles/… or routines by simply pressing or holding a button on the wall like people have been trained to do over the last ~150 years

ahh, got it. i like that the other DH also captures switch state, something that i use extensively in webcore only because wife wanted physical buttons not a dumb smartapp. :slight_smile:

may be i am better off just editing the other DH to remove the light control.

thank you.

I don’t quite get what you are trying to achieve which webcore/osram as zigbee button cant do but I honestly don’t recall the interface/features using the other DH. I was put off by having to specify the device network and endpoint id’s as they changed from time to time.

having the switch state, allows me to do things in webcore based on switch states on or off. could i replicate that by creating a global variable in webcore and setting it on when one of the buttons is pushed and off when the other button is pushed? sure. but then i dont have a convenient way of going to one place aka ST app and checking state or toggling the state from there should i need to.

You can try using a virtual switch. Many of my scenes use them but in my case webcore immediately turns them off.

Virtual switch named chill.
Ask alexa to turn on chill which turns the virtual switch on
Webcore detects the switch being turned on and turns on some zwave switches controlling Scentsy candle and lava lamp, turns 2 overhead lights off, turns the remaining 4 on to 10% and flips their color to red, lastly turns the virtual switch chill off.
I can then have that virtual switch triggered from app, actiontiles, alexa, osram button.

…or if the custom device handler works for you then stick with it. It did not work out for me.

nice!

thank you. i think i am going to stick with the DH and modify it to remove the light control because the rest of it works exactly right for my use case.

Thanks for this. Works great for on/off, but can’t make the long press dimmer work.

What am I missing? Do I need to set up another button somewhere?

So far my favorite custom device. It’s like you read my mind. Thank you!

You were looking for applications for the buttons 7 and 8 (down then up and up then down).
I can think of a few things;
We have 3 of these switches and an alarm siren with some other security features. I can see programming a ST routine to set off alarm and tie it to button 7 of each of these switches. My fiance would have a panic button essentially in each of the rooms.

Similarly, I like to have a routine TURN EVERYTHING OFF that I use/call for various things. I’m trying to get button 6,7, or 8 tied to it but while I see the button show up in the Events, it doesn’t trigger the routine for some reason. I see a follow-on event that indicates which button I released first if that’s a clue (I’m not adept enough to release both buttons at exact same time :slight_smile:

Currently my routine is tied to button 6.
Here’s an event log:
Dimmer in Kitchen button 6 was pressed
Name Value
archivable true
data
{
“buttonNumber”: 6
}
date 2017-11-09 9:39:07.458 AM CST (2017-11-09T15:39:07.458Z)
description Dimmer in Kitchen button 6 was pressed
displayed true
eventSource DEVICE
isStateChange true
isVirtualHub false
linkText
name button
rawDescription catchall: 0104 0008 01 01 0140 00 C80F 01 00 0000 03 00
translatable false
unixTime 1510241947458
value down released
viewed false

Thoughts?

Okay, so I’m new to ST. Can someone help me or point me in the right directions, how do I get this thing to work? I tried following the instructions OP provided but apparently, I’m missing something. Please help… I already bought the switch and everything. I’m sorry if I’m missing something obvious but I’ve never done this…

What step are you on? I’m assuming you installed the device handler? After pairing the switch I had to go into the IDE and manually switch the device handler to the new one, I’m assuming because there is now a default one in St. After doing that everything worked perfectly.

I am having problems getting this to work with webCore. I am trying to write a piston to change color temp by pressing the on button (button #2) when the light is already on. It seems to not detect that the button has been pushed when evaluating the logic, even though the log shows the button being pressed. Any ideas?

execute
 if
  Any of K1's or K2's switch is on
 and
  Any of K1's or K2's colorTemperature is less than 2800°K
 and
  Kitchen Switch's button #2 gets pushed

then
 with
  K1 and K2
do
  Set color temperature to 5000°K;
end with;

else

end if;

end execute;

The event shows under the device

    Kitchen Switch button 2 was pressed

Here is the log from my test

+0ms	╔Received event [Kitchen Switch].button = on with a delay of 116ms
+64ms	║RunTime Analysis CS > 10ms > PS > 29ms > PE > 26ms > CE 
+73ms	║Runtime (38015 bytes) successfully initialized in 29ms (v0.2.0fe.20171109) (72ms)
+74ms	║╔Execution stage started
+88ms	║║Comparison (enum) on is (string) on = true (1ms)
+90ms	║║Condition #4 evaluated true (10ms)
+99ms	║║Comparison (integer) 2703 is_less_than (integer) 2800 = true (1ms)
+101ms	║║Condition #5 evaluated true (11ms)
+105ms	║║Comparison (enum) on gets (string) pushed = false (0ms) 
+107ms	║║Condition #6 evaluated false (5ms)
+107ms	║║Condition group #1 evaluated false (state did not change) (29ms)
+109ms	║╚Execution stage complete. (36ms)
+117ms	╚Event processed successfully (118ms)

I had this working previously using the default DH but I could not find a solution to do dimming that I liked. This DH gives me dimming just like the default switch/gateway function but now I cant use webCore to change bulb temp.

yes i have created the device handler, but i have no idea what do to next. Is there a youtube video. how do i go into the IDE and manually switch the device handler to a new one?

Thanks for this! Just got the switch today and started using the DH posted at the top of the page. Everything is working, but I had a few questions.

Is there a way to speed up the dimming intervals? It takes quite a while to go up and down. Perhaps you could add a setting to adjust the % steps between interval?

When the bulbs are off, and I press down to turn them on at a dim level, the bulbs initially turn on full then dim down to a low level. Could they just come “up” from zero to the set dim level instead of first full brightness?

Other than those 2 things, this is working just as I had expected it to work out of the box :slight_smile:

Thanks, this was exactly what I was looking for!!