kopiro / homebridge-tapo-camera

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

Automations on Privacy Mode not working #103

Closed Ryunako closed 6 months ago

Ryunako commented 6 months ago

Describe Your Problem: I have 2 automations set in HomeKit on the "Privacy" accessory of my camera. One is to disable Privacy when the last person go out of the house. The other is to enable Privacy when someone come back. I'm using a HomePod Mini as a hub. The camera is a Tapo C210. Testing the automation works well and the privacy can be turned on and off manually, even if I'm out of my house.

But sadly, after many tries, the privacy mode doesn't turn on or off automatically... Am I doing something wrong ?

Logs:

No error in logs

Plugin Config:

{
    "bridge": {
        "name": "Homebridge",
        "username": "X",
        "port": 1,
        "pin": "X",
        "advertiser": "bonjour-hap",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 1,
            "auth": "form",
            "theme": "dark-mode-purple",
            "tempUnits": "c",
            "lang": "auto",
            "platform": "config"
        },
        {
            "cameras": [
                {
                    "name": "Tapo C210",
                    "ipAddress": "X",
                    "password": "X",
                    "streamUser": "X",
                    "streamPassword": "X",
                    "disableAlarmAccessory": true,
                    "privacyAccessoryName": "Tapo C210 - Etat",
                    "alarmAccessoryName": "Tapo C210 - Alarme"
                }
            ],
            "_bridge": {
                "username": "X",
                "port": 1
            },
            "platform": "tapo-camera"
        },

Screenshots: IMG_2194 IMG_2193

Environment:

Thank you very much for your help.