Skip to content

1.9.0 - #141

Merged
rejas merged 5 commits into
mainfrom
develop
Nov 2, 2026
Merged

1.9.0#141
rejas merged 5 commits into
mainfrom
develop

Conversation

@rejas

@rejas rejas commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Add optional V4L2 motion backend

ManuZz80 and others added 5 commits September 17, 2026 13:22
Add optional V4L2 motion backend
Bumps [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/humanwhocodes/humanfs/releases)
- [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node)

---
updated-dependencies:
- dependency-name: "@humanfs/node"
  dependency-version: 0.16.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: veeck <gitkraken@veeck.de>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: veeck <gitkraken@veeck.de>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Approval should wait for hardware/integration validation of real V4L2 negotiation, ffmpeg lifecycle, camera recovery, and light-exposure behavior, which isolated mock-based tests cannot establish.

No open issues 🎉

What changed in this PR

Adds an optional server-side V4L2/ffmpeg motion-detection backend while preserving the browser backend as the default. The release also introduces light-change filtering, wake confirmation, lifecycle handling, documentation, and expanded test coverage.

Changes:

  • Adds V4L2 camera capture, frame processing, motion detection, wake filtering, and monitor lifecycle management.
  • Extends module configuration, status handling, and powered-off statistics.
  • Adds lifecycle, failure, race-condition, integration, and QA tests.
  • Updates documentation, changelog, version metadata, dependencies, and spelling configuration.

The V4L2 helper still has unresolved monitor lifecycle and state-consistency issues that require correction before approval.

File Description
tests/​node-helper-v4l2-wake-light-change.test.js Tests wake-time global-light classification and boundary conditions.
tests/​node-helper-v4l2-wake-confirmation.test.js Tests delayed wake confirmation and related configuration boundaries.
tests/​node-helper-v4l2-qa.test.js Covers V4L2 buffering, lifecycle, concurrency, timeout, and integration scenarios.
tests/​node-helper-v4l2-motion.test.js Tests frame buffering, motion thresholds, light filtering, timeout behavior, and configuration normalization.
tests/​node-helper-v4l2-lifecycle.test.js Tests camera startup, replacement, stale events, and failure handling.
tests/​node-helper-v4l2-hw01.test.js Tests gradual exposure changes and strong-motion wake behavior.
tests/​node-helper-mock.js Provides fake process spawning, streams, and V4L2 notifications for tests.
tests/​module-v4l2.test.js Tests V4L2 notifications and powered-off statistics.
tests/​module-mock.js Supports injectable clocks and modules without browser capture callbacks.
README.md Documents V4L2 setup, requirements, and configuration options.
package.json Bumps the project version and development dependencies.
package-lock.json Updates the dependency lockfile.
node_helper.js Implements the V4L2/ffmpeg backend, frame processing, wake logic, monitor control, and lifecycle management.
MMM-MotionDetector.js Adds V4L2 configuration, status handling, and shared power-off accounting.
cspell.config.json Adds V4L2-related terminology to the spelling dictionary.
CHANGELOG.md Records the 1.9.0 V4L2 release and dependency updates.

This pull request requires changes.

Review effort: Lite

@rejas
rejas merged commit 8ddfdc7 into main Nov 2, 2026
3 checks passed
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.

3 participants