homebridge-smartthings icon indicating copy to clipboard operation
homebridge-smartthings copied to clipboard

Configured Names for sub-switches are missing

Open PrzemyslawKlys opened this issue 2 years ago • 0 comments

Describe The Bug: It seems that this plugin is having an issue like most other Homebridge plugins with subswitches under single device being named the same way in homekit. For example I have a fridge and I see 2 switches, 4 contact sensors and tempreture where all are under the same name not knowing what those are.

Similar problems had plugins from HomeConnect and Unifi Protect and you can read about it here:

  • https://github.com/hjdhjd/homebridge-unifi-protect/issues/931
  • https://github.com/thoukydides/homebridge-homeconnect/issues/116

To Reproduce: Just open your device in Homekit and notice all having same name and it's a guessing game what each means.

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
    "name": "Smartthings",
    "BaseURL": "https://api.smartthings.com/v1/",
    "AccessToken": "da",
    "GarageDoorMaxPoll": 40,
    "PollLocksSeconds": 10,
    "PollDoorsSeconds": 10,
    "PollSensorsSeconds": 5,
    "PollSwitchesAndLightsSeconds": 10,
    "_bridge": {
        "username": "0E",
        "port": 37
    },
    "platform": "HomeBridgeSmartThings"
},

Screenshots:

Environment:

  • Plugin Version: 1.5.9
  • Homebridge Version: 1.6.1
  • Node.js Version: 18.16.0
  • NPM Version:
  • Operating System: Ubuntu

PrzemyslawKlys avatar Apr 30 '23 20:04 PrzemyslawKlys