From fa7a808fba0f62986c1c6369cb8e2b197ec201cb Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 19 Jun 2024 00:07:38 -0700 Subject: [PATCH] Update mesh-bot.py --- mesh-bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mesh-bot.py b/mesh-bot.py index 173ee59..34de7d3 100644 --- a/mesh-bot.py +++ b/mesh-bot.py @@ -9,6 +9,7 @@ import meshtastic.serial_interface #pip install meshtastic import meshtastic.tcp_interface import meshtastic.ble_interface from datetime import datetime +import time from solarconditions import * # from the spudgunman/meshing-around repo @@ -184,7 +185,8 @@ def get_node_list(): node_list = [] node_name = "" last_heard = "" - + #pause for a second + time.sleep(2) if interface.nodes: for node in interface.nodes.values(): #ignore own