profile
viewpoint

Ask questionsButton Presses are sometimes lost

Verify the following before opening an trouble issue

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

  • [x] That OAuth is Enabled for the SmartApp under the IDE.
  • [x] The SmartApp and Device Handler are using the latest code available.
  • [x] That Both the SmartApps and Device Handlers have been Published for You in the IDE.

About Your Setup

  • I'm using a zwave Aeontec wallmote, which has 4 buttons on it
  • Homebridge SmartThings-v2 Plugin Version: 2.3.4
  • SmartApp version 2.3.3

Expected Behavior

All button presses trigger their associated homekit actions

Current Behavior

About 50% of my button presses are lost, they are showing up in the homebridge logs but not making it all the way to homekit. When the press fails, the associated homekit actions aren't being run, and the buttons aren't "shaking".

Log fragment from homebridge for a "lost" press:

May 16 15:06:50 raspberrypi4 homebridge[21610]: [5/16/2020, 3:06:50 pm] [SmartThings-v2] INFO: [Device Event]: (Aeon WallMote) [SEQUENCENUMBER] is 140
May 16 15:06:50 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:06:50 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:06:50 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:06:50 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:06:50 raspberrypi4 homebridge[21610]: [5/16/2020, 3:06:50 pm] [SmartThings-v2] INFO: [Device Event]: (Aeon WallMote) [BUTTON] is pushed

Log fragment when the same button is not lost:

May 16 15:08:08 raspberrypi4 homebridge[21610]: [5/16/2020, 3:08:08 pm] [SmartThings-v2] INFO: [Device Event]: (Aeon WallMote) [SEQUENCENUMBER] is 153
May 16 15:08:09 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:08:09 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:08:09 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:08:09 raspberrypi4 homebridge[21610]: Button Press Event... | Button Number: (3) | Button Value: pushed
May 16 15:08:09 raspberrypi4 homebridge[21610]: [5/16/2020, 3:08:09 pm] [SmartThings-v2] INFO: [Device Event]: (Aeon WallMote) [BUTTON] is pushed

I don't see anything different in the logs.

Context

I've worked around the issue by writing my own smartapp that makes HTTP requests to homebridge-button-platform when the buttons are pressed. None of the button presses are lost via this mechanism, though I have to make each button show up as a separate device. But I'd love to get rid of that custom thing and use your plugin for this!

Any ideas?

tonesto7/homebridge-smartthings

Answer questions jdebardi

@dsboulder any chance of you sharing your Smartapp code so I can use your HTTP Hub>Homebridge workaround for now?

Edit: I Found this which seems to do the trick. Messy with lots of Virtual buttons - be nice if it was a Smart App that monitored an existing real button vs a Device Handler that create a virtual button but it works.

I'm going to compare homebridge-button-platform button implementation compared to this smartthings bridge and see if I can fix it. The fact it works in the button platform proves it's an issue with this plugin rather than a homebridge or HomeKit oddity.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List