Skip to content

How to add an IP camera

This page covers practical notes for adding and configuring IP cameras in RBT (SmartYard-Server).

Source: adapted from the RBT wiki — IP cameras.

Add new IP camera

Main tab

IP camera main tab

For city cameras, the Name field usually uses this format:

camera name / installation address

In the mobile app, it is displayed on two lines.

Secondary tab

Typical fields on the secondary tab:

  • Geo coordinatesLatitude,longitude for positioning on the map
  • Common — enables the camera in City Cameras inside the mobile app

IP camera secondary tab

Akuvox behind NAT

If you use an Akuvox intercom behind NAT (generally not recommended), forward two external ports:

  • the first external port to internal port 80 for API communication
  • the second external port to internal port 8080 for retrieving snapshots

Example URL format:

http://1.2.3.4:46080/#camshotPort=46081

Custom token for camera

RBT supports specifying a custom token for camera-related scenarios when required by your deployment.

Custom token for camera

Enable “City Cameras” in the mobile app

Enable this feature in server config:

"mobile": {
  "city_cams": true
}

After that, cameras marked accordingly can be shown in the mobile app city-camera section and on the map.

Show "City Cameras" in mobile app

City Cameras in mobile app

List of cameras on map

Cameras on map

Live camera view with recording request

Live camera view

CCTV stub pages

RBT can switch camera playback to predefined stub pages depending on the situation.

Example server config:

"dvr": {
  "backend": "internal",
  "servers": [...],
  "stub": {
    "payment_require_url": "https://video.server.hostname:8443/stub_payment_require",
    "service_url": "https://video.server.hostname:8443/stub_service",
    "fallback_url": "https://video.server.hostname:8443/fallback"
  }
}

Typical cases:

  • flat is blocked → use payment_require_url

Payment required stub

  • camera is disabled in the admin panel → use service_url

Service stub

  • DVR stream is missing or configured incorrectly → use fallback_url

Fallback stub

See also