百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
neolink.net

neolink.net

> DevOps
免费

纯 C#/.NET 版 Reolink 相机桥接与 NVR — RTSP 重传、多相机 Web UI、事件录制

139 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

纯 C#/.NET 版 Reolink 相机桥接与 NVR — RTSP 重传、多相机 Web UI、事件录制

Neolink.NET

English · Français · Deutsch · Español · Nederlands · Polski · Português

RTSP bridge + web viewer for Reolink cameras that speak the proprietary Baichuan protocol.

Neolink.NET is for Reolink IP cameras that talk the proprietary "Baichuan" protocol on TCP port 9000 instead of standard RTSP/ONVIF (B800/D800, B400/D400, E1, Lumus, 510A, Duo, TrackMix, and many others).

Your NVR software (Frigate, Blue Iris, Home Assistant, Shinobi, VLC, ffmpeg, …) connects to Neolink.NET, which logs into the camera, demuxes its media stream, and re-serves it as standards-compliant RTSP. On top of that, Neolink.NET ships a built-in browser UI — a multi-camera wall with live low-latency video, no plugins, no transcoding, no GStreamer — and a native MQTT integration for Home Assistant: each camera appears in HA automatically (via MQTT Discovery) with motion/person/vehicle/animal sensors, controls, and availability, driven by the camera's own detections.

The cameras are unmodified and no Reolink NVR is required.

┌──────────┐  Baichuan (9000)  ┌─────────────────┐  RTSP (8654)   ┌──────────────────┐
│ Reolink  │ ────────────────► │                 │ ─────────────► │ Frigate / VLC /  │
│ cameras  │                   │   Neolink.NET   │                │ Blue Iris / HA   │
└──────────┘                   │  (one process)  │  HTTP/WS (8655)┌──────────────────┐
                               │                 │ ─────────────► │ Browser web UI   │
                               └─────────────────┘                └──────────────────┘

Events page — deep-linkable review, filters, 1–16× playback

Timeline — synced scrubbing, event marks, export

Monitor — server health, camera uptime, fill forecasts

Recording setup — events, 24/7, lifecycle, per camera

Camera settings — staged changes, applied only when you say so

All screenshots show synthetic demo footage.

A note on camera coverage

Reolink ships a large and ever-growing range of cameras, and their firmwares genuinely differ — the same feature can work on one model, answer differently on the next, and be broken outright on a third. Neolink.NET is developed and tested against the cameras I actually own, which is a handful, not the catalogue: cameras are expensive, and I maintain this project alone in my spare time. So: everything here works on the models it was built against; on models I've never touched, it should work, but I simply cannot promise it until someone with that hardware tells me.

This is where you come in. If your camera misbehaves, an issue with logs is genuinely valuable — most model-specific quirks in this project were found and fixed exactly that way. And if you can go one step further, pull requests are very welcome: a fix validated on hardware I don't have is the one contribution I cannot make myself.

Try it first — no cameras, no config

bash
docker run --rm -p 8655:8655 ghcr.io/borexola/neolink.net:latest --demo

Open and you're looking at the real product with a fake world behind it: four synthetic cameras with live moving video, detections firing every minute or two, a seeded event history, 24/7 recordings scrubbing on the timeline. No real footage anywhere, nothing saved — the demo world lives in a temp folder, resets itself every six hours, and vanishes with the container. The same showroom runs on bare metal too: neolink.net --demo (needs ffmpeg on PATH).

Quick start (Home Assistant add-on)

