プラグ&プレイ AI カメラ — デプロイガイド

GitHub でソースを見る
プリセット

reCamera

Install object detection, text reading, face analysis, fall detection or people counting from the reCamera console, switch between them in the browser, and optionally send the results to Home Assistant over MQTT.

  • Devices: reCamera; steps 4 to 6 (Home Assistant) also need a computer or reComputer R1100.
  • Network: this computer needs internet access while installing apps.
  • Limit: one app runs at a time. Switching apps stops the previous one and its RTSP and MQTT output; nothing is uninstalled.
1

Update the reCamera Console

Install console 0.5.5. The step is skipped if the camera is already on that version.

前提条件
  1. Connect the camera over USB (address 192.168.42.1), or put it on the same network as this computer (use the IP your router shows).
  2. Username recamera, default password recamera (older units use recamera.2).
  3. New devices need SSH enabled first: connect over USB, wait about two minutes, open http://192.168.42.1/#/security, sign in, and turn on the SSH toggle.
トラブルシューティング
SymptomFix
Cannot connectUSB: use 192.168.42.1; network: check your router for the IP
Password rejectedDefault is recamera; units with older firmware use recamera.2
Install failedRestart the camera and run the step again
Node-RED stopped workingThe console has taken over the camera; switch back from the console's system settings
Want the original panel backHold the User button while plugging in power and release when the red LED stops blinking and stays on; this factory-resets the camera

2

Choose and Install an App

Pick an app from the dropdown and press Deploy. Download, install and activation run automatically.

前提条件
  1. This computer has internet access; the camera does not need it.
  2. Address and password carry over from the previous step.
  3. An app with its models can be a few hundred megabytes; progress is shown during deployment.
トラブルシューティング
SymptomFix
Dropdown is empty or shortThis computer cannot reach sensecraft-statics.seeed.cc; fix the network and press refresh
Login rejectedUse the camera's credentials, default recamera / recamera (recamera.2 on older units). Repeated failures lock login for 60s
Console not answeringThe camera may still be restarting; wait a minute and deploy again
"busy" errorThe console is running another app operation; retry when it finishes
Not enough storageUninstall an unused app from the console first
Installed but not runningCheck its status on the console's Applications page; if files are missing, deploy this step again
Camera won't start after enabling privacy blurUnplug the camera and plug it back in; a software reboot is not enough

デプロイ後

The camera is running the app you picked. The apps answer ONVIF, so an NVR or video management system can discover the camera and pull its stream.

Steps 4 to 6 are optional and bring the results into Home Assistant.

3

Open the Console

Open the camera's console and check the app's detection results.

前提条件
  1. Sign in with the camera credentials from step 1.
  2. On Applications, press Debug on the active app for the live view and detection results.
  3. Switch apps on Applications; Install from cloud lists the rest of the catalog.
トラブルシューティング
SymptomFix
Page won't loadWait a minute for the camera to finish restarting, then refresh
Login rejectedUse the camera's credentials, default recamera / recamera
Live view is blackNo app is running; go back one step and deploy an app

デプロイ後

The console is at http://<camera-ip>/: install or switch apps, check the live view, and change network, privacy and system settings.

4

Deploy Home Assistant

Start Home Assistant and an MQTT broker. Skip this if you already run both.

デプロイ方法
前提条件
  1. Docker Desktop installed and running.
  2. At least 2 GB free disk.
  3. Ports 8123 and 1883 free.
トラブルシューティング
SymptomFix
Port 8123 or 1883 busyStop the existing Home Assistant or Mosquitto, or skip this step and use it
Docker not startingOpen the Docker Desktop application
Container keeps restartingMake sure at least 2 GB RAM is available
デプロイ後
  1. Open http://localhost:8123 and create your admin account in the onboarding wizard.
  2. The MQTT broker listens on port 1883 of this machine. Step 5 asks for its address.
5

Connect the Camera to Home Assistant

Point Home Assistant and the camera at the same broker. The entities appear automatically.

前提条件
  1. Home Assistant is running and you can sign in.
  2. An MQTT broker reachable from the camera (from step 4, or your own).
  3. An app is running on the camera.
トラブルシューティング
SymptomFix
Test Connection fails on the cameraEnter the IP of the broker's machine, not localhost
Saved, but nothing appears in Home AssistantConfirm the MQTT integration in Home Assistant uses the same broker and port, then restart the running app from the console
Entities appear but stay unavailableNo app is running on the camera; activate one from the console
Entities vanished after switching appsExpected; each app publishes its own entity set

デプロイ後

Detection results appear in Home Assistant through MQTT discovery, and the entity set changes when you switch apps. Discovery carries no video; add the picture in step 6.

6

See the Results in Home Assistant

Put the picture and the detections on one card.

前提条件
  1. Find the entities. Settings → Devices & Services → MQTT → the camera's device. Note the entities you want on the dashboard.
  2. Add the video. Settings → Devices & Services → Add integration → Generic Camera:
    • Stream Source URL: rtsp://<camera-ip>:8554/live0 (copy it from the console's Integrations page)
    • RTSP transport protocol: TCP
    • Leave Verify SSL certificate unticked
  3. Build the card. Settings → Dashboards → open your dashboard → pencil to edit → + Add cardPicture glance. Set Camera Entity to the Generic Camera, then add the detection entities to the Entities list.
  4. Separate cards (optional). An Entities card lists the values as rows; a History card shows how they change.
  5. Automation (optional). Settings → Automations & scenes → Create automation → trigger Entity → State on a detection entity.
トラブルシューティング
SymptomFix
Generic Camera says it cannot connectTest the URL in VLC first; if VLC plays and Home Assistant does not, set RTSP transport to TCP
Picture is black or stalls after a few secondsClose the console's live view and any VLC window
Card shows the camera but no detection iconsConfirm the entities exist under Settings → Devices & Services → MQTT, then add them to the card
Entities show unknownValues appear after something changes in front of the camera
Picture glance will not accept an entityAdd individual entities, not the device

デプロイ後

The dashboard shows the camera picture and the detection entities. Switching apps changes the MQTT entities; the Generic Camera picture is unaffected.