A single unified Camera device type for Ignition 8.3 that brings live video, PTZ control, and camera health straight into the platform — no separate VMS window, no vendor lock-in.
Not an Inductive Automation product, and not supported by Inductive Automation. Independent work, largely built with AI tools and tested for one purpose on a limited subset of gateway versions and platforms. Take the ideas; fork and review it before it goes near production. Feedback is welcome in Issues; improvements are made where possible, but no support is guaranteed. NOTICE.md says more.
SCADA is supervisory control and data acquisition — and in today's world, no matter where SCADA is used, cameras are a key insight into what is going on. Yet camera video traditionally lives in a separate VMS window, disconnected from the SCADA screens operators actually watch. This module makes any commodity IP camera a first-class Ignition device: live video and PTZ control on the same Perspective page as the process data it relates to, and camera health, status, and capabilities as OPC-UA tags that alarm and historise like any other device. Standard protocols only (ONVIF, RTSP, MJPEG, snapshot URLs) — no vendor lock-in, no cloud, no separate VMS licence.
The full purpose, definition of done, and permanent won't-do list live in docs/PROJECT_CHARTER.md — the charter drives every release decision.
Every camera pictured below is one of four synthetic RTSP test sources
(DemoLoadingDock, DemoYardCam, DemoGateCam, DemoProcessLine), each an
ffmpeg test pattern. No physical camera is needed (scripts/demo-cameras.sh
in How to use it stands up two).
Camera device detail — the Connection Browser's device list for all four devices. It shows exactly what the module discovers per device: each one's RTSP media profile (H.264) with Snapshot/Stream/Copy URI actions. (ONVIF discovery — manufacturer/model/firmware/serial and multi-profile enumeration — is a real capability of the module against ONVIF hardware; it isn't pictured here because it needs physical ONVIF hardware to demonstrate honestly.)
Gateway Live View grid — the Connection Browser's built-in multi-camera
grid, streaming all four devices at once, each with a distinct pattern:
DemoLoadingDock (colour bars with a running counter), DemoYardCam (SMPTE HD
bars), DemoGateCam (bars with a moving sweep and a burnt-in timecode) and
DemoProcessLine (a Game of Life pattern that changes every frame).
Perspective CameraViewer and CameraGrid components — the same video,
now embedded in a Perspective page next to whatever process data it belongs
with. On the left is a single CameraViewer bound to DemoLoadingDock; on the
right a 2×2 CameraGrid streams all four devices at once.
Designer-scope authoring — CameraViewer and CameraGrid are ordinary
Perspective components in the Designer's own component palette, under a Camera
Driver category, draggable onto any view. Here the same view is open in the
Designer with its CameraViewer selected, streaming live on the canvas too. In
the property editor a CameraViewer exposes its bindable properties —
deviceName, mode, snapshotInterval, showOverlay, objectFit,
showSaveButton, showPtzControls — the same as any built-in component.
| Method | Protocol | Capabilities |
|---|---|---|
| RTSP | RTSP | Direct video streaming, browser playback via bundled go2rtc + ffmpeg |
| MJPEG | HTTP MJPEG | Direct MJPEG video streaming |
| Snapshot | HTTP | JPEG snapshot capture from a still-image URL |
| ONVIF | ONVIF SOAP | Device discovery, media profile enumeration, PTZ control, and auto-detection of stream/snapshot URLs (Profile S/T) |
A single Camera device can use any combination of the above, enabled per device. URLs for RTSP, MJPEG, and snapshot can be entered directly or auto-detected via ONVIF when enabled.
- Single unified Camera device type with per-device connection methods
- Multi-protocol camera connectivity (RTSP, MJPEG, snapshot URLs, ONVIF)
- Sub-second live video via WebRTC (v3.1.0+), with automatic MSE → snapshot fallback
- PTZ control from Perspective and the gateway Connection Browser
- Authenticated HTTP endpoints (session auth, Basic Auth, API key, Perspective session tokens)
- Per-IP rate limiting (DoS protection)
- Bundled go2rtc and ffmpeg for RTSP-to-browser streaming — no external media server
- Hierarchical OPC-UA address space with camera data
- Connection Browser UI in Gateway Config (dashboard, live grid, diagnostics)
- Perspective
CameraViewerandCameraGridcomponents - Configurable SSL/TLS validation modes
- 550+ automated tests with 100% pass rate (gateway/common JUnit + web-ui vitest)
Gateway web UI → Config → System → Modules → Install or Upgrade a Module →
upload the signed .modl. No gateway restart is required — the module
hot-loads.
WebRTC note: the bundled go2rtc listens for WebRTC media on port 8555
(TCP+UDP). Host-network deployments need nothing. Docker bridge-network
deployments must publish -p 8555:8555 -p 8555:8555/udp and list the
host-reachable IP in data/camera-driver/go2rtc/webrtc-candidates.txt (one
host:port per line). If WebRTC cannot connect, playback silently falls back
to MSE.
- Gateway → Config → OPC UA → Device Connections
- Create new Device → Select "Camera"
- Enter the camera IP address, username, and password
- Enable the connection methods the camera supports (RTSP, MJPEG, Snapshot, ONVIF)
- For RTSP/MJPEG/snapshot, either enter URLs directly or enable ONVIF to auto-detect them
- Save and view tags in OPC Browser, or open the Connection Browser
(
/data/camera-driver/connection-browser)
Don't have a camera handy? The screenshots above were captured against synthetic RTSP sources — no hardware required to try the module:
scripts/demo-cameras.sh up # two synthetic cameras
scripts/demo-cameras.sh status # running? is anything actually watching?
scripts/demo-cameras.sh down # finished — leaves nothing behindThat publishes rtsp://127.0.0.1:8556/cam1 (test pattern) and
rtsp://127.0.0.1:8556/cam2 (colour bars, so a two-tile CameraGrid is
obviously showing two cameras). Port 8556 rather than 8554 because the
gateway's own bundled go2rtc owns 8554 when the gateway is host-networked, and
the collision shows up as a stream that never opens rather than a port error.
Then create a Camera device as above with RTSP enabled, Snapshot/MJPEG/ONVIF
disabled, and RTSP URL Override set to rtsp://127.0.0.1:8556/cam1 (and,
for a second device, rtsp://127.0.0.1:8556/cam2).
One container holds the whole demo, and encoding runs only while something is
reading a stream. Run down when you are done — an idle encoder otherwise
keeps running indefinitely.
Drag a CameraViewer (single camera) or CameraGrid (multi-camera) component
onto a view and set deviceName (or cameras: [] for the grid) to the device
name(s) created above. See docs/USAGE.md for the full
HTTP endpoint and component reference, and
docs/TESTING.md for complete testing instructions.
All fields belong to the single Camera device type.
General: Device Name, Enabled
Connection: IP Address, Port, Username, Password, Use HTTPS, Connection Timeout, SSL Validation Mode
Streams (connection methods): RTSP Stream, MJPEG Stream, Snapshot, ONVIF / PTZ, plus optional RTSP URL / Snapshot URL / MJPEG URL overrides
Advanced: Poll Interval (ONVIF only)
All endpoints are at /data/camera-driver/* and require authentication.
| Endpoint | Description |
|---|---|
/data/camera-driver/snapshot?device=X&profile=Y |
JPEG snapshot |
/data/camera-driver/stream?device=X&profile=Y&fps=Z |
Live stream (fMP4/MJPEG fallback chain) |
POST /data/camera-driver/webrtc?device=X |
WebRTC SDP signaling (offer in, answer out) |
POST /data/camera-driver/ptz/move?device=X&pan=&tilt=&zoom= |
PTZ continuous move (hold) |
POST /data/camera-driver/ptz/stop?device=X |
PTZ stop (release) |
/data/camera-driver/ptz/status?device=X |
Current PTZ position |
/data/camera-driver/devices |
List all devices |
/data/camera-driver/device/:name/status |
Device status |
/data/camera-driver/connection-browser |
Connection Browser UI |
/data/camera-driver/health |
Health check |
/data/camera-driver/metrics |
Per-camera resource metrics |
Version: 3.3.3 | Status: Production Ready
The gateway UI, the standalone dedicated page and the Perspective CameraViewer/CameraGrid components meet WCAG 2.1 AA, with one recorded exception in a11y.json: Chromium never draws a focus ring on the standalone page's content frame once it holds a loaded document.
| Document | Description |
|---|---|
| CHANGELOG.md | Version history |
| docs/PROJECT_CHARTER.md | Purpose, definition of done, won't-do list |
| docs/USAGE.md | HTTP endpoint usage guide |
| SECURITY.md | Security architecture |
| docs/TESTING.md | Testing guide |
| docs/KNOWN_ISSUES.md | Known issues |
- go2rtc: https://github.com/AlexxIT/go2rtc (bundled for RTSP-to-browser streaming)
- ONVIF Official: https://www.onvif.org/
- ONVIF Specifications: https://www.onvif.org/profiles/
./gradlew clean build # Build module
./gradlew test # Run tests
./gradlew clean build test # Build and test
# Output: build/CameraDriver-3.3.3.modlApache License 2.0 — see LICENSE for details.
Copyright (c) 2025 Gaskony
- GitHub: https://github.com/Gaskony-Ignition/ignition-module-camera-driver
- Issues: https://github.com/Gaskony-Ignition/ignition-module-camera-driver/issues
- Security Policy: See SECURITY.md



