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

Configured Names for sub-switches are missing #170

Open PrzemyslawKlys opened 1 year ago

PrzemyslawKlys commented 1 year ago

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:

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: