Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
430 commits
Select commit Hold shift + click to select a range
fc6b08d
Update index_template.html
sp2ong Nov 14, 2019
1a16c3e
Update index_template.html
sp2ong Nov 14, 2019
d035f3b
Update monitor.py
sp2ong Nov 22, 2019
55d2a75
Update lastheard.html
sp2ong Nov 22, 2019
ae7e809
Update monitor.py
sp2ong Dec 10, 2019
02ac665
only for test and debug info
sp2ong Dec 11, 2019
c7799c9
Update hblink_table.html
sp2ong Dec 11, 2019
0eb87a2
Update monitor-test.py
sp2ong Dec 11, 2019
20d0442
Delete monitor-test.py
sp2ong Dec 11, 2019
6f3b0b9
Add files via upload
sp2ong Dec 11, 2019
94f8f5e
Update index_template.html
sp2ong Dec 20, 2019
b9b9ce3
Update hblink_table.html
sp2ong Dec 20, 2019
b4023aa
Delete monitor-test.py
sp2ong Dec 23, 2019
77215f9
Update monitor.py
sp2ong Dec 23, 2019
7f83cc5
Update monitor.py
sp2ong Dec 24, 2019
45f8609
Update lastheard.html
sp2ong Dec 24, 2019
85bddd3
Update index_template.html
sp2ong Dec 26, 2019
3cff06b
Update hblink_table.html
sp2ong Dec 26, 2019
ef102b3
Update lastheard.html
sp2ong Dec 26, 2019
907e592
Update monitor.py
sp2ong Dec 26, 2019
550dfb6
Update hblink_table.html
sp2ong Dec 27, 2019
eb2def1
remove references to "curDir" and replace them with "PATH" and "LOG_P…
n0mjs710 Dec 31, 2019
49aa91e
Merge pull request #1 from n0mjs710/master
sp2ong Dec 31, 2019
2e15732
Update hblink_table.html
sp2ong Jan 1, 2020
a8156e4
Update hblink_table.html
sp2ong Jan 7, 2020
b5cbc6b
Update hblink_table.html
sp2ong Jan 8, 2020
ecaa096
Add files via upload
sp2ong Jan 8, 2020
aaa904d
Update hblink_table.html
sp2ong Jan 8, 2020
581a50f
Update index_template.html
sp2ong Jan 19, 2020
f8851f2
Update index_template.html
sp2ong Jan 20, 2020
3be02d1
Update index_template.html
sp2ong Jan 20, 2020
63b3c9b
Update monitor.py
sp2ong Jan 31, 2020
e94deb5
Update monitor.py
sp2ong Feb 1, 2020
da261fe
Update lastheard.html
sp2ong Feb 1, 2020
11ddb0e
Update index_template.html
sp2ong Feb 7, 2020
cbab640
Update README.md
sp2ong Feb 11, 2020
c4f03c0
Update monitor.py
sp2ong Feb 11, 2020
22ade56
Update monitor.py
sp2ong Feb 13, 2020
d68a53f
Update Readme.md
sp2ong Feb 21, 2020
afef6ea
Update config_SAMPLE.py
sp2ong Feb 21, 2020
01b1390
Update monitor.py
sp2ong Feb 21, 2020
a632d90
Update config_SAMPLE.py
sp2ong Feb 21, 2020
c2a9ef9
Update log.php
sp2ong Feb 26, 2020
42dd445
Update hblink_table.html
sp2ong Feb 26, 2020
d131c46
Update monitor.py
sp2ong Feb 26, 2020
c68efb7
Update lastheard.html
sp2ong Feb 27, 2020
18be7df
Update lastheard.html
sp2ong Feb 27, 2020
415e677
Update monitor.py
sp2ong Feb 27, 2020
bcaa4b4
Update monitor.py
sp2ong Feb 27, 2020
a4b3e42
Update hblink_table.html
sp2ong Feb 27, 2020
b97de4a
Update config_SAMPLE.py
sp2ong Feb 27, 2020
db88b99
Update monitor.py
sp2ong Feb 27, 2020
e9ef9b5
Add files via upload
sp2ong Feb 27, 2020
abbffbc
Add files via upload
sp2ong Feb 27, 2020
922ed68
Delete hblink_table.html
sp2ong Feb 27, 2020
6e6f581
Add files via upload
sp2ong Feb 27, 2020
c6738b8
Update monitor.py
sp2ong Feb 27, 2020
7c3ab91
Update lastheard.html
sp2ong Feb 27, 2020
0e7f48b
Update index_template.html
sp2ong Feb 28, 2020
c41e605
Update bridge_table.html
sp2ong Mar 2, 2020
7236e08
Update bridge_table.html
sp2ong Mar 2, 2020
9b9f3ad
Add files via upload
sp2ong Mar 6, 2020
db30d36
Add files via upload
sp2ong Mar 6, 2020
0bf9428
Create README.md
sp2ong Mar 6, 2020
ab526cb
Add oficial HBlink logo PNG
sp2ong Mar 6, 2020
a1f1a4f
Add oficial HBlink logo SVG
sp2ong Mar 6, 2020
a0e9966
Delete HBlink.png
sp2ong Mar 6, 2020
23f7113
Delete HBlink.svg
sp2ong Mar 6, 2020
d2dd45c
Update README.md
sp2ong Mar 7, 2020
cb286f4
Update index_template.html
sp2ong Apr 5, 2020
40921dc
Update README.md
sp2ong Apr 18, 2020
29d587f
Update index_template.html
sp2ong Apr 21, 2020
86009fd
Update index_template.html
sp2ong Apr 22, 2020
15abd30
Update hblink_table.html
sp2ong Apr 25, 2020
29341c3
Update hblink_table_gradient.html
sp2ong Apr 25, 2020
4d9dfa1
Update hblink_table_nogradient.html
sp2ong Apr 25, 2020
c89667a
Update hblink_table_nogradient.html
sp2ong Apr 25, 2020
80b3dff
Update hblink_table.html
sp2ong Apr 25, 2020
fda6a82
Update hblink_table_gradient.html
sp2ong Apr 25, 2020
4b04f72
Create hblink_tabke_blue.html
sp2ong Apr 29, 2020
8ac2498
Delete hblink_tabke_blue.html
sp2ong Apr 29, 2020
d1dd036
Create hblink_table_blue.html
sp2ong Apr 29, 2020
d34ae2d
Update README.md
sp2ong Jun 10, 2020
69f317b
Update README.md
sp2ong Jun 10, 2020
a81b747
Update README.md
sp2ong Jun 10, 2020
26c9240
Update README.md
sp2ong Jun 10, 2020
c37f73b
Update monitor.py
sp2ong Jun 11, 2020
9027637
radioid.net is changing the URL for database dumps
sp2ong Jun 16, 2020
16d277c
Cleaning entries in tables
sp2ong Jun 17, 2020
e593ba3
update version info
sp2ong Jun 17, 2020
9eaea82
Update monitor.py
sp2ong Jun 17, 2020
51f6bd0
Upadate README
sp2ong Jun 17, 2020
334433f
Update README.md
sp2ong Jun 23, 2020
c45fd8f
Update index_template.html
sp2ong Jun 23, 2020
3168cf4
Update README.md
sp2ong Jun 25, 2020
06fb713
Update tooltip text
sp2ong Jun 26, 2020
4ca21b0
Update tooltip text
sp2ong Jun 26, 2020
ab8c74a
Update tooltip text
sp2ong Jun 26, 2020
316e9fb
Update tooltip text
sp2ong Jun 26, 2020
025e678
Update tooltip text
sp2ong Jun 26, 2020
9ee16e9
Display OPB table if exist
sp2ong Jun 27, 2020
a068c15
Update hblink_table_blue.html
sp2ong Jun 27, 2020
0fc7b28
Update hblink_table_gradient.html
sp2ong Jun 27, 2020
9dfc06c
Update hblink_table_nogradient.html
sp2ong Jun 27, 2020
a7d639b
Update hblink_table_old.html
sp2ong Jun 27, 2020
d41b331
Update monitor.py
sp2ong Jun 29, 2020
8d489fc
Clear list entry when lost connection
sp2ong Jun 29, 2020
f5551a4
Don't show bridges when array entry empty
sp2ong Jun 29, 2020
e6417dc
Update hblink_table.html
sp2ong Jun 29, 2020
e4069d6
Update hblink_table_blue.html
sp2ong Jun 29, 2020
00ec7d0
Update hblink_table_gradient.html
sp2ong Jun 29, 2020
0400dfc
Update hblink_table_nogradient.html
sp2ong Jun 29, 2020
fd02b86
Update hblink_table_old.html
sp2ong Jun 29, 2020
f7ecab6
Update relase info
sp2ong Jun 29, 2020
5871ccd
Update README.md
sp2ong Jul 1, 2020
da3e736
Update README.md
sp2ong Jul 1, 2020
5971fb0
Update monitor.py
sp2ong Jul 1, 2020
cfd38b3
Update hblink_table.html
sp2ong Jul 1, 2020
370c335
Update hblink_table_blue.html
sp2ong Jul 1, 2020
2a5f254
Update hblink_table_gradient.html
sp2ong Jul 1, 2020
0d58d89
Update hblink_table_nogradient.html
sp2ong Jul 1, 2020
d3df685
Update hblink_table_old.html
sp2ong Jul 1, 2020
beaa1a1
Update README.md
sp2ong Jul 1, 2020
9a71ec2
Update config_SAMPLE.py
sp2ong Jul 1, 2020
800dd78
Update hblink_table.html
sp2ong Jul 2, 2020
37722f1
Update hblink_table_blue.html
sp2ong Jul 2, 2020
006829f
Update hblink_table_gradient.html
sp2ong Jul 2, 2020
332df82
Update hblink_table_nogradient.html
sp2ong Jul 2, 2020
5e42584
Update hblink_table_old.html
sp2ong Jul 2, 2020
a8478d8
Update index_template.html
sp2ong Jul 2, 2020
a54439b
Update README.md
sp2ong Jul 2, 2020
ed96889
Update README.md
sp2ong Jul 2, 2020
485a4fb
Update index_template.html
sp2ong Jul 3, 2020
5cba170
Update README.md
sp2ong Jul 3, 2020
e7f908f
Update README.md
sp2ong Jul 3, 2020
ba4fc6f
Update README.md
sp2ong Jul 3, 2020
6e7cbfa
Update log.php
sp2ong Jul 3, 2020
6aafb42
Update README.md
sp2ong Jul 3, 2020
ac9e391
Update log.php
sp2ong Jul 3, 2020
79d0d62
Update lastheard.html
sp2ong Jul 3, 2020
fe40ca2
Update monitor.py
sp2ong Jul 3, 2020
1c9270f
Update hblink_table.html
sp2ong Jul 4, 2020
e44ed00
Update hblink_table_blue.html
sp2ong Jul 4, 2020
6a2e471
Update hblink_table_gradient.html
sp2ong Jul 4, 2020
bcaa610
Update hblink_table_nogradient.html
sp2ong Jul 4, 2020
844fd55
Update hblink_table_old.html
sp2ong Jul 4, 2020
2e9560e
Update hblink_table.html
sp2ong Jul 5, 2020
f1e405e
Update hblink_table_blue.html
sp2ong Jul 5, 2020
6c5c071
Update hblink_table_gradient.html
sp2ong Jul 5, 2020
583b53d
Update hblink_table_nogradient.html
sp2ong Jul 5, 2020
98c4dc8
Update hblink_table_old.html
sp2ong Jul 5, 2020
a8b28a0
Update hblink_table.html
sp2ong Jul 6, 2020
acf6527
Update hblink_table.html
sp2ong Jul 6, 2020
7060d81
Update hblink_table_gradient.html
sp2ong Jul 6, 2020
0564ff7
Update hblink_table_blue.html
sp2ong Jul 6, 2020
7b5e814
Update hblink_table_nogradient.html
sp2ong Jul 6, 2020
e277b92
Update hblink_table_old.html
sp2ong Jul 6, 2020
baf3b8d
color TG lastheard update
sp2ong Jul 6, 2020
b1ed265
Update hblink_table.html
sp2ong Jul 6, 2020
d4a0fee
Update hblink_table_blue.html
sp2ong Jul 6, 2020
ebee261
Update hblink_table_gradient.html
sp2ong Jul 6, 2020
253e660
Update hblink_table_nogradient.html
sp2ong Jul 6, 2020
34ecbfc
Update hblink_table_old.html
sp2ong Jul 6, 2020
4b74a8c
Update index_template.html
sp2ong Jul 6, 2020
2ca428e
Update monitor.py
sp2ong Jul 6, 2020
ed4889a
Update lastheard.html
sp2ong Jul 6, 2020
92add31
Update monitor.py
sp2ong Jul 6, 2020
e4de916
Update log.php
sp2ong Jul 6, 2020
1bb05c5
Update index_template.html
sp2ong Jul 7, 2020
e4e5504
Update hblink_table.html
sp2ong Jul 7, 2020
f43759e
update url of K0USY
sp2ong Jul 7, 2020
8fc6986
Update hblink_table.html
sp2ong Jul 8, 2020
9d57fed
time display correct
sp2ong Jul 13, 2020
a80326e
Update monitor.py
sp2ong Jul 13, 2020
2f5eae8
Update hblink_table.html
sp2ong Jul 15, 2020
1b9be47
timeout reduction by up to 3 minutes
sp2ong Jul 16, 2020
1bd0711
Update hblink_table.html
sp2ong Jul 16, 2020
a62d282
Update hblink_table.html
sp2ong Jul 20, 2020
f084d35
Update hblink_table_blue.html
sp2ong Jul 20, 2020
2cc4b1b
Update hblink_table_gradient.html
sp2ong Jul 20, 2020
d94e259
Update hblink_table_nogradient.html
sp2ong Jul 20, 2020
32a07f1
Update hblink_table.html
sp2ong Jul 20, 2020
661a4ad
Update index_template.html
sp2ong Jul 20, 2020
13e3166
Update monitor.py
sp2ong Jul 20, 2020
71ae16b
Update monitor.py
sp2ong Jul 21, 2020
8dd2e30
Update monitor.py
sp2ong Jul 21, 2020
bfd281a
Update monitor.py
sp2ong Jul 21, 2020
a28620a
Update index_template.html
sp2ong Jul 21, 2020
5500502
Update index_template.html
sp2ong Jul 22, 2020
a5d1ae1
Update hblink_table_blue.html
sp2ong Jul 24, 2020
eadcca9
Update hblink_table_gradient.html
sp2ong Jul 24, 2020
c4a3932
Update hblink_table_nogradient.html
sp2ong Jul 24, 2020
5590db2
Delete hblink_table_old.html
sp2ong Jul 24, 2020
18da255
Update hblink_table.html
sp2ong Aug 10, 2020
a9cdecf
Update index_template.html
sp2ong Aug 10, 2020
56248b3
Update index_template.html
sp2ong Aug 11, 2020
8eb87b2
Update hblink_table.html
sp2ong Aug 15, 2020
ef7a748
Update hblink_table_nogradient.html
sp2ong Aug 15, 2020
4593f7c
Update hblink_table_gradient.html
sp2ong Aug 15, 2020
44c3c2d
Update hblink_table_blue.html
sp2ong Aug 15, 2020
c85ef5e
Update hblink_table.html
sp2ong Aug 15, 2020
ed0241c
Update hblink_table_blue.html
sp2ong Aug 15, 2020
0cad04e
Update hblink_table_gradient.html
sp2ong Aug 15, 2020
c87ca9c
Update hblink_table_nogradient.html
sp2ong Aug 15, 2020
f549a3d
Update Readme.md
sp2ong Aug 17, 2020
d0128ed
Update log.php
sp2ong Aug 17, 2020
4feb075
Update log.php
sp2ong Aug 18, 2020
acbbc6f
Update monitor.py
sp2ong Sep 25, 2020
d1634e7
Update index_template.html
sp2ong Sep 25, 2020
8cfb877
sall update - colors in openbridge links
sp2ong Dec 21, 2020
5c413de
did not display "master" when no users are connected
sp2ong Dec 23, 2020
b737e33
did not display "master" when no users are connected
sp2ong Dec 23, 2020
816af16
did not display "master" when no users are connected
sp2ong Dec 23, 2020
17271ba
did not display "master" when no users are connected
sp2ong Dec 23, 2020
5830b9f
Update monitor.py
sp2ong Dec 23, 2020
49e25b2
Update monitor.py
sp2ong Dec 23, 2020
32dcc4b
Update version
sp2ong Dec 23, 2020
5b7ed86
Update index_template.html
sp2ong Dec 23, 2020
7b17a11
Update index_template.html
sp2ong Dec 23, 2020
64dd06a
check freqency is digital
sp2ong Dec 25, 2020
d1e6fc0
Update local_subscriber_ids.json
sp2ong Dec 27, 2020
831711a
Update monitor.py
sp2ong Dec 30, 2020
4bad062
Display (True) or not (False) empty master in status
sp2ong Dec 31, 2020
8bfa667
Display (True) or not (False) empty master in status
sp2ong Dec 31, 2020
cbaf2aa
Update hblink_table.html
sp2ong Dec 31, 2020
4b694fe
Update hblink_table_blue.html
sp2ong Dec 31, 2020
98af649
Update hblink_table_gradient.html
sp2ong Dec 31, 2020
c5bfa34
Update hblink_table_nogradient.html
sp2ong Dec 31, 2020
dbcaed3
Update monitor.py
sp2ong Dec 31, 2020
be7942b
Update README.md
sp2ong Jan 1, 2021
9fadeaa
Delete hblink_table_blue.html
sp2ong Jan 2, 2021
85b4552
Delete hblink_table_gradient.html
sp2ong Jan 2, 2021
9492e53
Delete hblink_table_nogradient.html
sp2ong Jan 2, 2021
371aa5c
Update README.md
sp2ong Jan 4, 2021
7c86d47
Update README.md
sp2ong Jan 4, 2021
ffeae48
Fixed problem whth crash write file lastheard.log
sp2ong Jan 4, 2021
277b1fc
add sed required to install
sp2ong Jan 4, 2021
1435f19
Moved checking lastheard.log at program startup
sp2ong Jan 4, 2021
5a6cce3
remove source ID alias from lastheard and monitor
sp2ong Mar 26, 2021
7626657
remove source id
sp2ong Mar 27, 2021
12d4538
Update lastheard.html
sp2ong Mar 27, 2021
040a5cd
check UTF-8 for COLORCODE
sp2ong Mar 29, 2021
91816ee
Update index_template.html
sp2ong Mar 29, 2021
45d6c02
update d
sp2ong May 31, 2021
9dff1e2
Update monitor.py
sp2ong May 31, 2021
6eed2d1
Increase the number of lines from the log
sp2ong Jun 2, 2021
4b60453
Update README.md
sp2ong Oct 5, 2021
9cfe122
Update README.md
sp2ong Oct 5, 2021
28c4d35
required markupsafe v 2.0.1
sp2ong May 16, 2022
1bb168d
Update README.md
sp2ong Jun 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ config.py
*.csv
.DS_Store
*.log
*.json
94 changes: 79 additions & 15 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,30 +1,87 @@
---
### COMPLETELY UNSUPPORTED SOFTWARE - DO NOT ASK FOR SUPPORT OR FEATURES ###


