This commit is contained in:
SpudGunMan committed 2025-10-30 18:50:54 -07:00
1 parent 32b60297c8
commit fd115916f5
3 files changed
+8 -9

No files matched your search

+3 -3
View File
@@ -2,7 +2,7 @@
# # Simulate meshing-around de K7MHI 2024
from modules.log import logger, getPrettyTime # Import the logger; ### --> If you are reading this put the script in the project root <-- ###
import time
import datetime
from datetime import datetime
import random
# Initialize the tool
@@ -51,8 +51,8 @@ def example_handler(message, nodeID, deviceID):
msg = f"Hello {get_name_from_number(nodeID)}, simulator ready for testing {projectName} project! on device {deviceID}"
msg += f" Your location is {location}"
msg += f" you said: {message}"
# Add timestamp
msg += f" [Time: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}]"
return msg