From 320dfc067e68c6906516ce6c857bb3ca1f9bedd8 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 24 Jul 2024 17:33:40 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index 496c626..7c53278 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -282,7 +282,10 @@ def start_rx(): print(f"System: Respond by DM only") # Start the receive loop pub.subscribe(onReceive, 'meshtastic.receive') - print (f"{log_timestamp()} System: Autoresponder Started for device {get_name_from_number(myNodeNum)}") + print (f"{log_timestamp()} System: Autoresponder Started for Device1 {get_name_from_number(myNodeNum, 'long', 1)}") + if interface2_enabled: + print (f"{log_timestamp()} System: Autoresponder Started for Device2 {get_name_from_number(myNodeNum2, 'long', 2)}") + while True: time.sleep(0.05) pass