**HBMonitor no longer developing**

**Try to use more updated version by OA4DOA: https://github.com/yuvelq/FDMR-Monitor**


**HBmonitor is a "web dashboard" for HBlink by N0MJS.**

**New version of HBMonitor V2 (2021):**

https://github.com/sp2ong/HBMonv2


***This is version of HBMonitor V1 by SP2ONG 2019-2021***

I recommend not running HBmonitor on the same computer as HBlink3

HBmonitor tested on Debian v9 STRETCH

HBMonitor V1:
cd /opt
git clone https://github.com/sp2ong/HBmonitor.git
cd HBmonitor

If you want to try the HBMonitor version with BRIDGE status display on a separate page,
run the command below, if not skip this command:
git checkout bridges

chmod +x install.sh
./install.sh
cp config-SAMPLE.py config.py
edit config.py and change what you necessary
cp utils/hbmon.service /lib/systemd/system/
systemctl enable hbmon
systemctl start hbmon
systemctl status hbmon
forward TCP ports 8080 and 9000 in firewall

If you use openbrige links, in config.py in OPB_FILTER enter NETWORK_ID
to do not display unnecessary entries in LASTHEARD.

Please remember the table lastherad displays only station transmissions that are longer than 2 seconds.

If you don't want to have the lasherad list set in config.py :
LASTHEARD_INC = False

