homebridge-tplink-smarthome: Duplicate Switch Devices in v8

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

I have HS200s and HS220s, all of which have worked perfectly for a couple of years now, until upgrading to v8 today. Now, Homebridge and HomeKit see duplicate devices for every switch. For each switch, I see a “switch” and an “outlet” in both Homebridge and HomeKit, both with the same name, but none of the switches work. They only function if you toggle the “outlet” instance. This has broken many automations since they referenced the actual switch.

What, if anything, has recently changed?

v8

Version

8

Node Version

v18.15.0

Homebridge Version

1.7.0

Which OS/Platform?

Other (Please describe)

Relevant log output

Running native package on Synology NAS

Configuration

"name": "TplinkSmarthome",
            "addCustomCharacteristics": false,
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "platform": "TplinkSmarthome"

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Reactions: 8
  • Comments: 19 (1 by maintainers)

Commits related to this issue

Most upvoted comments

My HS210 appears to have a Light and an Outlet switch. The Light used to work, now it is not working and only the Outlet switch type works.

On my Homekit, it shows duplicated for the same HS210 switch.

Reverted to 7.0.1, fixed the issue.

Just ran into this as well, reverting to 7.0.1 and restarting homebridge has fixed the problem for me for now.

Still reproducible with v8.0.1

Same here. Reverted to 7.0.1 to resolve

Also rolled back to 7.0.1 Tried deleting 7.0.1 plugin, removed the accessory folder and installed 8.0.1 in a child bridge. Attempt to add to HomeKit unsuccessful. Getting this message in logs after each plug was added:- Removing stale Characteristic: [Outlet.Brightness]

I’m seeing the same issue. Will revert to v7.x