kopiro / homebridge-tapo-camera

Homebridge plugin for TP-Link TAPO security cameras
ISC License
127 stars 11 forks source link

Error Code - Invalid Device Confirm #140

Closed mecoreyg closed 1 month ago

mecoreyg commented 3 months ago

Describe Your Problem: In HB, get red error code even though sometimes the camera work inside of Apple Home. Logs:

Error at 'getStatusAndUpdateCharacteristics'. Error: Invalid device confirm
    at TAPOCamera.refreshStok (/usr/local/lib/node_modules/homebridge-tapo-camera/src/tapoCamera.ts:205:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TAPOCamera.getAuthenticatedAPIURL (/usr/local/lib/node_modules/homebridge-tapo-camera/src/tapoCamera.ts:335:19)
    at /usr/local/lib/node_modules/homebridge-tapo-camera/src/tapoCamera.ts:415:23
    at TAPOCamera.getStatus (/usr/local/lib/node_modules/homebridge-tapo-camera/src/tapoCamera.ts:555:18)
    at CameraAccessory.getStatusAndUpdateCharacteristics (/usr/local/lib/node_modules/homebridge-tapo-camera/src/cameraAccessory.ts:234:27)
    at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-tapo-camera/src/cameraAccessory.ts:212:7)

Environment:

kopiro commented 1 month ago

Hey, please update to https://github.com/kopiro/homebridge-tapo-camera/releases/tag/v2.4.5 where I added more debug logs and post your logs again.

kopiro commented 1 month ago

Same as https://github.com/kopiro/homebridge-tapo-camera/issues/132