If you want to have more than the last 10 entries in the Lastherad table
change in the monitor.py file on line 629 https://github.com/sp2ong/HBmonitor/blob/master/monitor.py#L629
if n == 10:
for example:
if n == 20:

If you want to have access to HBmonitor via username and password, set it in config.py :
WEB_AUTH = True
and set username and password in:
WEB_USER = 'hblink'
WEB_PASS = 'hblink'

If not need monitor online rules please use in config.py BRIDGES_INC = False

---

**Socket-Based Reporting for HBlink**
After update distribution of Linux jinja2 to version 3.x you can find problem with run HBMonitor with error:

Over the years, the biggest request recevied for HBlink (other than call-routing/bridging tools) has been web-based diagnostics and/or statistics for the program.
ValueError: The 'monitor' package was not installed in a way that PackageLoader understands.

I strongly disagree with including the amount of overhead this would require inside HBlink -- which still runs nicely on very modest resources. That it does this, and is in Python is a point of pride for me... Just let me have this one, ok? What I have done is added some hooks to HBlink, which will be expanded over time, whereby it listens on a TCP socket and provides the raw data necessary for a "web dashboard", or really any external logging or statistics gathering program.

HBmonitor is my take on a "web dashboard" for HBlink.
You must uninstall jinja2 and reinstalling with this version Jinja2==2.11.3

