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
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 coordinates —
Latitude,longitudefor positioning on the map - Common — enables the camera in City Cameras inside the mobile app
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.
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
List of cameras on map
Live camera view with recording request
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
- camera is disabled in the admin panel → use
service_url
- DVR stream is missing or configured incorrectly → use
fallback_url