reCamera 領域内動体検知 — デプロイガイド

GitHub でソースを見る
方法 1 · AI 特急レーン

ハードウェア選定が必要ですか、それとも導入準備完了ですか?

Web 上での手動設定やコマンド入力を省きたい方に。AI アシスタントが構成とアクセサリを自動算出し、準備後はワンクリックで自動導入します。

ソリューションのセルフ相談・デプロイ
プリセット

reCamera 2002

Install the native region motion detector on a reCamera 2002, and seamlessly integrate it with Home Assistant via MQTT. Detection runs directly on the camera without external models or cloud dependencies.

  • Device: A reCamera 2002 reachable over network or USB SSH.
  • Home Assistant: A local PC/server running Home Assistant, or an existing Home Assistant instance (HAOS or Docker).
  • Camera exclusivity: Only one camera pipeline runs at a time. The console coordinates exclusive access before starting the detector.
1

Install Motion Detection

Provide the camera address and SSH credentials. The deployer transfers and installs the Debian package, cleans up legacy motion services if present, and starts the native region motion detection service.

前提条件
  1. Connect the reCamera via USB or join it to the same local network.
  2. The USB connection defaults to 192.168.42.1; for Wi-Fi use the IP assigned by your router.
  3. Default password is recamera (or recamera.2 on earlier firmware).
トラブルシューティング
SymptomFix
SSH connection failsOver USB use 192.168.42.1; over Wi-Fi or Ethernet use the camera IP. The SSH user is recamera; the password is recamera, or recamera.2 on earlier firmware.
Detector does not startThe deployer stops other camera services (Node-RED, YOLO detector, face and fall-detection apps) before starting. If the preview stays empty, reboot the camera and run the step again.
An older motion package is installedThe step stops the legacy recamera-motion service and removes the package before installing.
リモート

USB connections typically use 192.168.42.1. When using Wi-Fi or Ethernet, enter the camera's current IP address. The default SSH username is recamera.


入力が必要な項目(SenseCraft Solution アプリで入力)
  • Device IP Address*既定値 192.168.42.1
  • SSH Password*
2

Deploy Home Assistant (Optional)

Deploy a canonical Home Assistant instance paired with an Eclipse Mosquitto MQTT broker.

If you already have an existing Home Assistant instance (such as HAOS on another machine) or an external MQTT broker, skip or uncheck this optional step and point reCamera to your existing broker address.

デプロイ方法

Deploy Home Assistant and Mosquitto broker on the local machine. Requires Docker Desktop running with ports 8123 and 1883 available.

前提条件
  1. Docker Desktop installed and running.
  2. Ports 8123 (Home Assistant) and 1883 (Mosquitto) available.
  3. If you already run Home Assistant or an MQTT broker elsewhere, skip this step.
トラブルシューティング
IssueSolution
Port 8123 or 1883 in useStop existing Home Assistant or Mosquitto instance, or skip this step to use the existing service
Docker fails to startLaunch Docker Desktop
Container crash loopEnsure at least 2 GB of memory is available
デプロイ後
  1. Open http://localhost:8123 and complete the initial account onboarding.
  2. In Home Assistant, navigate to Settings -> Devices & Services -> Add Integration, search for and select MQTT.
  3. Set the broker address to 127.0.0.1 (or your host IP), port 1883, leave username/password empty, and save.
  4. Mosquitto is now ready to receive auto-discovery configs and detection events from reCamera.
3

Verify Health & Live Preview

Verify camera streaming and live snapshot availability.

トラブルシューティング
IssueResolution
SSH connection failureVerify the camera IP, USB cable or network, username, and password.
Health check failureEnsure the device has finished boot and check http://<camera-ip>:8001/snapshot.jpg in your browser.
Camera preview unavailableVerify the previous application has released the camera pipeline; reboot the device and re-check.
デプロイ後
  • reCamera Console: Open http://<camera-ip>/ in your browser. Under the live view, configure detection parameters and draw polygon detection zones directly on screen.
  • Home Assistant Integration: In reCamera Console -> Integrations -> Home Assistant, enter your MQTT Broker address (e.g. host IP on port 1883). Home Assistant will automatically discover the binary_sensor.recamera_motion entity without any custom plugins.
  • RTSP Stream: rtsp://<camera-ip>:8554/live0
  • Live Snapshot: http://<camera-ip>:8001/snapshot.jpg