***THIS SOFTWARE IS VERY, VERY NEW***
pip3 uninstall jinja2

Right now, I'm just getting into how this should work, what does work well, what does not... and I am NOT a web applications programmer, so yeah, that javascript stuff is gonna look bad. Know what you're doing? Help me!
and

It has now reached a point where folks who know what they're doing can probably make it work reasonably well, so I'm opening up the project to the public.
pip3 install Jinja2==2.11.3

***GOALS OF THE PROJECT***

Some things I'm going to stick to pretty closely. Here they are:
---

+ HBmonitor be one process that includes a webserver
+ Websockets are used for pushing data to the browser - no long-polling, etc.
+ Does not provide data that's easily misunderstood
**hbmonitor3 by KC1AWV**

***0x49 DE N0MJS***
Python 3 implementation of N0MJS HBmonitor for HBlink https://github.com/kc1awv/hbmonitor3

---

Copyright (C) 2013-2018 Cortney T. Buffington, N0MJS <n0mjs@me.com>

Expand All @@ -33,3 +90,10 @@ This program is free software; you can redistribute it and/or modify it under th
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA







50 changes: 32 additions & 18 deletions config_SAMPLE.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
REPORT_NAME = 'system.domain.name' # Name of the monitored HBlink system
CONFIG_INC = True # Include HBlink stats
BRIDGES_INC = True # Include Bridge stats (confbrige.py)
HBLINK_IP = '127.0.0.1' # HBlink's IP Address
HBLINK_PORT = 4321 # HBlink's TCP reporting socket
FREQUENCY = 10 # Frequency to push updates to web clients
WEB_SERVER_PORT = 8080 # Has to be above 1024 if you're not running as root
REPORT_NAME = 'Dashboard of local DMR network' # Name of the monitored HBlink system
#
CONFIG_INC = True # Include HBlink stats
HOMEBREW_INC = True # Display Homebrew Peers status
LASTHEARD_INC = True # Display lastheard table on main page
BRIDGES_INC = False # Display Bridge status and button
EMPTY_MASTERS = False # Display (True) or not (False) empty master in status
#
HBLINK_IP = '127.0.0.1' # HBlink's IP Address
HBLINK_PORT = 4321 # HBlink's TCP reporting socket
FREQUENCY = 10 # Frequency to push updates to web clients
WEB_SERVER_PORT = 8080 # Has to be above 1024 if you're not running as root
CLIENT_TIMEOUT = 0 # Clients are timed out after this many seconds, 0 to disable

