Netr is a mobile App written in flutter for my personal use, to monitor my CCTV cameras both over intranet and internet (using SSH). It is not available at any app store. If you want to use it, build and deploy to your mobile.
- Supports Android/Ios
- Supports multiple CCTV streams both over local intranet and internet (using SSH).
- Supports watching CCTV streams using VLC remote web interface.
- Supports update over OTA from your local intranet (or apk hosted on some URL).
All configuration information is stored in lib/config.dart
. Edit it to your liking before build App.
To generate a refresh token for Dropbox follow these steps. Note here we are not using redirect url. If you want to use a redirect url, modify accordingly. Also, replace values such as $appKey in urls and commands appropriately.
Steps are as follows:
- Create Dropbox app: Post creation of dropbox app, please note the following values: App key ($appKey), App secret ($appSecret)
- Getting authorization code: Open the following url: https://www.dropbox.com/oauth2/authorize?client_id=$appKey&token_access_type=offline&response_type=code. Note replace the $appKey value from above. Note down Access Code ($accessCode).
- Getting refresh token: Execute the following command to get refresh token:
curl https://api.dropbox.com/oauth2/token -d code=$accessCode -d grant_type=authorization_code -u $appKey:$appSecret
. Note down the Refresh Token ($refreshToken). - Testing refresh token (optional): Execute the following command:
curl https://api.dropbox.com/oauth2/token -d grant_type=refresh_token -d refresh_token=$refreshToken -u $appKey:$appSecret
. If you receive access_token, you are all set.
To build app use build.sh
. To build check steps in this shell script.
adb connect