homebridge-tp-link-tapo icon indicating copy to clipboard operation
homebridge-tp-link-tapo copied to clipboard

T310

Open GruneBrentPieters opened this issue 8 months ago • 0 comments

Describe The Bug

Failed to register child accessory "Temperature and Humidity Sensor"

Expected behavior

Sensor Registers and can be used in Homebridge

Logs

[30/06/2024, 22:38:18] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 22:38:27] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 22:58:40] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 22:59:17] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 23:01:33] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 23:03:39] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 23:07:14] [TPLink Tapo Platform] Initializing HomebridgeTPLinkTapo platform... [30/06/2024, 23:07:14] [TPLink Tapo Platform] Loading accessory from cache: Sideboard [30/06/2024, 23:07:14] [TPLink Tapo Platform] Loading accessory from cache: Lamp [30/06/2024, 23:07:14] [TPLink Tapo Platform] Loading accessory from cache: Floor Lamp Left [30/06/2024, 23:07:14] [TPLink Tapo Platform] Loading accessory from cache: Floor Lamp Right [30/06/2024, 23:07:14] [TPLink Tapo Platform] Loading accessory from cache: Smart Plug M [30/06/2024, 23:07:14] [TPLink Tapo Platform] Loading accessory from cache: Smart Hub [30/06/2024, 23:07:14] [TPLink Tapo Platform] Loading accessory from cache: Smart Button [30/06/2024, 23:07:15] [TPLink Tapo Platform] Restoring existing accessory from cache: Lamp [30/06/2024, 23:07:15] [TPLink Tapo Platform] Restoring existing accessory from cache: Floor Lamp Right [30/06/2024, 23:07:15] [TPLink Tapo Platform] Restoring existing accessory from cache: Sideboard [30/06/2024, 23:07:15] [TPLink Tapo Platform] Restoring existing accessory from cache: Floor Lamp Left [30/06/2024, 23:07:15] [TPLink Tapo Platform] Restoring existing accessory from cache: Smart Plug M [30/06/2024, 23:07:15] [TPLink Tapo Platform] Restoring existing accessory from cache: Smart Hub [30/06/2024, 23:07:15] [TPLink Tapo Platform] Command error: getCurrentPower > -1002 [30/06/2024, 23:07:15] [TPLink Tapo Platform] Command error: getCurrentPower > -1002 [30/06/2024, 23:07:15] [TPLink Tapo Platform] Command error: getCurrentPower > -1002 [30/06/2024, 23:07:15] [TPLink Tapo Platform] Command error: getCurrentPower > -1002 [30/06/2024, 23:07:15] [TPLink Tapo Platform] Restoring existing child accessory from cache: Smart Button [30/06/2024, 23:07:15] [TPLink Tapo Platform] Adding new child accessory: Temperature and Humidity Sensor [30/06/2024, 23:07:15] [TPLink Tapo Platform] Failed to register child accessory "Temperature and Humidity Sensor" of type "Unknown" (SMART.TAPOSENSOR) [30/06/2024, 23:07:16] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 23:07:22] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 23:07:28] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 23:13:20] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms [30/06/2024, 23:15:43] [TPLink Tapo Platform] Error sending command: getTriggerLogs SyntaxError: Bad control character in string literal in JSON at position 15 at JSON.parse () at KlapAPI.sendSecureRequest (/var/lib/homebridge/node_modules/homebridge-tp-link-tapo/src/api/KlapAPI.ts:75:23) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TPLink.sendCommandWithNoLock (/var/lib/homebridge/node_modules/homebridge-tp-link-tapo/src/api/TPLink.ts:243:24) [30/06/2024, 23:15:43] [TPLink Tapo Platform] Failed to check for updates, delaying 500ms

Plugin Config

{ "addresses": [ "10.0.0.141", "10.0.0.142", "10.0.0.143", "10.0.0.144", "10.0.0.145", "10.0.0.146" ], "name": "TPLink Tapo Platform", "email": "[email protected]", "password": "xxxxxxx_xxxxxxx", "platform": "HomebridgeTPLinkTapo" }

Plugin Version

4.1.0

Homebridge Version

1.8.3

Node.js Version

20.12.2

NPM Version

10.5.0

Operating System

Debian GNU/Linux Bookworm (12)

GruneBrentPieters avatar Jun 30 '24 11:06 GruneBrentPieters