# Put list of NETWORK_ID from OPB links to don't show local traffic in lastheard, for example: "260210,260211,260212"
OPB_FILTER = ""

# Authorization of access to dashboard
WEB_AUTH = False
WEB_USER = 'hblink'
WEB_PASS = 'hblink'

# Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END IN '/'
PEER_FILE = 'peer_ids.csv' # Will auto-download from DMR-MARC
SUBSCRIBER_FILE = 'subscriber_ids.csv' # Will auto-download from DMR-MARC
TGID_FILE = 'talkgroup_ids.csv' # User provided, should be in "integer TGID, TGID name" format
LOCAL_SUB_FILE = 'local_subscriber_ids.csv' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
LOCAL_PEER_FILE = 'local_peer_ids.csv' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
FILE_RELOAD = 7 # Number of days before we reload DMR-MARC database files
PEER_URL = 'https://www.radioid.net/static/rptrs.csv'
SUBSCRIBER_URL = 'https://www.radioid.net/static/users.csv'
PATH = './' # MUST END IN '/'
PEER_FILE = 'peer_ids.json' # Will auto-download from DMR-MARC
SUBSCRIBER_FILE = 'subscriber_ids.json' # Will auto-download from DMR-MARC
TGID_FILE = 'talkgroup_ids.json' # User provided, should be in "integer TGID, TGID name" format
LOCAL_SUB_FILE = 'local_subscriber_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
LOCAL_PEER_FILE = 'local_peer_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC
FILE_RELOAD = 30 # Number of days before we reload DMR-MARC database files
PEER_URL = 'https://database.radioid.net/static/rptrs.json'
SUBSCRIBER_URL = 'https://database.radioid.net/static/users.json'

# Settings for log files
LOG_PATH = '/var/log/link/' # MUST END IN '/'
LOG_NAME = 'webtables.log'
LOG_PATH = './log/' # MUST END IN '/'
LOG_NAME = 'hbmon.log'
Binary file added images/HBlink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading