CamGrabber installation on Raspberry Pi
CamGrabber runs on Raspberry Pi as a headless daemon, and all setup is done through a configuration file. Packages are published to the CityScreen APT repository for Raspberry Pi OS.
Installing the package
Add the CityScreen repository for Raspberry Pi OS and install the package:
echo "deb [trusted=yes] https://packages.cityscreen.cloud/repository/buster-releases buster main" | sudo tee /etc/apt/sources.list.d/cityscreen.list
sudo apt-get update
sudo apt-get install cityscreen-camgrabber -y
Configuration file
Without a GUI, CamGrabber reads its settings from an INI file:
~/.config/CityScreen/cityscreen-camgrabber.conf
A minimal configuration looks like this:
[General]
delay=0
frames="[{\"camUrl\":\"rtsp://192.168.1.20/stream1\",\"camUser\":\"viewer\",\"camPass\":\"secret\",\"enabled\":true,\"frameId\":1234}]"
guiMode=0
playerUrl=127.0.0.1
serverUrl=https://global.cityscreen.cloud/
| Key | Meaning |
|---|---|
|
Address of the CS Player this grabber works with. |
|
CS Play server address. |
|
JSON array of per-frame camera bindings: |
|
Capture delay in milliseconds before the photo capture is taken. |
|
|
|
Identity and authorization token issued by the server when the grabber is activated. Filled in automatically after the first successful authorization. |
After editing the configuration, restart the daemon for the changes to take effect.
Next step
The connection and authorization flow is the same as on desktop — see Connecting to Player and Server.