Go to file
2021-05-25 06:43:20 +02:00
css fixed html code 2021-02-28 16:52:06 +01:00
img Updated metadata for logo picture 2021-03-14 10:46:06 +01:00
log Delete hbmon.log 2021-02-23 18:00:36 +01:00
scripts revert 2021-03-04 17:03:04 +01:00
sysinfo updated check RPI temp CPU 2021-02-25 11:27:01 +01:00
templates Update main_table.html 2021-05-25 06:43:20 +02:00
utils remove source id 2021-03-27 08:23:20 +01:00
.gitignore Create .gitignore 2021-03-27 17:37:31 +01:00
config_SAMPLE.py Update config_SAMPLE.py 2021-04-01 15:30:19 +02:00
install.sh add cargo package 2021-02-16 12:55:06 +01:00
local_peer_ids.json Add files via upload 2020-12-31 15:20:58 +01:00
local_subscriber_ids.json Add files via upload 2020-12-31 15:20:04 +01:00
monitor.py remove TimeSlot info from lastheard 2021-05-22 12:16:57 +02:00
README.md Update README.md 2021-05-18 18:05:13 +02:00
requirements.txt Update requirements.txt 2021-05-16 11:48:33 +02:00
talkgroup_ids.json Empty template TG names 2021-05-02 12:49:51 +02:00

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

This is version of HBMonitor V2 by SP2ONG 2019-2021

The main difference between HBMonitor v1 and v2 is the layout, i.e. the main page shows condensed information and on the subpages, you can see the individual content that was shown on v1

I recommend not running HBmonitor on the same computer as HBlink3

HBmonitor tested on Debian v9 and v10

This is version HBMonitor V2

cd /opt
git clone https://github.com/sp2ong/HBMonv2.git
cd HBMonv2
git checkout webserver-python
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

Please setup your SYSTEM INFO subpage with the following instruction:

https://github.com/sp2ong/HBMonv2/tree/main/sysinfo

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 lastheard displays only station transmissions that are longer than 2 seconds.

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

If you want to have more than the last 15 entries in the Lastherad table
change in the monitor.py file line from
  if n == 15:
to for example:
  if n == 20:

I recommend using the following settings:
    WEB_AUTH = True
  in config.py and set a proper username and password in:
    WEB_USER = 'hblink'
    WEB_PASS = 'hblink'
will provide access to more information about masters / peers / openbridge / monitor for users 
who know access Information.

The display of buttons configurations are in the directory templates/buttons.html file. Don't change 
the code in the first part that checks if you have WEB_AUTH settings in config.py
If you want to add your own buttons put the code below the line
<! --- Own buttons html code ->

The logo image you can replace with file image: img/logo.png

In config.py you can choose one of the predefined HBmonitor colors or define your own by entering the code in THEME_COLOR

In directory sysinfo/ you can find info on how to setup display SYSTEM Info data in Monitor. 

If not need monitor online rules (I do not recommend please use in config.py BRIDGES_INC = False

hbmonitor3 by KC1AWV

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


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

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

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