A web-based control interface for DVSwitch Server on AllStarLink 3 (ASL3). Provides an intuitive, real-time dashboard for managing digital voice modes and talkgroups with a distinctive retro ham radio aesthetic.
- Real-time Status Monitoring - Live display of current mode, talkgroup, network, and callsign
- One-Click Mode Switching - Toggle between DMR, YSF, P25, NXDN, and D-STAR modes with visual feedback
- Favorite Talkgroups - Quick access buttons for your most-used talkgroups
- Quick Tune - Input field to instantly tune to any talkgroup without adding to favorites
- Add to Favorites - Web interface to add new talkgroups to your permanent favorites
- Delete Favorites - Remove talkgroups you no longer need
- Activity Logging - Real-time log of all commands and system events
- Auto-Refresh - Status updates every 3 seconds without page reload
- Responsive Design - Works seamlessly on desktop and mobile devices
- Animated Interface - Cyberpunk-inspired design with smooth transitions and effects
Run this one command on your AllStarLink 3 node:
curl -sSL https://raw.githubusercontent.com/ki9ng/dvswitch-control-panel/main/install-dvswitch-control.sh | sudo bashThat's it! After installation, access your control panel at:
http://YOUR_NODE_IP/dvswitch-control.html
- AllStarLink 3 (ASL3) running on Debian Bookworm
- DVSwitch Server installed and configured
- Apache2 web server
- Root/sudo access to your node
Tested and supported on:
- Debian 12 (Bookworm) - AllStarLink 3
- Debian 13 (Trixie) - AllStarLink 3
- Raspberry Pi 3B+, 4, 5
- x86_64 systems running ASL3
Works on any ASL3 installation with DVSwitch Server.
If you prefer to download first:
cd /tmp
wget https://raw.githubusercontent.com/ki9ng/dvswitch-control-panel/main/install-dvswitch-control.sh
sudo bash install-dvswitch-control.shClick any mode button (DMR, YSF, P25, NXDN, D-STAR) to switch digital modes. The active mode will be highlighted in green.
Type any talkgroup number in the "Quick Tune" field and press Enter or click TUNE. This tunes to the talkgroup immediately without adding it to favorites.
- Click "ADD TO FAVORITES" button
- Enter the talkgroup number
- Enter a name/description
- Click "ADD FAVORITE"
The new favorite appears immediately in your grid.
Hover over any favorite button and click the "X" that appears in the corner to remove it.
Click any mode button (DMR, YSF, P25, NXDN, D-STAR) to change digital modes.
Your favorites are stored in:
/var/lib/dvswitch/dvs/tgdb/DMR_fvrt_list.txt
Format (use three pipes):
4000|||Unlink
31164|||NI9CA
3100|||USA Nationwide
31|||Worldwide
You can edit this file directly or use the web interface to add/remove favorites.
cd /tmp
wget https://raw.githubusercontent.com/ki9ng/dvswitch-control-panel/main/uninstall-dvswitch-control.sh
sudo bash uninstall-dvswitch-control.shCheck Apache error logs:
sudo tail -f /var/log/apache2/error.logVerify files are in place:
ls -la /var/www/html/dvswitch-control.html
ls -la /var/www/cgi-bin/dvswitch-control.shVerify CGI script is executable:
sudo chmod +x /var/www/cgi-bin/dvswitch-control.shCheck CGI module is enabled:
apache2ctl -M | grep cgiRestart Apache:
sudo systemctl restart apache2Verify DVSwitch services are running:
systemctl status analog_bridge
systemctl status mmdvm_bridge
systemctl status md380-emuCheck DVSwitch status manually:
/opt/MMDVM_Bridge/dvswitch.sh showCheck file permissions:
sudo chmod 666 /var/lib/dvswitch/dvs/tgdb/DMR_fvrt_list.txt- Pure HTML/CSS/JavaScript
- No external dependencies beyond Google Fonts
- Uses Fetch API for async communication
- Auto-refresh mechanism for status updates
- Event-driven button interactions
- Bash CGI script
- Handles command execution
- Provides favorites list API
- Add/delete favorites functionality
- Security filtering for command validation
- JSON response format
- DVSwitch status API:
/dvswitch/include/status.php - DVSwitch control script:
/opt/MMDVM_Bridge/dvswitch.sh - Favorites database:
/var/lib/dvswitch/dvs/tgdb/DMR_fvrt_list.txt
The CGI script includes security measures:
- Command validation (only allows
dvswitch.shcommands) - No arbitrary shell command execution
- Runs with Apache user permissions
- Input sanitization for special characters
For production environments, consider:
- IP Whitelist - Restrict access by IP in Apache config
- HTTP Authentication - Add basic auth to the control panel
- HTTPS - Enable SSL/TLS for encrypted connections
- Firewall Rules - Limit web access to trusted networks
Example Apache IP restriction:
<Directory "/var/www/html">
Require ip 192.168.1.0/24
Require ip 10.0.0.0/8
</Directory>Tested on:
- AllStarLink 3 (Debian Bookworm)
- Raspberry Pi 3B+, 4, 5
- x86_64 systems running ASL3
Should work on any ASL3 installation with DVSwitch Server.
- DMR mode only for talkgroup tuning (by design)
- Requires DVSwitch Server (not compatible with standalone Analog_Bridge)
- Status updates require DVSwitch dashboard API to be accessible
- Browser must support ES6 JavaScript features
If you're looking for alternatives or complementary tools:
Repository: firealarmss/dvswitch_mode_switcher
A Node.js-based web interface for DVSwitch with mode switching and talkgroup selection.
Comparison:
- Architecture: Node.js backend vs our Bash CGI (simpler)
- Installation: Requires Node.js 18+ and npm vs our one-line installer
- Favorites: Static config files vs our web-based add/delete interface
- Port: Runs on port 3000 vs integrates with existing Apache
Built-in with DVSwitch Server
The standard dashboard that comes with DVSwitch installation.
What it offers:
- Real-time activity monitoring
- RX audio streaming
- System status display
What it doesn't:
- No talkgroup control or mode switching
- Monitoring only, not control
Official mobile apps for Android/iOS
Native mobile applications for DVSwitch control.
Key difference:
- Requires mobile app installation vs browser-based access
- Not self-hostable - uses official apps
Our advantages:
- Simpler installation (one command)
- Pure HTML/CSS/JS - no Node.js required
- Web-based favorite management (add/delete via UI)
- Quick Tune feature for instant TG changes
- Works with standard Apache setup
- Edit favorites directly or via web interface
- Retro-styled, responsive design
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
See CHANGELOG.md for version history and changes.
- Original concept and development by KI9NG
- DVSwitch Server by N4IRS and the DVSwitch development team
- AllStarLink development team for ASL3
- Ham radio community for testing and feedback
MIT License - See LICENSE for details.
For support, please:
- Check the troubleshooting section above
- Review existing GitHub issues
- Open a new issue with:
- Your ASL3 version
- Hardware platform
- Error messages or logs
- Steps to reproduce the problem
Special thanks to:
- The AllStarLink development community
- DVSwitch contributors and maintainers
- Beta testers and early adopters
- Ham radio operators providing feedback
73 de KI9NG
