Sky Hub utilizes off the shelf hardware purposely selected for tracker deployments. On this page we guide you in the process of deploying a base level tracker starting with a minimum setup as recommended in our Hardware Requirements. In the photo below you see an example of the base level hardware connected together. It is provided as a template for those with no experience of DIY builds.
To enable use of the DC barrel jack power supply on the Jetson, you will need to fit a jumper to J48 on the Jetson Nano baseboard. See here
If using an ATX PSU to power your tracker, you will need to undertake some basic wiring / soldering. Whilst you will not be working inside your PSU itself, you should keep safety in mind always.
Sky Hub is developed for the official Nvidia Ubuntu 18.04 Jetson image. If you haven't already done so, start with writing the Jetson Nano Developer Kit SD Card Image to your SD Card using e.g. Etcher.
A class 10 SD Card is recommended for best performance. The official image requires a minimum 16GB of storage but a 32GB card is recommended.
You can follow the directions provided by Nvidia for flashing the SD card and booting the Jetson. On first login, you will need to set a username and password, timezone etc.
Once you are logged in, open a terminal window (right-click on Ubuntu desktop) and enter the following to update the software on the Nano:
sudo apt update && sudo apt upgrade -y
You may find it useful to install the useful Nano Text Editor (used later)
sudo apt install nano
At this point, make a note of the IP address of your Jetson device by running
ifconfig - the IP address will be something like e.g. 192.168.1.109. You could set a static IP address from your router.
You can continue working directly from the Jetson, or login to your Jetson from another computer on your network using ssh e.g. using Putty for Windows, or Terminal for Mac.
The development team has simplified the Sky Hub software installation making the following two methods available. Open a shell prompt or ssh into your Jetson and run one of the following installation methods:
Your Jetson must be connected to the internet to download the Sky Hub software!
sudo wget -O - https://gitlab.com/skyhuborg/get-started/-/raw/master/deploy/install | sudo bash
git clone https://gitlab.com/skyhuborg/get-started.git cd get-started/deploy sudo ./install
Once the Sky Hub installation has completed you may have some depricated libraries remaining. Remove unused libraries with:
sudo apt - autoremove
Updating To The Latest Version
When Sky Hub Tracker updates are published, you can update your docker by reconnecting to your Jetson via ssh and issuing the following commands (you will need to cd to the Sky Hub installation directory at /skyhub):
See further down the page for other useful commands.
Next you can setup your local storage for your tracker. You can follow these instructions to format, partition and mount your SSD on the Jetson. Remember to mount the SSD to /skyhub/storage
Make sure that you modify the fstab file so that it mounts to the Sky hub storage directory (/skyhub/storage) automatically at boot - how to do this is outlined in the instructions above. An example:
You will need to change your own drive label accordingly.
Connect the camera to your network and follow the setup process according to the manufacturer's instructions. You will need to set a username and password. It’s recommended that you assign a static IP address (e.g. 192.168.1.20) to your camera. You should be able to do from your router settings page.
If using a Dahua camera such as the IPC-EBW81230, you can adjust the following settings for video, conditions and profile management:
You can reset or restart your tracker e.g.
There are other actions you can specify when calling skyhub
skyhub <action> [params] Use this utility to manage the skyhub installation actions: prune - Prunes the docker system removing excess space start - Starts the tracker docker containers stop - Stops the tracker docker containers restart - Stop and restarts the tracker update - Update the tracker docker images and containers status - lists the running containers monitor - monitors the skyhub-tracker logs reset - resets the tracker config and removes the old database (does not delete videos) help - shows this help upgrade - Reruns the skyhub installer
View mounted drives
sudo lsblk --fs
Modify mount point
sudo nano /etc/fstab
sudo jetson_clocks --fan
Display information about the status of the tracker
sudo docker logs -f skyhub-tracker
List all existing docker containers
sudo docker ps
Display a live data stream for running containers
sudo docker stats
Monitor system stats using jtop
View the configuration file for your tracker
sudo nano /skyhub/storage/etc/tracker.yml