Help with Samsung Button in Alexa


I’m finally resorting to begging for help!

I have a hub, webcore and a samsung button.

I wish to use the button to turn some alexa compatible plugs on and off. I’ve been trying for ages and simply cannot get it to work

if it is set as a smartsense button alexa will not discover it, if i set it as a sensor then it does, but Alexa does not recognise a change in it’s condition.

i’ve googled everything i can think of, and spent ages looking on here and trying to follow the various suggestions but to no effect.

i’d happily paypal somebody an appreciation if they could help me getting this working with some simple instructions as to what to do.


Alexa doesn’t support buttons through SmartThings. You’ll have to use some kind of virtual motion or contact sensor for Alexa to trigger off of.


A button is not an actionable device. That is, you don’t turn it on and off by using the app, for example. it doesn’t really have a state like that. . When it is physically pressed, it sends a message to the hub, which then can trigger other events.

So you would do this in a different way than you were imagining. Echo doesn’t have to know the Samsung button even exists.

instead, it would work like this.

  1. you physically press the button

  2. the button sends a message to the hub, which then uses the official smartlighting feature to turn on a virtual switch which is also a sensor ( more on that below)

  3. when the virtual switch turns on, the virtual sensor is changed to “open“

  4. echo recognizes that the virtual sensor opened and triggers the echo routine (not a SmartThings routine) to turn on the Echo compatible, Smartthings incompatible device.

See the community FAQ on how to create the virtual sensor and use it in this fashion:

End result: pressing the Samsung button causes the other device to turn on. :sunglasses:

Oh, and the FAQ will take you to a list of steps to follow to get the virtual sensor set up. Make sure you follow them exactly in the order given or you will be able to see the device in your echo app but it will not trigger the echo routine.

1 Like

i will try again but i ran through it and got nowhere. but thankyou for replying.

What You described in your first post is not the method in the FAQ. You are not going to change the DTH for the button.

Instead, you are going to create an entirely new and separate virtual sensor using the DTH in the FAQ.

Then you are going to set up an automation so that the regular button turns on the virtual switch which is created with your virtual sensor when you use the DTH in the FAQ. .

Then you are going to create an echo routine which is triggered by the virtual sensor. Echo doesn’t have to know anything at all about your Samsung button.

ok - i was so nearly with you, but: DTH? and then after that i just lost it.

DTH equals device type handler. We don’t need to go into all of that right now, but you said in your first post that you changed the button to a sensor. So I assumed that you had changed the DTH. If not, my apologies for any confusion.

Seriously, though, just follow the instructions in the FAQ. There are a lot of people using that method and many of them are not programmers. It should work for you. :sunglasses:

And here’s the FAQ on using custom code which will explain the terms and what a DT is and all that if you want to go into it.

But basically it’s pretty simple. You’re just going to copy the code for the virtual sensor from the instructions in the FAQ and then you’re going to paste that into your own account. Then you will use your own account to create a new virtual device which will use that device type handler.

It sounds harder than it is. You just need to follow the instructions.

Once you’ve done that, two new devices will appear in the device list in your mobile app. One will be a sensor and one will be a switch. They will show up in the device choices in the app just like any other switch or sensor. :sunglasses:

(My apologies if I went too fast: most people who are already using webcore are familiar with these concepts.)

thank you, i’ll give it another go in the morning. I an very grateful for your assistance.

1 Like