Network cameras configuration in the i3 Home mobile application

In the i3 Home mobile application, the possibility of integrating CCTV cameras using the RTSP protocol has been implemented.
Users will be able to stream video, as well as control a selected device from the camera card. The settings of each camera provide for the connection of one of the executing devices of the Smart House system. For example, if the camera is directed at a gate, you can set up a virtual button to open the gate.

Important! Make sure that the camera you plan to use supports RTSP. This information can be found on the manufacturer's website, in the documentation for the camera or on specialized Internet resources (e.g., ispyconnect.com).

The process of connecting cameras consists of several stages:● configuration of network equipment (router)● camera settings● connection settings in the i3 Home mobile application.
In general, the application can simultaneously broadcast up to 4 video cameras and there is no limit to the number of configured video cameras.

Please note: The video stream from the cameras is processed on the smartphone itself. Therefore, the quality and speed of video playback will depend on the characteristics of the smartphone and the number of streams that are played at the same time.

Network equipment configuration

In the simplest configuration option, the user will be able to watch the broadcast of the video stream from the camera only if the camera and phone are on the same network. In order to maintain the possibility of viewing video via the Internet, it is necessary to provide remote access to the camera. To do this, you can order an additional service for providing an external static IP address from the provider.

Another option is to use third-party DDNS services. In this case, it is necessary to configure the port forwarding function on the router. Most modern routers support the UPnP service, it is enough to enable it in the router settings and the ports will be redirected automatically.

Example of how to set up port forwarding on a TP-Link wireless router

1. Open a browser and enter the IP address of the router (default 192.168.1.1) in the address bar, press Enter.
2. Enter the username and password to load the web interface page; by default, the password and username are admin (in normal case).
3. In the menu on the left, select Forwarding — Virtual Server and click Add.
4. Configure the required parameters:Service port — specify the port number.IP address — specify the address of the device with which access will be opened through this port.Protocol — select the desired value from the menu.Change the status to Enabled.
5. Click Save to save the settings.

Important! If the provider uses the NAT service in its network, this method will not work.

Please note: The standard port used for RTSP streaming is 554.

It is important to configure or define the address of each IP camera and exclude the possibility of changing this address in the future. This can be implemented in the following way:

Example of how to set up address reservation on a TP-Link wireless router

1. Open a browser and enter the IP address of the router (default 192.168.1.1) in the address bar, press Enter.
2. Enter the username and password to load the web interface page; by default, the password and username are admin (in normal case).
3. Go to DHCP -> Address Reservation on the left side of the page and click the Add New button.

Illustration

4. Enter the MAC address and IP address, and then select Enabled in the Status field.

Illustration

MAC-Address: The MAC address of the camera for which you want to configure a dedicated IP address.Reserved IP Address: the address that will be reserved by the router for the cameraStatus: You can specify whether this function will be activated.Note: The MAC address input format is as follows: XX-XX-XX-XX-XX-XX.

Connection settings in the mobile application

1

Create an RTSP link

● Open the i3 Home app.
● In the menu, select Add camera.
● Refer to the primary and secondary RTSP streams according to the camera documentation.
● Paste these links in the appropriate fields.
● If there is no required information in the documentation, go to Step 2.

Illustration

Please note: Streams from other cameras will differ only by IP address.

2

Create an RTSP link using an additional service. (optional)

● Click I don't have a link.
● In the next window, click Go.
● On the page that opens, specify all the necessary access parameters.
● Save the link.
● Similarly configure the Secondary stream.

Illustration

3

Checking the video stream

● Make sure the phone and camera are on the same network.● Click Test.● If the link is formed correctly — you will see the image from the selected video camera.

Illustration

Please note: The main stream is the video that will be played in full screen mode, the secondary stream is the video that will be displayed in the camera card on the dashboard. The additional stream uses less phone resources and significantly less data, which is important when using mobile data.

4

Add a device to control from the camera card.

● Click Continue.● Specify Camera Name, Room and select Device.● Go to the dashboard and check the video playback and the operation of the virtual button.

Illustration

Repeat steps 1-4 to configure other cameras.

5

Give access to cameras to other users

Currently, the only way to share access to video cameras is to copy from your application and send to another user in any convenient way a link to the RTSP stream. After that, the user will be able to configure access to video cameras as described above.

Important! Camera settings are saved only on the phone, so you need to consider that:
● If you delete the app, the camera settings will be deleted.
● If the user changes the phone, it is necessary to go through the camera setup procedure again.
● Data from the video stream is not logged, stored on a remote i3 Engineering server, or used by controllers.
● Changes made by each user with the cameras will be reflected only in his device (name, room, control button).
●  Removing the camera will result in deletion only for the current user.

The result of the described steps:

In the application, the connection to the IP cameras of the video surveillance system with the possibility of remote viewing is configured. The function of controlling the executing devices from the camera card has been implemented.

Didn’t find the answer to your question?

You can contact the technical support chatbot.Found a mistake on the site? Help us fix it!