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

Ring Doorbell stucks in ringing state forever #1584

Closed
zek opened this issue Sep 19, 2024 · 3 comments
Closed

Ring Doorbell stucks in ringing state forever #1584

zek opened this issue Sep 19, 2024 · 3 comments

Comments

@zek
Copy link

zek commented Sep 19, 2024

Describe the bug
When the Ring doorbell is pressed, it gets stuck in the ringing state for hours or even days. During this time, the doorbell cannot be rung again, and it does not detect any motion events

To Reproduce
Steps to reproduce the behavior:

  1. Press the Ring doorbell to trigger a ring event.
  2. Observe that the doorbell remains stuck in the "ringing" state indefinitely.
  3. Try to ring the doorbell again, which does not work.
  4. Notice that no motion events are detected while the doorbell is stuck.

Expected behavior
I expect the doorbell to return to its normal state after ringing (resetting its state after x seconds), allowing it to detect further rings and motion events without becoming unresponsive.

Screenshots

image
image
image

Server (please complete the following information):
Synology Docker

Hardware Model (please complete the following information):

  • Device: Ring Doorbell pro 2

Client (please complete the following information, if applicable):

  • Software: Scrypted NVR
@tealtwo
Copy link

tealtwo commented Sep 20, 2024

IMG_0059

    camera.onDoorbellPressed?.subscribe(async e => {
        this.console.log(camera.name, 'onDoorbellPressed', e);
        this.triggerBinaryState();
    });
    camera.onDoorbellPressedPolling.subscribe(async e => {
        this.console.log(camera.name, 'onDoorbellPressed', e);
        this.triggerBinaryState();
    });
    let motionTimeout: NodeJS.Timeout;
    const resetTimeout = () => {
        clearTimeout(motionTimeout);
        motionTimeout = setTimeout(() => this.motionDetected = false, 30000);
    };

Seems this bit of code isn’t timing out the doorbell press….

@zek
Copy link
Author

zek commented Sep 20, 2024

I would expect restarting Scrypted to reset the state but that also not working. It has been 1d5h32m I couldn't reset it yet.
Updating the code block you provided won't cover restarts I guess

@koush
Copy link
Owner

koush commented Sep 22, 2024

ring plugin was updated with new push receiver. there's no support for cloud cameras in scrypted nvr as noted in the documentation and nvr plugin readme.

@koush koush closed this as completed Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants