SmartThings Community

Hue Dimmer Switch Connected to ST


(Mattjmiddleton) #142

Which DTH are you using?

I’m using @Stephen_McLaughlin’s ZHA one, https://github.com/digitalgecko/mySmartThings/blob/master/devicetypes/digitalgecko/hue-dimmer-switch-zha.src/hue-dimmer-switch-zha.groovy

Been connected since mid November without a single hitch to both switches I’m using.

Cheers
Matt


(Ssshake) #143

I’m using one that was posted earlier in the thread. Its much more basic than the one you posted. I’ll give it a shot!

I’m a little confused how I can migrate my switches from the old one to this one. Or for that matter how I could run both in parallel. I’d like to configure one switch for both handlers and see which I prefer.


(Mattjmiddleton) #144

install the DTH in the IDE as you did with the first one.

Then from my devices in the IDE you can edit the device and select a different DTH from the drop down list.


(Ssshake) #145

hmm I tried exactly that but everything was grey in the app. The batter percentage wasn’t reported, stuff like that. I’m remote right now so I’ll try again when I get home. Maybe I actually have to use the switch for it to broadcast its state


(Ssshake) #146

yes after switching the device type and then hitting refresh/bind/button press, one of those :slight_smile: it’s working. I didn’t have to update core at all and now I get the battery life reported. Awesome!


(Ndmobil) #147

Could there be a new model of the switch on the market? Mine shows as
model: RWL021 (not RWL020)
raw description: 01 C05E 0830 02 01 0000 06 0000 0003 0004 0006 0008 0005.

I can’t get this DH to work properly… Reporting the battery status seems to work, but none of the buttons presses are registered.

Any advice?


(Mattjmiddleton) #148

All of mine are RWL021.

Any chance the switch is still connected to the hue bridge? You will need to remove from hue and reest to attach properly to ST.

Cheers
Matt


(Ndmobil) #149

Hi Matt,

It’s working now… not sure what i did differently this time though.

Thanks!


#150

I was using this for about a week, but couldn’t get over the latency controlling my lifx bulbs via CoRE, compared to the near-instant control of Hue lights directly… Ended up switching out the 3 lifx in the hallway for Hue white & ambience, and I think the WAF will be much higher this way.

Anyway, I think my main issue was more related to depending on Dimmer -> ST cloud -> CoRE -> lifx cloud -> lifx bulbs. It was leading to unreliable operation, and the response was usually ~3 seconds or so. Feels like a really long time when you’re trying to turn the lights on on your way down the hallway :frowning:

But I may come back to this device later on, it would be nice to be able to have a little remote to run functions or routines from!


(pillock) #151

Thanks to everyone who contributed to this, especially @mattjmiddleton for the pain-free screenshots of how to get it all set up. I think CoRE might have updated and changed one or two things but I figured it out (or perhaps I followed it wrong - where the instructions said “if hue dimmer is pressed, select blah blah” I couldn’t just say “if hue is pressed”, I had to say “if hue buttons 1, 2, 3 or 4 are pressed…” but that’s a minor thing.

Not yet set up any held states, I just wanted a switch for the bedroom light that can live on the wall behind the bed that either of us can operate.

So now for £19.99 I’ve got a four button switch that I bought off the shelf in the UK, rather than £30+ mail order or £20 sent from China in just 60 days…

For anyone reading this doing the same thing as me - if you buy a dimmer standalone, then follow the instructions to pair it carefully. You need to hold a button, search for it, name it, then reset the dimmer with a pin, and search again (don’t remove it from ST, so it won’t find anything, but the light will stop flashing).
I didn’t do this as I thought I knew better - WRONG. The button presses aren’t detected until the second search.


#152

There are quite a few button devices available for both the US and the UK that work well with SmartThings. :sunglasses: See the following list. (Devices are generally marked with region.)


(Jason) #153

No matter what I do, I can not get st to find my dimmer, not even a a generic thing. Any suggestions?


#154

My switch does not connect to Smartthings Hub either, I got a V2 hub


(Jordon) #155

This was just posted by a community yesterday and it works great for me so far. Adds each dimmer as a device for you and very easy setup.


(Kris) #156

My understanding though, is that this solution you’ve linked to requires a Hue Bridge?


(Kris) #157

Thanks @Sticks18! My understanding of this code you’ve written is to link the Phillips Hue dimmer remote directly to smartthings without a hue Bridge, is that correct?

Initially (Oct 2015) you said that this wasn’t totally stable, how’s it working now, 2 years later? Is this a reliable way for me to use the Hue 4 button dimmer switch with Smartthings?

Also, how does this implementation work compared to this one:


(Scott G) #158

I’m not sure if anything has changed. That remote is sitting in a bin somewhere since it wouldn’t stay connected. The newer integration you link to might be a better option. Hopefully that thread talks about reliability.


(Kris) #160

Yea, it seems like there’s been a few people saying that the other code works reliably, others saying it doesn’t.

I set mine up yesterday and programmed in two sets of lights. (On and off and one colour so 5 buttons).

It disconnected a couple of times as I was working on it (I think it happened when I would press too many buttons too fast), so I just pressed the reset button on the bottom and then it reconnected.

But it was still working this morning. I’ll post on that thread if it disconnects during normal use.


(alex w) #161

Has anyone been able to get the Hue Dimmer to pair with a ST2 hub running firmware 18.22?

I’ve been trying with and without a device handler and while the dimmer thinks it is paired (light goes from flashing orange to green) the hub never sees a new device. I can pair the dimmer with a Hue hub and have done both the short reset (1 second on setup switch).

I have a pile of these dimmers and it would be great to use them with the ST hub.


(Jonathan Sebright) #162

I’ve had a Hue RWL021 dimmer set up for quite some time, using smart lighting to do different things with each of the 4 buttons. It’s been very stable and works well.
I’ve recently tried to add another dimmer - directly to ST, I have others connected to Hue Bridge - and really struggled. Like some other posters I couldn’t get it to recognise more than one button. Tried switching DTH between Sticks18 and digitalgecko but still could not get the “numberOfButtons: 4” to show up in “Current States”.
I finally managed to get it to work by temporarily switching it to the “Zigbee Button” DTH. This added the magical 4 buttons and then when switching back to the Sticks18 DTH it stuck. I’ve now been able to add automations to Smart Lighting that are of type Button, device Remote, and Button number 1-4.
Hope this helps others setting up these remotes.