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

Battery cams api fixes #1719

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

apocaliss92
Copy link
Contributor

@apocaliss92 apocaliss92 commented Feb 1, 2025

Improves handling of online state on Reolink battery camses, increasing the checking on the online state and allow the snapshot plugin to get more relevant snapshots
Fix for battery camera motion reporting, it comes as an event instead of Ai result

}
catch (e) {
this.console.log('Error in getting battery info', e);
}
}, 1000 * 60 * 30);
}, 1000 * 10);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems excessively frequent.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't making this request keep the battery camera awake?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No this won't wake it up, this will be handled by the hub and battery cams only work with hub on scrypted
What value would you suggest?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think preserving existing interval for non battery cams is preferable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The interval won't start for non battery cams at all

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

Successfully merging this pull request may close these issues.

2 participants