A simple "war drive" script

I did a little war drive Python script I want to try out next time I go driving around in search for new friends in my area. I’ll put my laptop on the passenger seat and connect my heltec to it with a USB cable (for serial and power). The script is super simple. All it does is send a hard coded message to the public channel every 30 seconds, and watches the node list to see if new nodes appear. When there’s a new node, the script exits and beeps (I don’t think the beep works on Windows, but I can’t test because I don’t have a Windows computer).

By the way, I have no idea if something like this already exits, I just did it for fun, and thought I’d share here in case anyone wants to play around with it. I also have no idea how well it’ll work :smiley:

GitHub link: meshtastic_war_drive.py · GitHub

4 Likes

Seems to work on windows with 2.2.20 as well. Did not drive around yet, so can not confirm a beep.

2 Likes