Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Invalid authentication data #163

Open
Flavien06 opened this issue Sep 6, 2024 · 4 comments
Open

Error: Invalid authentication data #163

Flavien06 opened this issue Sep 6, 2024 · 4 comments
Labels
question Further information is requested

Comments

@Flavien06
Copy link

Flavien06 commented Sep 6, 2024

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:

  • Plugin Version:2.4.9
  • Homebridge Version: 1.8.4
  • Node.js Version: v20.17.0
  • NPM Version: 10.8.2
  • Operating System: Raspberry Pi 3 Model B Rev 1.2 "Raspbian 11" / Kernel: Linux 6.1.65-v7+

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}}}

@Flavien06 Flavien06 added the question Further information is requested label Sep 6, 2024
@gitsawkit
Copy link

Same

@Exor
Copy link

Exor commented Sep 24, 2024

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
Copy link

+1

@dafyddthomas
Copy link

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants