kopiro / homebridge-tapo-camera

Homebridge plugin for TP-Link TAPO security cameras
ISC License
134 stars 12 forks source link

Error: Invalid authentication data #163

Open Flavien06 opened 2 months ago

Flavien06 commented 2 months ago

Describe Your Problem:

I followed the steps of option 2 with blocking via AdGuard Home (https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/blob/main/add_camera_with_new_firmware.md) For "TAPO username" I trie, empty, my tapo cloud email account and stream user and admin

Logs:

Error: Invalid authentication data
    at TAPOCamera.refreshStok (/var/lib/homebridge/node_modules/homebridge-tapo-camera/src/tapoCamera.ts:383:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Plugin Config:

        {
            "cameras": [
                {
                    "name": "Garage",
                    "ipAddress": "192.168.1.29",
                    "username": "xxxxx",
                    "password": "xxxxx",
                    "streamUser": "xxxxx",
                    "streamPassword": "xxxxx",
                    "disableStreaming": true,
                    "eyesToggleAccessoryName": "Camera Confidentiel",
                    "alarmToggleAccessoryName": "Camera Alarme",
                    "notificationsToggleAccessoryName": "Camera Notification",
                    "motionDetectionToggleAccessoryName": "Camera Detection",
                    "ledToggleAccessoryName": "Camera LED"
                }
            ],
            "platform": "tapo-camera"
        },

Environment:

Edit : For information this script works ``` #!/bin/python3 from pytapo import Tapo host = "192.168.1.29" username = "admin" password = "xxxxxx" try: tapo_camera = Tapo(host, username, password) camera_info = tapo_camera.getBasicInfo() print("Connexion réussie!") print("Informations de la caméra :") print(camera_info) except Exception as e: print(f"Erreur lors de la connexion : {e}") ``` > ./tapo.py > Connexion réussie! > Informations de la caméra : > {'device_info': {'basic_info': {'ffs': False, 'device_type': 'SMART.IPCAMERA', 'device_model': 'C310', 'device_name': 'C310 2.0', 'device_info': 'C310 2.0 IPC', 'hw_version': '2.0', 'sw_version': '1.3.11 Build 231116 Rel.69367n(4555)', 'device_alias': 'Tapo_C310_F2ED', 'avatar': 'Garage', 'longitude': -5284, 'latitude': 474310, 'has_set_location_info': 1, 'features': '3', 'barcode': '', 'mac': '40-AE-30-65-F2-ED', 'dev_id': 'xxxxxxxxxxxxxxxxxxxxxx', 'oem_id': 'xxxxxxxxxxxxxxxxxxxxxxxxxx', 'hw_desc': '00000000000000000000000000000000', 'is_cal': True}}}
SAWKIT-17 commented 2 months ago

Same

Exor commented 2 months ago

Same here. My cameras auto updated their firmware and now no longer work in homebridge. According to this home assistant Issues thread, Tapo is planning to release an updated app in November 2024 that will once again allow 3rd party integrations.

GergoKormoczy commented 1 week ago

+1

dafyddthomas commented 1 week ago

Same