
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
homebridge-camera-motion
Advanced tools
Motion camera plugin for Homebridge
npm install -g homebridge
npm install -g homebridge-camera-motion
Add to your ~/.motion/motion.conf
:
on_picture_save printf '%f\t%n\t%v\t%i\t%J\t%K\t%L\t%N\t%D\n' > /tmp/motion-pipe
target_dir /tmp
accessory
: "CameraMotion"name
: descriptive name of the Camera service and platformname_motion
: name of MotionDetector servicemotion_pipe
: path to a Unix named pipe where motion events are written (will be created if needed, should match output file pipe written to by Motion on_picture_save
)motion_timeout
: reset the motion detector after this many millisecondssnapshot_path
: path of latest snapshot, should match target_dir
+ '/lastsnap.jpg`ffmpeg_path
: path to ffmpeg for streaming (optional)ffmpeg_source
: URL to stream source, should match as configured by motionExample configuration:
"platforms": [
{
"platform": "CameraMotion",
"name": "Camera",
"name_motion": "Motion Sensor",
"motion_pipe": "/tmp/motion-pipe",
"motion_timeout": 2000,
"snapshot_path": "/tmp/lastsnap.jpg"
}
]
Creates a MotionSensor service and CameraSensor service.
Currently working: snapshots (still images) and motion detection. Video streaming requires more work (partially implemented but appears broken, needs more investigation).
MIT
FAQs
Motion detector camera plugin for Homebridge
We found that homebridge-camera-motion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.