npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

iobroker.motioneye

v0.3.2

Published

Connect MotionEye cameras to ioBroker for motion detection, snapshots, and live streams

Readme

Logo

ioBroker adapter for MotionEye

Number of Installations Current version in stable repository NPM Version Downloads

COMMUNITY MAINTAINER AI

Paypal Donation


What this adapter does

Connect MotionEye cameras to ioBroker for motion detection, snapshots, and live streams. Control detection modes (off / still / sharp) from ioBroker or VIS and provide streamUrl HTML for any HTML-capable widget — no simple-api required for webhooks.

Status: Phase 2 — snapshot, stream, streamPulse, and streamUrl HTML for dashboards. Phase 1 covers modes, webhooks, and MotionEye sync.

Features

  • User-defined camera names in ioBroker (independent of MotionEye labels)
  • Dynamic channels under motioneye.0.<name>.* (lowercase folder names)
  • Built-in webhook server — no simple-api dependency
  • MotionEye Config API sync for modes and webhook URLs
  • _info.connection — instance shows when MotionEye is unreachable
  • Stream sibling relink after VIS re-render (multi-camera dashboards)

Data Points

Per camera (motioneye.0.<name>.*)

Channel folder names are lowercase (e.g. innenhof_ii, auffahrt).

| State | Type | Read | Write | Description | |-------|------|------|-------|-------------| | mode | value | yes | yes | off / still / sharp | | motion | indicator | yes | yes | Motion detected (auto-reset) | | snapshot | button | no | yes | Trigger snapshot | | stream | switch | yes | yes | Live MJPEG stream on/off | | streamPulse | button | no | yes | Stream on briefly (auto-off) | | streamUrl | text | yes | no | HTML <img> for html widget | | status | text | yes | no | Last sync status | | lastAction | text | yes | no | Last API action | | webhookUrl | url | yes | no | URL written to MotionEye | | motionEyeId | value | yes | no | MotionEye camera ID | | motionEyeName | text | yes | no | Original name in MotionEye |

Instance (motioneye.0._info.*)

| State | Type | Description | |-------|------|-------------| | _info.connection | boolean | MotionEye reachable | | _info.camerasOnline | number | Enabled cameras found in MotionEye | | _info.lastSync | text | Last status poll timestamp | | _info.motionEyeVersion | text | MotionEye server version | | _info.motionVersion | text | Motion daemon version |

Installation

  1. Install the adapter from the ioBroker admin interface (or clone this repo and use the dev-server)
  2. Create a new instance
  3. Configure Settings: MotionEye host, ports, credentials (optional), webhook host
  4. Add cameras on the Cameras tab (display name, MotionEye ID, optional media folder)
  5. Save and restart the instance — datapoints are created and webhook URLs are written to MotionEye

Camera modes

| Mode | Motion detection | Video recording | Webhook | |------|------------------|-----------------|---------| | off | no | no | no | | still | yes | no | yes | | sharp | yes | motion-triggered MP4 | yes |

Configuration

| Option | Default | Description | |--------|---------|-------------| | motionHost | (empty) | MotionEye server hostname or IP (required) | | motionPort | 7999 | Motion HTTP API (snapshots) | | motionEyePort | 8765 | MotionEye config API | | motionEyeUser | admin | MotionEye login user | | motionEyePassword | (empty) | MotionEye password (plain text, stored encrypted) | | webhookHost | (required) | ioBroker host IP or hostname reachable from MotionEye (used in webhook URLs) | | webhookPort | 8090 | Built-in webhook listener port | | motionResetMs | 15000 | Auto-reset for .motion after webhook | | statusPollIntervalSec | 300 | MotionEye status poll interval | | useMotionEyeConfig | true | Write mode, webhook URLs, and stream on/off to MotionEye (leave enabled for normal use) |

Per camera (Cameras tab): optional Media folder name under /var/lib/motioneye (e.g. Bambu instead of default Camera8). Applied on adapter start when config sync is enabled. Does not rename existing folders on disk.

Support

If you like our work and would like to support us, we appreciate any donation. (This link leads to our PayPal account and is not affiliated with ioBroker.)

Donate

Changelog

0.3.2 (2026-06-22)

  • (skvarel) Modified config/help

0.3.1 (2026-06-22)

  • (skvarel) Changed repo icon

0.3.0 (2026-06-22)

  • (skvarel) Camera channel folders are now lowercase (e.g. innenhof_ii instead of Innenhof_II) — aligned with other ioBroker adapters
  • (skvarel) Info states moved from 0_info to _info
  • (skvarel) Existing datapoint values are migrated automatically on adapter start — please check VIS, scripts, and automations that use fixed state paths

0.2.1 (2026-06-22)

  • (skvarel) Fixed adapter checker errors and warnings

0.2.0 (2026-06-22)

  • (skvarel) Added optional per-camera media folder name under /var/lib/motioneye (written to MotionEye on adapter start)
  • (skvarel) Added camera load from MotionEye (merges /config/list into camera table)
  • (skvarel) Added Help-Tab with setup guide, modes, datapoints, and stream/inventwo notes

Older changes

License

MIT License

Copyright (c) 2026 skvarel [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.