HBMonv2/config_SAMPLE.py

32 lines
2.0 KiB
Python
Raw Normal View History

2020-12-31 15:19:50 +01:00
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
2021-01-01 09:51:44 +01:00
EMPTY_MASTERS = False # Display Enable (True) or DISABLE (False) empty masters in status
2020-12-31 15:19:50 +01:00
#
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
CLIENT_TIMEOUT = 0 # Clients are timed out after this many seconds, 0 to disable
2021-05-18 17:13:42 +02:00
# To prevent show local traffic on the which is shown as an "echo" from all OBPs,
# we need to add in OPB_FILTER NETWORK ID for all defined OPB links on our own server.
# It is for show the real system from which traffic originates from.
# for example: "260210,260211,260212"
2020-12-31 15:19:50 +01:00
OPB_FILTER = ""
# Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END IN '/'
2021-04-01 15:30:19 +02:00
PEER_FILE = 'peer_ids.json' # Will auto-download
SUBSCRIBER_FILE = 'subscriber_ids.json' # Will auto-download
TGID_FILE = 'talkgroup_ids.json' # User provided
LOCAL_SUB_FILE = 'local_subscriber_ids.json' # User provided (optional, leave '' if you don't use it)
LOCAL_PEER_FILE = 'local_peer_ids.json' # User provided (optional, leave '' if you don't use it)
2021-05-18 17:13:42 +02:00
FILE_RELOAD = 15 # Number of days before we reload DMR-MARC database files
2020-12-31 15:19:50 +01:00
PEER_URL = 'https://database.radioid.net/static/rptrs.json'
SUBSCRIBER_URL = 'https://database.radioid.net/static/users.json'
# Settings for log files
LOG_PATH = './log/' # MUST END IN '/'
LOG_NAME = 'hbmon.log'