Anyone had any luck using the Smartthings buttons without smartthings integration? They’re cheap and don’t require a hub like the Xiaomi buttons (in theory). Experimenting with a Conbee / native ZHA setup and with the newest deCONZ firmware on the Conbee I was able to get a button to join my zigbee network. It registers to Home Assistant as a Samjin Button. When I debug zigpy I can see events as below. How would I map these to something I could trigger automation on?
do any of the states change when you press the button? If so, you may need to create a sensor using templates so you can map those values to something more meaningful like on and off or pressed and idle
You shouldn’t need to reset the state. Instead, you should read the command off the zha_event data. If you’re interested, I have written an AppDaemon app that allows actions to be defined for tap, hold, and double:
My method is to use the Events developer tool (hassio.local/dev-event). Starting within the last couple versions, you can use that view to temporarily listen for an event and get the data for each event. So, go in there, put zha_event as your event to subscribe to, and click Start Listening. Then, carry out your actions on your devices and take note of the data that shows up in the developer tool.
I have a SmartThings button enrolled in Phoscon/DeConz. Under HA integrations, it found the deConz gateway, and it sees the button, but the only two entities in HA are the battery level and the temperature. How do I get HA to see the actual button press entity?
I just bought one of these. When I paired it, it works for one or two button presses and then stops. If I remove and re-add it, it works again for a couple of presses, then stops…
I had the same problem with the smartthings hub, I had to repair it every-time after less than a day. Apparently it goes to sleep to save battery, mine was a heavy sleeper. I sent it back eventually.