DVSwitch Cockpit - Modern Status Dashboard for ASL3 / DVSwitch

I built a small free/open-source status dashboard for ASL3/DVSwitch called DVSwitch Cockpit.

It is read-only for network control. It does not connect or disconnect modes. It only displays runtime status, recent gateway activity, DMR ID/callsign lookup, QRZ links, and includes limited restart buttons for Analog_Bridge and MMDVM_Bridge.

I’m sharing it in case it is useful to anyone running DVSwitch.

Repo: https://github.com/TerryClaiborne/dvswitch-cockpit

Some great info and works like it suppose to. This is just a personal preference by the way. My only issue is the color. Now I know that this is not everyone but for me the purple is hard for me to see or focus. Maybe a small button or a script during install that will let someone choose a color. I was able to change the color to where I could see it better. Mine is mostly black and white. Black backgrounds with white text. Still working on changing everything so I can see it. Great job none the less. Great little install for someone that wants to give others access to see something but not be able to change anything

Your alltune2 was beautifully made. Thank you. But I got little problem with dvswitch dashboard as if I tune with your alltune2. It will automatic in STFU mode so my dashboard become blank.

So want to know if this cockpit can solve the issue I had?

Yes, I have been working on the bugs all day. Run this and see if it fixes what you are talking about: cd /var/www/html/dvswitch-cockpit
git pull origin main
sudo ./setup_dvswitch_cockpit.sh

You need to address the security issues.

It will all be taken care of. Thank you for your concern.

You are a legend.. I can see the talker activity using your cockpit.. but the webpage a bit too small. I need to zoom 133% on my 14" laptop.

Thank you, I just added the D-Star module to the cockpit and updated Alltune2 to include D-Star, P25, and NXDN. Enjoy!

I installed the first version on my 2 cloud allstar server with DVswitch and everything is working. After I read your post to run these

git pull origin main

sudo ./setup_dvswitch_cockpit.sh

I updated one of the server and I can't access it anymore. 403 Forbidden is showing on the browser.

KC1JFN

The reason you are seeing:

Forbidden
You don't have permission to access this resource.

It's because you are trying to browse the Cockpit through a public Internet IP

DVSwitch Cockpit has a trusted-client security check and is intended for local/trusted network access. Other dashboards like the original DVSwitch dashboard, Supermon-ng, XLXD, or ASL3 Cockpit may allow public access, but Cockpit is more restrictive because it includes service restart controls and runtime APIs.
Terry

oh ok, thanks for the reply

I will not update the other server then. I can access the old one from anywhere.

Anthony

Maybe look into Tailscale. When you use Tailscale to access the DVSwitch Cockpit, the dashboard sees the request coming from a trusted internal peer rather than a public internet IP, which satisfies the security check.

Terry

I reverted back to your old dvswitch_cockpit and everything is working now.

Does TGIF shows in the dashboard even though I am connected to BM as shown in my screenshot?

If you do not want to revert to that version which has security concerns, I have addressed them in a fork at the moment. It enabled a login instead of being locked to trusted networks which as usually lan addresses. I am sure Terry will review the PR shortly but up to you .. You just use the source tree from my github instead of Terry's .

Like I said this is Terry's project, this was just a way to secure it and make it completely usable on cloud nodes and such.

Thank Jory, I'll these

KC1JFN

Got it working

Thanks