homebridge-tplink-smarthome: This plugin slows down Homebridge

Expected Behavior

Plugin should work well in Homebridge 1.3+

Current Behavior

Plugin is non-responsive when controlling some TP-Link devices (HS300 outlets in my case) This also manifests in the Home app, certain plugs shows as “No Response” (the ones that have devices plugged in)

Steps to Reproduce (for bugs)

Homebridge 1.3+ started producing these warnings, but responsiveness was already an issue before.

Versions

  • Node: 10..21.0
  • Homebridge: 1.3.1
  • OS: Raspbian 10 on RPi 4 (32-bit)

Configuration

        {
            "name": "TplinkSmarthome",
            "platform": "TplinkSmarthome"
        }

Homebridge Log / Command Output

[2/26/2021, 7:56:41 AM] [homebridge-tplink-smarthome] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2/26/2021, 7:56:41 AM] [homebridge-tplink-smarthome] This plugin slows down Homebridge. The read handler for the characteristic 'Outlet In Use' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2/26/2021, 7:56:41 AM] [homebridge-tplink-smarthome] This plugin slows down Homebridge. The read handler for the characteristic 'Amperes' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2/26/2021, 7:56:41 AM] [homebridge-tplink-smarthome] This plugin slows down Homebridge. The read handler for the characteristic 'Total Consumption' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2/26/2021, 7:56:41 AM] [homebridge-tplink-smarthome] This plugin slows down Homebridge. The read handler for the characteristic 'Apparent Power' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2/26/2021, 7:56:41 AM] [homebridge-tplink-smarthome] This plugin slows down Homebridge. The read handler for the characteristic 'Volts' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2/26/2021, 7:56:41 AM] [homebridge-tplink-smarthome] This plugin slows down Homebridge. The read handler for the characteristic 'Consumption' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

Disabled optional characteristics this morning:

"addCustomCharacteristics": false

and early info is that it does make a difference - everything’s loading much faster now, will wait a bit to make sure this isn’t just a factor of the Homebridge reboot.

I’m no longer receiving the warnings with 6.3.0-beta.0, however these show up after the tp-link device (hs110) is added to homebridge

[01/03/2021, 18:58:40] [homebridge-tplink-smarthome] This plugin generated a warning from the characteristic 'Amperes': Characteristic not in required or optional characteristic section for service Service. Adding anyway.. See https://git.io/JtMGR for more info.
[01/03/2021, 18:58:40] [homebridge-tplink-smarthome] This plugin generated a warning from the characteristic 'Total Consumption': Characteristic not in required or optional characteristic section for service Service. Adding anyway.. See https://git.io/JtMGR for more info.
[01/03/2021, 18:58:40] [homebridge-tplink-smarthome] This plugin generated a warning from the characteristic 'Apparent Power': Characteristic not in required or optional characteristic section for service Service. Adding anyway.. See https://git.io/JtMGR for more info.
[01/03/2021, 18:58:40] [homebridge-tplink-smarthome] This plugin generated a warning from the characteristic 'Volts': Characteristic not in required or optional characteristic section for service Service. Adding anyway.. See https://git.io/JtMGR for more info.
[01/03/2021, 18:58:40] [homebridge-tplink-smarthome] This plugin generated a warning from the characteristic 'Consumption': Characteristic not in required or optional characteristic section for service Service. Adding anyway.. See https://git.io/JtMGR for more info.