kopiro / homebridge-tapo-camera

Homebridge plugin for TP-Link TAPO security cameras
ISC License
120 stars 10 forks source link

[homebridge-tapo-camera] Error during setup of camera undefined The "data" argument must be ... #73

Closed lngb closed 7 months ago

lngb commented 1 year ago

Hello ! I'm trying to configure my Tapo camera with Homebrige, thru "Homebridge Tapo Camera" Plugin, but once i inserted all the data for connection to rtsp protocol of the Tapo Camera, the following error is displayed in the Homebridge dashboard:

[homebridge-tapo-camera] Error during setup of camera undefined The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

It's not possibile to see the streaming neither in Homebridge App nor in HomeKit integration in Home App.

Someone could help me ? Thank you very much !

kopiro commented 1 year ago

Hello, can you paste your configuration?

joseansau commented 1 year ago

I have had the same problem, after a while of tests I have managed to solve it in the following way:

1.- Uninstall the plugin. 2.- Enter Homebridge settings:

3.- Reinstall the plugin (only install, do not configure yet). 4.- Update device (in my case Raspberry "apt-get update" and "apt-get upgrade"), in case there is an update of something. 5.- Restart the device. 6.- Configure plugin and cross your fingers.

Sorry for my English, I had to use the translator.

los1987 commented 11 months ago

Hi, I am also having the same problem.

here is my config. It is a TC70 camera.

[tapo-camera] Initializing tapo-camera platform... [24/07/2023, 20:50:46] [tapo-camera] Error during setup of camera undefined The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

Hope someone can help!

"platforms": [
    {
        "name": "Config",
        "port": 8581,
        "platform": "config"
    },
    {
        "name": "Nest",
        "googleAuth": {
            "issueToken": "xx
            "cookies": "xx
        },
        "platform": "Nest"
    },
    {
        "cameras": [
            {
                "ipAddress": "192.168.0.xx",
                "password": "xx",
                "streamUser": "xx",
                "streamPassword": "xx"
            }
        ],
        "platform": "tapo-camera"
    }
JagZ999 commented 11 months ago

Facing same issue.