Everything you need to enrol a device and start recording.
Before you start, make sure you have:
ffmpeg installed on the mini-PCA site represents a physical store location. Each device binds to a site.
The pairing code links a device to your site. Valid for 30 minutes.
On the mini-PC at the store, install the edge agent and ffmpeg.
sudo apt update && sudo apt install -y ffmpegwget https://sentry.qikbite.asia/download/latest/x86_64-unknown-linux-musl -O sentrysha256sum sentrysudo install -m 755 sentry /usr/local/bin/sentrysentry versionsentry, not sentry-edge. All builds are listed on the download page, including Windows and ARM. The Linux builds are static — nothing else to install.Enrolment binds the device to your site and issues a device token.
sentry enrol --code YOUR_12_DIGIT_CODE --cloud-url https://sentry.qikbite.asiaOn success you'll see:
Device enrolled successfully:
Device ID: dev_xxxxxxxxxx
Site ID: site_xxxxxxxxxx
Token: dt_xxxxxx...Once enrolled, configure cameras and start the agent.
sentry discover-cameras --user admin --addOr add by hand if ONVIF is not available:
sentry add-camera -l "Front Counter" -u "rtsp://user:pass@192.168.1.50/stream2" --main-url "rtsp://user:pass@192.168.1.50/stream1"-u is the sub-stream (640×360, uploaded and analysed). --main-url is the 2K local evidence buffer (never uploaded). Getting these the wrong way round uploads 4× the expected bandwidth.sentry runWithin a few minutes, the device appears in your dashboard.
sentry status
sentry doctorCommon issues and how to fix them.
Check in this order:
sudo systemctl status sentrysentry doctorjournalctl -u sentry -n 50 --no-pagersentry camerassentry discover-cameras --user adminffmpeg -i "rtsp://..." -frames:v 1 test.jpghttps://sentry.qikbite.asiacurl https://sentry.qikbite.asia/health