tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
385 stars 767 forks source link

(BUG) Zooz ZEN21 Switch not properly recognized #311

Open jareep opened 4 years ago

jareep commented 4 years ago

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!


About Your Setup

Expected Behavior

Tell us what you think should be happening The Zooz ZEN21 should register as a switch so it is controllable from within Homebridge and the Apple Home kit app.

Current Behavior

What happens instead of the expected behavior? The ZEN21 switch registers as a stateless programmable switch

Steps to Reproduce (for bugs)

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant

  1. Installed the ZooZ ZEN21 Device Handler into the Smart Things app
  2. Verified proper functionality (works in the Smart Things app, and with Google Home app)
  3. It does NOT register in Homebridge properly

Context

How has this issue affected you? What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world** Use the switch to turn on/off the light in my closet. As it is currently, this isn't possible.


Please include a copy of any relevant log output to assist in tracking down the bug Homebridge Log: [5/27/2020, 2:30:33 pm] INFO: Fetching SmartThings-v2 Devices. NOTICE: This may take a moment if you have a large number of device data is being loaded! [5/27/2020, 2:30:33 pm] GOOD: Refreshing All Device Data | Source: (First Launch) [5/27/2020, 2:30:35 pm] WARN: Devices to Remove: (0) [] [5/27/2020, 2:30:35 pm] INFO: Devices to Update: (0) [5/27/2020, 2:30:35 pm] GOOD: Devices to Create: (4) [ 'Master Closet Light', 'Master Fan', 'Master Lamp', 'Master Light' ] [5/27/2020, 2:30:35 pm] INFO: Added Device: (Master Closet Light | a7db07d8-afdb-4a97-b507-40561a99d5c1) [5/27/2020, 2:30:35 pm] INFO: Added Device: (Master Fan | a2dc2c12-db1a-4b8a-a36c-d10688b3a6cd) [5/27/2020, 2:30:35 pm] INFO: Added Device: (Master Lamp | 4360a27a-59ca-4aef-905d-6e357d442f6c) [5/27/2020, 2:30:36 pm] INFO: Added Device: (Master Light | fda0eb9e-e3f5-453c-af0c-438a11eb0361) [5/27/2020, 2:30:36 pm] ALERT: Total Initialization Time: (3 seconds) [5/27/2020, 2:30:36 pm] NOTICE: Unknown Capabilities: ["Zw Multichannel"] [5/27/2020, 2:30:36 pm] INFO: SmartThings DeviceCache Size: (4) [5/27/2020, 2:30:36 pm] INFO: WebServer Initiated... [5/27/2020, 2:30:36 pm] INFO: Sending StartDirect Request to SmartThings | SendToLocalHub: (false) [5/27/2020, 2:30:36 pm] INFO: SmartThings-v2 Hub Communication Established [5/27/2020, 2:30:36 pm] INFO: INFO: Your plugin version is up-to-date [5/27/2020, 2:30:36 pm] NOTICE: Sending Plugin Status to SmartThings | UpdateAvailable: false | newVersion: 2.3.4

Switch details:

bad-switch
vipul128 commented 3 years ago

I'm having the same issue. If I have the Zooz ZEN21 DTH installed for the switch it adds as an unclickable switch in HomeKit and is useless. If I change the DTH to the generic Z-Wave Switch, it adds to HomeKit just fine but renders the scene control (double and triple presses) ability of the switch useless on the physical switch.

vipul128 commented 3 years ago

Just to follow up, I figured out a way to work around the Zooz switches not working with the Zooz device handler. If you go into the Homebridge SmartApp and choose "Filter Out Capabilities" and then choose "Remove Buttons from these Devices" and finally check your Zooz devices. After Homebridge syncs up Smartthings, you'll see that all the default button values have been removed and you can now see the normal light icon and control your light normally. Hope this helps someone in the future.

briodan commented 3 years ago

thanks this fixed my same issue for the regular switches but only partially so for the dimmers (zooz and GE). i get two devices for the dimmers a controllable switch and a stateless switch like before. image