Running Home Assistant OS (or Supervised)? Neolink.NET installs as a native add-on — no Docker commands, no YAML files:

  1. Click the badge (or Settings → Add-ons → Add-on Store → ⋮ → Repositories → add https://github.com/borexola/neolink.net), then install Neolink.NET.
  2. Add your cameras in the add-on's Configuration tab (name, IP, account).
  3. Start it and click OPEN WEB UI.

If the Mosquitto broker add-on is installed, the MQTT connection is wired up automatically at every start — cameras appear as Home Assistant devices with no further setup. Recordings land in /media/neolink, so clips show up in HA's media browser. Full details in the add-on's Documentation tab (neolink-addon/DOCS.md).

Prefer to write the config yourself? Empty the add-on's camera list (cameras: []) and it stops touching cameras — then edit config.json in /addon_configs/…_neolink/ (Samba/SSH/Studio Code Server) and restart. That folder also holds settings.json and the rest of the UI state. Every option below works there; a // comment in the file stops the add-on merging anything at all, MQTT included. For a NAS, add it under Settings → System → Storage and point path/archive_path at /media/ or /share/ — add-ons cannot take Docker-style volume mappings.

Running Home Assistant in a plain container (no Supervisor)? Use the Docker route below — everything works the same, including the MQTT integration.

Quick start (Docker — recommended)

Full guide: docs/docker-install.md — image

tags, docker compose, Unraid template, upgrading, building the image yourself.

bash
mkdir -p config
docker run -d --name neolink --restart unless-stopped \
    -p 8654:8654 -p 8655:8655 \
    -e TZ=Europe/London \
    -v "$PWD/config:/config" \
    ghcr.io/borexola/neolink.net:latest

First start writes a commented starter config into config/ and opens the **web UI at ** — add your cameras under Server settings (the gear icon) with the same login you use in the Reolink app, restart, and streams serve at rtsp://localhost:8654/. Images are multi-arch (amd64 + arm64: x86 servers, Raspberry Pi 4/5, ARM NAS); pin a version tag like :1.0.1 in production.

Host networking (--network host) is required for UDP-only battery cameras and RTSP over UDP transport — everything else works with plain port mapping.

Quick start (Windows — no Docker)

Step-by-step with screenshots: docs/windows-install.md

— every click from download to your cameras on screen.

One MSI, two shapes. Download Neolink.NET.Desktop-X.Y.Z-win-x64.msi from the releases page and run it:

  • Desktop monitoring — the default install is the desktop app: your camera wall in its own window, real Windows notifications from the tray, pointed at a server you already run (Docker, the add-on, another machine).
  • A complete standalone system — tick Local server (Windows service) on the feature page and the same MSI installs the full server as a Windows service: recording and serving your cameras 24/7, signed in or not, with nothing else to install. The desktop app connects to it at http://localhost:8655, and cameras, accounts and recording all get set up from the web UI there.

The MSI is not code-signed yet, so SmartScreen shows "Windows protected your PC" on first run — click More info → Run anyway. Details in the desktop guide.

Quick start (from source)

Requires the .NET 10 SDK.

bash
git clone https://github.com/borexola/neolink.net.git
cd neolink.net
cp src/Neolink.Server/config.example.json src/Neolink.Server/config.json  # edit it
dotnet run --project src/Neolink.Server -c Release

Single-file, self-contained binaries:

bash
dotnet publish src/Neolink.Server -c Release -r linux-x64    # or win-x64, linux-arm64, ...

Lightweight by design — the camera does the heavy lifting

Neolink.NET runs no object detection of its own: it never decodes, transcodes, or analyses a single video frame for motion or AI. All of that already happens on the camera, whose dedicated silicon detects motion and classifies people, vehicles and animals in real time. Neolink.NET simply listens for the alarm messages the camera pushes over the Baichuan connection (the same events that drive Reolink's own app) and relays them to Home Assistant as MQTT sensors — and doorbell button presses as MQTT events. That means:

  • No GPU, no Coral, no CPU-hungry inference — unlike setups where a server re-analyses every stream, Neolink.NET adds essentially zero processing load. It runs comfortably on a Raspberry Pi or a small NAS container.
  • Event-driven, not polled — sensors fire the instant the camera sees something, with no scan interval and no per-frame work.
  • AI is only as good as the camera — person/vehicle/animal labels come from the camera's firmware, so enable the detection types you want in the Reolink app and Neolink.NET surfaces exactly those.

The trade-off is that detection quality and available classes are whatever your camera model provides (rather than a tunable server-side model like Frigate's); in exchange you get an integration light enough to leave running forever.

Features

RTSP bridge

  • H.264 / H.265 and AAC are repackaged, never re-encoded; ADPCM audio is decoded to PCM (L16)
  • TCP-interleaved and UDP transports, RTSP Basic auth, per-camera permissions
  • One camera connection feeds any number of clients (cameras fall over at ~2–3 direct connections); slow clients are isolated and can never affect the camera or other viewers

Web UI (optional, built in) — full tour in docs/web-ui.md

  • Live low-latency video (~1 s, fMP4 over WebSocket + MSE — no plugins, no transcoding), live audio, opt-in two-way talk
  • Camera wall with five layouts (Grid, Focus, Mosaic, Theater, Free), per-tile stream choice, maximize and fullscreen
  • Camera settings & controls discovered from the camera itself: PTZ, zoom/focus, lights, siren, privacy mode, reboot, detection sensitivity and infrared brightness — plus, over the HTTP API (beta), picture settings, HDR, volume, OSD, PTZ presets, quick replies and a firmware-update badge. Changes stage and are sent only on "Apply to camera"; a PORTS tab can enable the camera's own HTTP/ONVIF services right from Neolink
  • Events review strip and deep-linkable events page, a synced multi-camera Timeline with footage export, and camera SD-card playback (preview)
  • Perimeter protection: line-crossing / intrusion / loitering alerts from the Reolink app become their own event types — opt-in per camera under Event types (an untouched setup records what it always did); they get their own icons in the strip
  • AI event descriptions (BETA): a vision LLM writes what happened plus a GREEN/YELLOW/RED threat level — see AI event descriptions
  • AI Search (BETA): search events in plain language ("people wearing something red last week"). Structured filters parse instantly, the LLM matches descriptions; see AI Search
  • Battery cameras (BETA) auto-detected and sleep-friendly — see Battery cameras
  • Tiered storage (SSD clips tier + cold archive, capacity watching and fill forecasts — see Tiered storage), footage encryption at rest, email alerts for critical conditions (Email notifications) and per-user browser alerts
  • Multiple languages — English, French, German, Spanish, Dutch, Polish and Portuguese. Picked at first-run setup or under ⚙ → Language, applied live (no restart, no reload); each account keeps its own choice and the admin sets the server default for the sign-in screen. Non-English languages are AI-translated and cannot be fully verif

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

reolinkbaichuanblazor

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年9月9日
最后更新2026年9月18日
分类DevOps
定价免费

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理