1
0
Fork 0

personalisation; small changes to show connected Reflector

I may add, you may need to setup a symlink from your webroot
"Links.log" to the actual logfile somewhere at /var/log/mmdvm/Links.log
oe7drt-hotspot-2022
Dominic Reich 6 months ago
parent d6fc5fb6c4
commit 86bd4869a2
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -1,18 +1 @@
MODE,TS,TG,LABEL,URL
DMR,1,263,DL Multimode BM,
DMR,2,8021,Pegasus DMR-DL,
DMR,2,2625,RLP/SL BM,
YSF,0,1,Local Parrot,
YSF,0,2,DEV Reflector,
YSF,0,10,YSF2DMR TG26250,
YSF,0,40,DL Multimode 263,https://c4fm.ysfreflector.de/Germany/
YSF,0,41,DL-RAMSES,http://161.97.140.131:8000/RAMSES.html
YSF,0,42,DL-RAMSES-II,http://161.97.140.131:8000/RAMSES-II.html
YSF,0,43,DL-RAMSES-III,
YSF,0,44,DL-PEGASUS,https://ysf.projekt-pegasus.net/1/
YSF,0,45,DL-SAAR,https://c4fm.ysfreflector.de/DL-Saar/
YSF,0,46,DE-Twitterrunde,https://c4fm.ysfreflector.de/Twitterrunde/
YSF,0,47,DE-Westpfalz,https://westpfalz.ysfreflector.de
YSF,0,48,DE-Deutschland,
YSF,0,49,DE-IG-Hamspirit,http://92.205.24.245:8000/
YSF,0,99,Network Parrot,

1 MODE TS TG LABEL URL
DMR 1 263 DL Multimode BM
DMR 2 8021 Pegasus DMR-DL
DMR 2 2625 RLP/SL BM
YSF 0 1 Local Parrot
YSF 0 2 DEV Reflector
YSF 0 10 YSF2DMR TG26250
YSF 0 40 DL Multimode 263 https://c4fm.ysfreflector.de/Germany/
YSF 0 41 DL-RAMSES http://161.97.140.131:8000/RAMSES.html
YSF 0 42 DL-RAMSES-II http://161.97.140.131:8000/RAMSES-II.html
YSF 0 43 DL-RAMSES-III
YSF 0 44 DL-PEGASUS https://ysf.projekt-pegasus.net/1/
YSF 0 45 DL-SAAR https://c4fm.ysfreflector.de/DL-Saar/
YSF 0 46 DE-Twitterrunde https://c4fm.ysfreflector.de/Twitterrunde/
YSF 0 47 DE-Westpfalz https://westpfalz.ysfreflector.de
YSF 0 48 DE-Deutschland
YSF 0 49 DE-IG-Hamspirit http://92.205.24.245:8000/
YSF 0 99 Network Parrot

@ -12,7 +12,7 @@
<!-- So refresh works every time -->
<meta http-equiv="expires" content="0">
<title>MMDVM-Dashboard by DG9VH</title>
<title>DMR MMDVM-Dashboard by DG9VH</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
@ -27,11 +27,43 @@
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="metar.js/metar.js"></script>
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript" language="JavaScript">
function initLinksLog() {
readLinksLog();
setInterval(readLinksLog, 1 * 1000);
}
function readLinksLog() {
cache: 'false';
var xmlhttp;
xmlhttp = new XMLHttpRequest();
xmlhttp.onload = function() {
if(xmlhttp.readyState == 4 && xmlhttp.status == 200) {
str = xmlhttp.responseText;
str = str.replace(/(?:\r\n|\r|\n)/g, "<br>");
//document.getElementById("dstar-linked").innerHTML = xmlhttp.responseText;
document.getElementById("dstar-linked").innerHTML = str;
}
}
xmlhttp.open("GET", "Links.log", true);
xmlhttp.setRequestHeader("Cache-Control", "no-cache, must-revalidate");
xmlhttp.setRequestHeader("Expires", "Sat, 26 Jul 1997 05:00:00 GMT");
xmlhttp.send();
}
</script>
<style>
#dstar-linked {
font-size: 120%;
}
#dstar-linked:before {
//content: "🔗";
//font-size: 120%;
}
</style>
<link rel="stylesheet" href="css/tooltip.css">
<link href="open-iconic/font/css/open-iconic-bootstrap.css" rel="stylesheet">
<title>DG9VH - MMDVM-Dashboard by DG9VH</title>
</head>
<body>
<body onload="initLinksLog()">
<!-- Config structure modal -->
<div id="configstructmodal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
@ -68,6 +100,18 @@
</div>
</nav>
<!-- Custom Text -->
<div style="margin:0.5em;">
<table border="0" cellpadding="3" cellspacing="2">
<tr>
<td style="vertical-align: top;">
<button type="link" onClick="readLinksLog()" title="Click to refresh">🔗 Linked to: </button>
</td>
<td>
<span style="width: 80%; height: auto; overflow: auto; resize: none;" id="dstar-linked"></span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">document.write(customText);</script>
<!-- Custom Text End -->
<ul class="nav nav-tabs" id="myTab" role="tablist">

