2019-09-27 02:10:02 -04:00
|
|
|
REPORT_NAME = 'Dashboard of local DMR network' # Name of the monitored HBlink system
|
2019-09-17 15:18:38 -04:00
|
|
|
CONFIG_INC = True # Include HBlink stats
|
|
|
|
LASTHEARD_INC = True # Include Lastheard (10)
|
2019-09-22 00:51:51 -04:00
|
|
|
HOMEBREW_INC = True # Include Homebrew Peers
|
2019-09-17 15:18:38 -04:00
|
|
|
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
|
2020-02-21 05:40:55 -05:00
|
|
|
CLIENT_TIMEOUT = 0 # Clients are timed out after this many seconds, 0 to disable
|
|
|
|
|
2020-07-01 01:29:45 -04:00
|
|
|
# Put list of NETWORK_ID from OPB links to don't show local traffic in lastheard, for example: "260210,260211,260212"
|
2020-02-21 05:40:55 -05:00
|
|
|
OPB_FILTER = ""
|
2019-09-17 15:18:38 -04:00
|
|
|
|
2020-02-27 04:15:04 -05:00
|
|
|
# Authorization of access to dashboard
|
|
|
|
WEB_AUTH = False
|
|
|
|
WEB_USER = 'hblink'
|
|
|
|
WEB_PASS = 'hblink'
|
|
|
|
|
2019-09-17 15:18:38 -04:00
|
|
|
# Files and stuff for loading alias files for mapping numbers to names
|
|
|
|
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
|
2020-02-21 05:40:55 -05:00
|
|
|
FILE_RELOAD = 30 # Number of days before we reload DMR-MARC database files
|
2020-06-16 14:38:34 -04:00
|
|
|
PEER_URL = 'https://database.radioid.net/static/rptrs.json'
|
|
|
|
SUBSCRIBER_URL = 'https://database.radioid.net/static/users.json'
|
2019-09-17 15:18:38 -04:00
|
|
|
|
|
|
|
# Settings for log files
|
|
|
|
LOG_PATH = './log/' # MUST END IN '/'
|
|
|
|
LOG_NAME = 'hbmon.log'
|