Generating the Configurations

First navigate to your Shinobi folder. By default this is /home/Shinobi.

cd /home/Shinobi

The included tool in the Shinobi root folder can be used as shown below.

node tools\createMonitorsJsonFromTxt.js MONITOR_BASE.json PATH_TO_TXT.txt

MONITOR_BASE.json can be acquired by Exporting a clean Monitor Settings configuration from the dashboard.

More information about Exporting the MONITOR_BASE.json can be found here.

A row of PATH_TO_TXT.txt​ would look like

rtsp://username:[email protected]:554/cameraFeed

Here is a sample txt file.

rtsp://192.168.1.10:554/stream1
rtsp://192.168.1.11:554/stream2
rtsp://username:[email protected]:8554/live
rtsp://username:[email protected]:554/cameraFeed

The generated file would be in the same folder as the source file with .json appended to end of it. Let's assume the file name is PATH_TO_TXT.txt the result would be as follows.

PATH_TO_TXT.txt.json

In the near future we hope to allow importing the txt file as-is from the UI but for now this tool is offered.

Importing the Monitor Configurations into Shinobi

1. Open the Monitors tab

2. Click Options in the bottom left corner then Import.

3. Select the configuration you wish to import.

  • The Add Monitor (Monitor Settings) window can only import single Monitors, not bulk configurations.
  • ZoneMinder's Monitor API response data can be pasted in the text area to quickly migrate from ZoneMinder as well.

More information about Importing Monitors can be found here.