Monitor your security cameras with locally processed AI
In this tutorial i will show you how to install Frigate NVR using Docker Manager. Frigate is an open source NVR built around real-time AI object detection. All processing is performed locally on your own hardware, and your camera feeds never leave your home.
For TOS5 and TOS6, we are going to run these containers as the superuser account (the account that was created during initial NAS setup). For TOS4, we are going to run these containers as the root account.
If you already know your username id and group id from a previous container deployment, proceed to next step.
If not, for TOS5 and TOS6, the username id and group id for the superuser account should be both 0 but is best to double check this by by running a command in terminal. You can simple install the ttyd app and find your uid and gid following this guide: How to install and use ttyd app (share your terminal over web).
You can also use putty or any other SSH client and type id command. In this case, ssh service must run on your NAS.
Find your current time zone on this website, as example for Brussels is:
TZ=Europe/Brussels
Open Docker Manager by using the icon on the desktop or from the top menu. Click on Project from the left menu and then on the small + icon to add new project.
On the Project name type frigate
On the Project path type /Volume1/DockerYAML or use the Browse button to navigate and select the DockerYAML folder created at Step 3
Configuration file source select Your computer from the dropdown list
Click on the folder icon to browse your local computer for the frigate.yml file downloaded on Step 1
The file will be loaded and the content will appear on the code section. Before you proceed further, adapt the code to your particular values for these variables:
TZ change to the value for your specific zone found on Step 6.
restart: you can choose from always, unless-stopped, or on-failure[:number of retries]
/Volume1/Surveillance replace with the path where you want to store the media files
/dev/dri/renderD128:/dev/dri/renderD128 comment or delete this line if you have a non intel NAS
FRIGATE_RTSP_PASSWORD: "terramaster" replace terramaster with your camera password
Config files will be stored at /Volume1/DockerAppsData/frigate
Scroll down in the code window to review the config.
After you adapt all the required values, click on Verify YAML button. If the code is OK, the Apply button will become available. Click on it to deploy the project.
The project will start building.
If the building went well, our project will show the status as Running.
When the project is selected, the buttons on top will be available from where you can stop/start the project, restart, delete or force stop.
Now go to Container section were you can see some info about the newly created container.
You can click on the accessing address to access the WebUI (port 5000) or navigate in the web browser to https://yournasip:5000
All apps here are not officially provided by TerraMaster, but developed by me in spare time. All the apps you can download here are free. If you encounter problems while using the app, I can provide you with advice and help as much as i can. Since it takes me a lot of time to maintain these apps and provide technical support, I would appreciate if you make a donation to support my work and continue to provide up to date versions.
FrigateNVR
Monitor your security cameras with locally processed AI
In this tutorial i will show you how to install Frigate NVR using Docker Manager.
Frigate is an open source NVR built around real-time AI object detection. All processing is performed locally on your own hardware, and your camera feeds never leave your home.
More info at https://frigate.video
Download from above the xxxx.yml file and save it locally on your computer.
If you already have Docker Engine and Docker Manager apps installed, proceed to next step.
If not, follow this guide to install them: How to install Docker Engine and Docker Manager.
If you already have these 2 shared folders, proceed to next step.
If not, follow this guide to create the folders: How to create DockerYAML and DockerAppsData shared folders
For TOS5 and TOS6, we are going to run these containers as the superuser account (the account that was created during initial NAS setup).
For TOS4, we are going to run these containers as the root account.
If you already know your username id and group id from a previous container deployment, proceed to next step.
If not, for TOS5 and TOS6, the username id and group id for the superuser account should be both 0 but is best to double check this by by running a command in terminal.
You can simple install the ttyd app and find your uid and gid following this guide: How to install and use ttyd app (share your terminal over web).
You can also use putty or any other SSH client and type
id
command. In this case, ssh service must run on your NAS.For TOS6, you can use the in built Terminal app following this guide How to use in built Terminal on TOS6
Find your current time zone on this website, as example for Brussels is:
TZ=Europe/Brussels
Open Docker Manager by using the icon on the desktop or from the top menu.
Click on Project from the left menu and then on the small + icon to add new project.
The file will be loaded and the content will appear on the code section.
Before you proceed further, adapt the code to your particular values for these variables:
TZ
change to the value for your specific zone found on Step 6.restart:
you can choose from always, unless-stopped, or on-failure[:number of retries]/Volume1/Surveillance
replace with the path where you want to store the media files/dev/dri/renderD128:/dev/dri/renderD128
comment or delete this line if you have a non intel NASFRIGATE_RTSP_PASSWORD: "terramaster"
replace terramaster with your camera passwordConfig files will be stored at /Volume1/DockerAppsData/frigate
Scroll down in the code window to review the config.
After you adapt all the required values, click on Verify YAML button. If the code is OK, the Apply button will become available.
Click on it to deploy the project.
The project will start building.
If the building went well, our project will show the status as Running.
When the project is selected, the buttons on top will be available from where you can stop/start the project, restart, delete or force stop.
Now go to Container section were you can see some info about the newly created container.
You can click on the accessing address to access the WebUI (port 5000) or navigate in the web browser to
https://yournasip:5000
Frigate is ready now to add your cameras
Check out the Frigate Documentation to add your cameras.