@ -18,10 +18,10 @@ var lastheard = 2;
var localheard = 1;
var allheard = 1;
var qso = 1;
var dapnet = 1;
var dapnet = 0;
var sysinfo = 1;
var services = 1;
var about = 1;
var about = 0;
// Set displayed timezone and timestamp to timezone of browser if 1, else use UTC for displaying
var useClientTimezone = 1;
@ -42,11 +42,10 @@ var dashboard_blacklist = [
]
// 1 = enable dark display theme, 0 = use bright theme
var useDarkTheme = 1;
var useDarkTheme = 0;
// Here you can put in your own html to be shown centered in the headline, to show no text, just set it to ``
var customHeadlineText = `Custom-Headline-Text`;
var customHeadlineText = `D-STAR XLX022 T & DMR BM Idle`;
// Here you can put your own html to be shown between the header and the table-section, to show no text, just set it to ``
var customText = `<h2>This is an example</h2>
<p>you can use all html-tags and multiline-text.</p>`;
var customText = ``;

@ -13,41 +13,48 @@ SslCert=/path/to/cert
SslKey=/path/to/keyfile
# This defines the maximum amount of loglines to be sent on initial opening of the dashboard
MaxLines=500
#MaxLines=1000
MaxLines=2000
# Keep this parameter synchrone to Filerotate in MMDVM.ini/DMRHost.ini - if 0 then False, if 1 then True
Filerotate=True
Filerotate=False
[MMDVMHost]
# Don't throw away the trailing slash! It is important but check logfile-location and Prefix twice :-)
Logdir=/mnt/ramdisk/
Logdir=/var/log/mmdvm/
# Change this to DMRHost, if you are using DMRHost and configured this as log-prefix in the host-ini.
#Prefix=MMDVM
Prefix=MMDVM
# if you want to have the operator-names as popup with the callsigns, set this parts = 1 and the LookupFile to
# the right position. On MMDVMHost comment out the DMRIDs.dat-line to have the DMRIds and not the callsigns in the
# logfile to have the callsigns with names transported to the dashboard.
DMR_ID_Lookup=1
DMR_ID_LookupFile=/etc/MMDVM/DMRIds.dat
DMR_ID_LookupFile=/usr/local/etc/DMRIds.dat
# This is the reload-timer for refreshing DMR-ID-Database every x minutes (1440 = 24h = once a day every 24 hours after starting the logtailer)
DMR_ID_Reload_Time=1440
# Location of your MMDVM.ini/DMRHost.ini or similar
MMDVM_ini=/etc/MMDVM/MMDVM.ini
MMDVM_ini=/etc/MMDVM.ini
# Localtion of your MMDVMHost/DMRHost-binary
#MMDVM_bin=/usr/local/bin/DMRHost
MMDVM_bin=/usr/local/bin/MMDVMHost
[DAPNETGateway]
# Don't throw away the trailing slash! It is important but check logfile-location and Prefix twice :-)
Logdir=/mnt/ramdisk/
Logdir=/var/log/mmdvm/
Prefix=DAPNETGateway
[ServiceMonitoring]
# Here you list your Services to be monitored. Just add additional lines if needed but be sure to count them up
#BinaryName1=DMRHost
BinaryName1=MMDVMHost
BinaryName2=DMRGateway
BinaryName3=DGIdGateway
BinaryName4=YSF2DMR
BinaryName5=DAPNETGateway
BinaryName2=ircddbgatewayd
BinaryName3=timeserverd
#BinaryName4=YSFGateway
#BinaryName5=DMRGateway
#BinaryName3=DGIdGateway
#BinaryName4=YSF2DMR
BinaryName4=DAPNETGateway

@ -49,7 +49,7 @@
# CONFIGURATION
#
# Full path to DMR ID file, without final slash
DMRIDPATH=/etc/MMDVM
DMRIDPATH=/usr/local/etc
DMRIDFILE=${DMRIDPATH}/DMRIds.dat
# DMR IDs now served by RadioID.net

Loading…
Cancel
Save