From 364224faea41e48301b7e3c443577682b0f38e78 Mon Sep 17 00:00:00 2001 From: Kelly Date: Thu, 25 Jul 2024 13:17:13 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesh_bot.py b/mesh_bot.py index 4802b6a..c483bbc 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -273,6 +273,8 @@ def onReceive(packet, interface): # check if repeater is enabled and the other interface is enabled if repeater_enabled and interface2_enabled: # repeat the message on the other device + # wait a 700ms to avoid message collision from lora-ack. + time.sleep(0.7) rMsg = (f"{message_string} From:{get_name_from_number(message_from_id, 'short', rxNode)}") # if channel found in the repeater list repeat the message if str(channel_number) in repeater_channels: