koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.91k stars 237 forks source link

Dahua Motion not working after adding custom motion sensor #1426

Closed Trilis29 closed 3 months ago

Trilis29 commented 3 months ago

Describe the bug Added custom motion sensor and removed later, now not receiving motion from NVR.

To Reproduce Steps to reproduce the behavior: Add Armcrest plugin, add camera, add custom motion sensor, save, ,delete custom motion sensor.

Expected behavior Motion events should be sent.

Screenshots image

koush commented 3 months ago

custom motion sensor overrides all sensors.

Trilis29 commented 3 months ago

@koush but that is a bug, why are you closing? If removing custom motion sensor default motion values from NVR should be set. Now only possible when deleting the camera and readding to get it working without custom motion sensor

koush commented 3 months ago

You may need to restart the camera plugin to make it register the original sensor?

Trilis29 commented 3 months ago

Tried to restart camera plugin, homekit, even scrypted did not register original one. Only recreating camera helped

From: Koushik Dutta @.> Sent: Monday, April 8, 2024 10:33 PM To: koush/scrypted @.> Cc: Trilis29 @.>; Author @.> Subject: Re: [koush/scrypted] Dahua Motion not working after adding custom motion sensor (Issue #1426)

You may need to restart the camera plugin to make it register the original sensor?

— Reply to this email directly, view it on GitHub https://github.com/koush/scrypted/issues/1426#issuecomment-2043506897 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMKNSAJQHFBST5RIC6EEJPTY4LWGDAVCNFSM6AAAAABF5GPGE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGUYDMOBZG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AMKNSAOE7JDWSQ4XEXATEW3Y4LWGDA5CNFSM6AAAAABF5GPGE2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZZVYNC.gif Message ID: @. @.> >