mesh hotfix

This commit is contained in:
DJ2LS 2023-10-24 22:18:18 +02:00
parent 31cbdbeaf0
commit 005519c6c1
2 changed files with 7 additions and 3 deletions

View file

@ -174,7 +174,7 @@ class MeshRouter():
except Exception as e:
self.log.warning("[MESH] error adding data to routing table", e=e, router=new_router)
def broadcast_routing_table(self, interval=10):
def broadcast_routing_table(self, interval=600):
while True:
# always enable receiving for datac4 if broadcasting

View file

@ -1407,8 +1407,12 @@ def send_modem_state():
}
)
#print(output)
return json.dumps(output)
try:
json_out = json.dumps(output)
except Exception as e:
log.warning("[SCK] error while json conversion for modem state", e=e)
return json_out
def command_response(command, status):