Maintained by Ms Stevie Woo (GENDEMIK DIGITAL) — Raspberry Pi 4/5 Picamera2 Edition
The Lofi Streamer is a camera-first YouTube livestream engine designed for Raspberry Pi.
The Dashboard is an optional add-on that provides full web-based control, monitoring, logs, and system stats.
This repo contains the Dashboard Add-On.
THIS PROJECT IS WORK IN PROGRESS
- Start / Stop / Restart the
lofi-streamerservice - Restart camera hardware (clears lockups)
- Shows service status
- Shows uptime
- Shows currently playing track from
/tmp/current_track.txt - Last 40 lines of:
- Streamer Logs
- Dashboard Logs
- Camera Lock Diagnostics
- CPU usage, RAM, Disk, Load, Temperature
- Auto-refresh
- Clean 2×2 tile layout
- Dedicated logs area (stacked by column)
- PBKDF2-SHA256 hashing
- Single password stored internally
- Easily changeable (docs included)
Run this on your Raspberry Pi after the streamer itself is installed:
bash <(wget -qO- https://raw.githubusercontent.com/teqherself/Lofi-Streamer-Pi4-dashboard/main/install.sh)This will:
- Auto-detect your Pi username
- Install Python3 deps (Flask, psutil)
- Create the Dashboard folder structure
- Install & enable
lofi-dashboard.service - Add the correct sudoers rules
- Start the dashboard automatically
After install, open:
http://<your-pi-ip>:4455
Use:
hostname -Ito find your Pi’s IP.
Login using the hashed password configured in dashboard.py.
Once inside, you’ll see:
- 2×2 tiles (system stats + controls)
- Three log columns
- streamer log
- camera lock log
- dashboard log
Everything updates automatically.
The dashboard uses a PBKDF2-SHA256 hash, not a plain password.
python3 - << 'EOF'
from werkzeug.security import generate_password_hash
print(generate_password_hash("YOUR_NEW_PASSWORD"))
EOFThen open:
~/LofiStream/Dashboard/dashboard.py
Find:
PASSWORD_HASH = "pbkdf2:sha256:...."Replace it with your new hash.
Reboot dashboard:
sudo systemctl restart lofi-dashboardLofiStream/
├── Servers/
│ └── lofi-streamer.py
├── Dashboard/
│ ├── dashboard.py
│ ├── system_helper.sh
│ ├── static/
│ │ └── style.css
│ └── templates/
│ ├── index.html
│ └── login.html
└── stream_url.txt
sudo systemctl status lofi-dashboard
sudo systemctl restart lofi-dashboard
journalctl -u lofi-dashboard -n 40 --no-pager
sudo systemctl start lofi-streamer
sudo systemctl stop lofi-streamer
sudo systemctl restart lofi-streamer
journalctl -u lofi-streamer -n 40 --no-pager
sudo systemctl stop lofi-dashboard
sudo systemctl disable lofi-dashboard
sudo rm /etc/systemd/system/lofi-dashboard.service
sudo rm /etc/sudoers.d/lofi-dashboard
rm -rf ~/LofiStream/Dashboard
sudo systemctl daemon-reload- Dark mode
- OTA streamer updater
- Inline Pi camera preview
- Multi-stream YouTube selector
Maintained with ❤️ by
Ms Stevie Woo (GENDEMIK DIGITAL)
Manchester, UK