iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

One Z-wave switch is being duplicated into Homebridge #165

Closed garyhooper closed 1 year ago

garyhooper commented 1 year ago

Describe The Bug: One (of several) Z-wave SmartThings switches is appearing twice. Removing both from cached accessories results in duplication again.

To Reproduce: Clear cached accessories.

Expected behavior: Each Z-wave switch should appear once.

Logs: See attached.

Plugin Config:

    "name": "SmartThings",
    "BaseURL": "https://api.smartthings.com/v1/",
    "AccessToken": "XXXXXXX",
    "GarageDoorMaxPoll": 40,
    "PollLocksSeconds": 10,
    "PollDoorsSeconds": 10,
    "PollSensorsSeconds": 5,
    "PollSwitchesAndLightsSeconds": 5,
    "platform": "HomeBridgeSmartThings"
}

Screenshots:

Environment:

garyhooper commented 1 year ago

After further investigation, the problematic device is an old one. It was a Z-wave device that died, and was removed from SmartThings. It does not appear in the SmartThings app, but this plug-in is still seeing it as being valid.

garyhooper commented 1 year ago

User error. Resolved.