Raspberry Pi Setup Guide
Turn any Raspberry Pi into a dedicated digital signage player
What You Need
Raspberry Pi 3, 4, or 5
2GB RAM minimum, 4GB recommended
MicroSD Card
8GB or larger
HDMI Cable + Display
Any TV or monitor with HDMI
Internet Connection
WiFi or Ethernet
Setup Steps
Flash Raspberry Pi OS
Download Raspberry Pi Imager and flash Raspberry Pi OS Lite (64-bit) to your SD card.
Boot and Connect
Insert the SD card, connect HDMI and power. Wait for it to boot, then SSH in:
Default password: raspberry (change it after setup)
Run the Installer
One command installs everything:
The installer will:
- ✓ Install Chromium browser
- ✓ Set up auto-login and kiosk mode
- ✓ Configure heartbeat monitoring
- ✓ Generate a unique device UUID
- ✓ Create a systemd service for auto-start
Pair Your Device
After reboot, the Pi will show a 6-digit pairing code on screen. Go to your AdCast panel:
- Navigate to Devices → Pair Device
- Enter the 6-digit code shown on the Pi screen
- Name your device (e.g., "Lobby TV")
Assign Content and Play!
Create a playlist, assign it to your Pi device via a schedule, and content starts playing immediately. The Pi supports:
Configuration Reference
Edit /opt/adcast/config.json to customize:
{
"server_url": "https://ads.anettv.org",
"device_uuid": "ADCAST-PI-XXXXXXXX",
"heartbeat_interval": 60,
"screen_rotation": 0
}
screen_rotation: 0 (landscape), left (portrait 90°), right (portrait 270°), inverted (180°)
heartbeat_interval: How often (seconds) the device reports status to the server
Useful Commands
sudo systemctl status adcast-player
tail -f /opt/adcast/logs/player.log
sudo systemctl restart adcast-player
sudo jq '.screen_rotation = "left"' /opt/adcast/config.json > /tmp/c.json && sudo mv /tmp/c.json /opt/adcast/config.json && sudo systemctl restart adcast-player
Troubleshooting
Screen shows black after boot
SSH in and check: sudo systemctl status adcast-player. If it says "inactive", run sudo systemctl start adcast-player.
Device shows offline in panel
Check internet: ping -c 3 google.com. Check logs: tail -20 /opt/adcast/logs/player.log.
Content not updating
The player re-fetches playlist every 5 minutes. To force refresh: sudo systemctl restart adcast-player.
Uninstall
sudo systemctl stop adcast-player && sudo systemctl disable adcast-player && sudo rm -rf /opt/adcast /etc/systemd/system/adcast-player.service && sudo systemctl daemon-reload