mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-21 09:02:33 +02:00
Update mesh_bot.py
This commit is contained in:
+6
-6
@@ -269,17 +269,17 @@ def onReceive(packet, interface):
|
|||||||
def start_rx():
|
def start_rx():
|
||||||
print ("\nMeshtastic Autoresponder Bot CTL+C to exit\n")
|
print ("\nMeshtastic Autoresponder Bot CTL+C to exit\n")
|
||||||
if bbs_enabled:
|
if bbs_enabled:
|
||||||
print(f"{log_timestamp()} System: BBS Enabled, using {bbsdb}")
|
print(f"System: BBS Enabled, using {bbsdb}")
|
||||||
if solar_conditions_enabled:
|
if solar_conditions_enabled:
|
||||||
print(f"{log_timestamp()} System: Celestial Telemetry Enabled")
|
print(f"System: Celestial Telemetry Enabled")
|
||||||
if location_enabled:
|
if location_enabled:
|
||||||
print(f"{log_timestamp()} System: Location Telemetry Enabled")
|
print(f"System: Location Telemetry Enabled")
|
||||||
if dad_jokes_enabled:
|
if dad_jokes_enabled:
|
||||||
print(f"{log_timestamp()} System: Dad Jokes Enabled!")
|
print(f"System: Dad Jokes Enabled!")
|
||||||
if store_forward_enabled:
|
if store_forward_enabled:
|
||||||
print(f"Sys{log_timestamp()} Systemtem: Store and Forward Enabled")
|
print(f"System: Store and Forward Enabled")
|
||||||
if useDMForResponse:
|
if useDMForResponse:
|
||||||
print(f"{log_timestamp()} System: Respond by DM only")
|
print(f"System: Respond by DM only")
|
||||||
# Start the receive loop
|
# Start the receive loop
|
||||||
pub.subscribe(onReceive, 'meshtastic.receive')
|
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 device {get_name_from_number(myNodeNum)}")
|
||||||
|
|||||||
Reference in New Issue
Block a user