default1Day

This commit is contained in:
SpudGunMan
2024-10-08 12:58:51 -07:00
parent c4dcd44efb
commit a56b64fd63
3 changed files with 6 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ from collections import Counter, defaultdict
# global variables
LOG_PATH = '/opt/meshing-around/logs' # override path to log files (defaults to ../log)
W3_PATH = '/var/www/html/' # override path to web server root (defaults to ../www)
multiLogReader = True
multiLogReader = False # set to True to read all logs in ../log
shameWordList = ['password', 'combo', 'key', 'hidden', 'secret', 'pass', 'token', 'login', 'username', 'admin', 'root']
# system variables

View File

@@ -18,7 +18,7 @@ from collections import Counter, defaultdict
# global variables
LOG_PATH = '/opt/meshing-around/logs' # override path to log files (defaults to ../log)
W3_PATH = '/var/www/html/' # override path to web server root (defaults to ../www)
multiLogReader = True
multiLogReader = False # set to True to read all meshbot logs in ../log
shameWordList = ['password', 'combo', 'key', 'hidden', 'secret', 'pass', 'token', 'login', 'username', 'admin', 'root']
# system variables

View File

@@ -867,6 +867,10 @@ def onReceive(packet, interface):
telemetryData[rxNode]['numPacketsRxErr'] = localStats.get('numPacketsRxErr')
if localStats.get('numTotalNodes') is not None:
telemetryData[rxNode]['numTotalNodes'] = localStats.get('numTotalNodes')
# LOCATION packets
if packet.get('decoded') and packet['decoded']['portnum'] == 'POSITION_APP':
print(f"DEBUG POSITION_APP: {packet}")
# BBS DM MAIL CHECKER
if bbs_enabled and 'decoded' in packet: