RaresAil / homebridge-tp-link-tapo

A platform to implement the tp-link tapo device and Adaptive Lighting for light bulbs
https://www.npmjs.com/package/homebridge-tp-link-tapo
Apache License 2.0
66 stars 5 forks source link

Error recorded on every button press (but works OK) #72

Open danb1979 opened 10 months ago

danb1979 commented 10 months ago

Describe The Bug

Using two Hue V2 dimmers (linked to Hue bridge but configured via Homekit) to control two Tapo L530 bulbs. I assigned the buttons to a different % of light being on (0,33,66,100)

Although the correct action happens, every button press results in an error being logged in the UI.

I also got this message about the Plugin being slow.

Expected behavior

No errors

Logs

[11/14/2023, 1:53:39 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 834A) is running on port 51035. Failed to create listener for avahi-daemon server state. The system will not be notified about restarts of avahi-daemon and will therefore stay undiscoverable in those instances. Error message: Error: No such interface found [11/14/2023, 1:53:39 PM] [Tapo ] Launched child bridge with PID 30946 [11/14/2023, 1:53:39 PM] Registering platform 'homebridge-tp-link-tapo.HomebridgeTPLinkTapo' [11/14/2023, 1:53:39 PM] [Tapo ] Loaded homebridge-tp-link-tapo v4.0.0 child bridge successfully [11/14/2023, 1:53:39 PM] Loaded 2 cached accessories from cachedAccessories.0E1B54E27042. [11/14/2023, 1:53:39 PM] [Tapo ] Loading accessory from cache: Living Room Lamp [11/14/2023, 1:53:39 PM] [Tapo ] Loading accessory from cache: Amy main [11/14/2023, 1:53:40 PM] Homebridge v1.7.0 (HAP v0.11.1) (Tapo ) is running on port 52921. Failed to create listener for avahi-daemon server state. The system will not be notified about restarts of avahi-daemon and will therefore stay undiscoverable in those instances. Error message: Error: No such interface found [11/14/2023, 1:53:40 PM] [Tapo ] Restoring existing accessory from cache: Living Room Lamp [11/14/2023, 1:53:40 PM] [homebridge-tp-link-tapo] This plugin generated a warning from the characteristic 'Contact Sensor State': Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.. See https://homebridge.io/w/JtMGR for more info. [11/14/2023, 1:53:40 PM] [Tapo ] Restoring existing accessory from cache: Amy main [11/14/2023, 1:53:40 PM] [Tapo ] Command error: getCurrentPower > 1002 [11/14/2023, 1:53:40 PM] [Tapo ] Adding new accessory: Lauren [11/14/2023, 1:55:15 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 1:55:50 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 1:56:00 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 1:56:59 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:02:07 PM] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [11/14/2023, 2:02:07 PM] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [11/14/2023, 2:02:07 PM] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [11/14/2023, 2:02:07 PM] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [11/14/2023, 2:02:07 PM] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [11/14/2023, 2:03:04 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:03:24 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:03:40 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:09:27 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:11:48 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:11:49 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:12:36 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:21:25 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:21:41 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:21:50 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:22:26 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:26:45 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:27:07 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:28:57 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:30:18 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:32:35 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:33:12 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:34:28 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:35:03 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:45:54 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:45:59 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 2:46:08 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:51:47 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 2:57:01 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 3:29:48 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 3:43:40 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 3:44:08 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 3:44:16 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 3:44:23 PM] [Tapo ] Command error: brightness > -1008 [11/14/2023, 3:44:27 PM] [Tapo ] Command error: power > -1008 [11/14/2023, 3:48:19 PM] [Tapo ] Command error: power > -1008

Plugin Config

{ "bridge": { "name": "Homebridge 834A", "username": "xxxxx", "port": 51035, "pin": "748-58-143", "advertiser": "avahi" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "addresses": [ "192.168.50.114", "192.168.50.180", "192.168.50.190" ], "name": "Tapo ", "email": "xxxx", "password": "xxxxx", "_bridge": { "username": "0E:1B:54:E2:70:42", "port": 52921 }, "platform": "HomebridgeTPLinkTapo" }, { "name": "Tuya", "options": { "projectType": "2", "appSchema": "tuyaSmart", "deviceOverrides": [ { "id": "2AQNX-SL02", "category": "light" } ], "debug": false }, "platform": "TuyaPlatform" } ], "disabledPlugins": [ "homebridge-tapo-camera", "@0x5e/homebridge-tuya-platform" ] }

Plugin Version

4.0.0

Homebridge Version

3.0.17

Node.js Version

18.15.0

NPM Version

no idea what this is

Operating System

Synology DSM 7.2-64570