kopiro / homebridge-tapo-camera

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

Motion detection stopped working #75

Open Stianker1 opened 1 year ago

Stianker1 commented 1 year ago

Hello, Since the last update of the tapo homebridge plugin and the last update from tapo it has stopped registrering motion on my c200 cam. Via the tapo app i can detect motion but not via homebridge plugin.

Expected behavior: Motion detection

Plugin version : 2.2.3 Homebridge version : 4.50.2 Node.js version : 18.16.0 OS: raspbian GNU/Linux Bullseye (11)

Bill-Ice commented 1 year ago

With following steps I can see the problem like you said always.

  1. Once the camera and tapo serveice up and running, every thing works okay.
  2. But if the camera has been reboot, the motion detection won't works, only avaliable in Tapo app.

To work around, will need to restart the homebridge service OR restart the Child Bridges(depends on plugin config) every time after camera rebooted.

x23piracy commented 6 months ago

Hi,

is this still a problem with the recent version 2.3.4?

Best Regards X23

Bill-Ice commented 6 months ago

I'm not sure about the original poster's issue is exactly the same as me or not. But with my steps, the issue still exist in v2.3.4.

And which is fine for me now, i had a work around for it by another plugin "[homebridge-cmdtrigger]"

So my use case were connecting my TAPO cam to a homekit power switch, so whenever i turn on the switch i make a delay 3 minutes wait for TAPO cam boot finished and use plugin to execute "kill -15 $(pidof 'homebridge: homebridge-tapo-camera')". ==> this will restart the TAPO plugin.

cicciovo commented 5 months ago

It is solve?