First I would like to say hello to everyone 0/ and then I would like to add I am by no means a programmer but I have made a simple python GUI that uses the Meshtastic API. It of course is not 100% as I do not know how to use the API fully but I plan and adding features as I learn how to use the API myself.
My Repo is located:
ZebusJesus/Meshtastic-PyGUI: Python Based GUI that uses the Meshtastic API (github.com)
This was made for Windows systems since that is what I am using but it also works with my Linux test as I tried to make sure to only use python-based code. It uses PySimpleGUI for the interface and that makes it pretty portable.
Dependencies:
It requires python of course as well as the esptool, git for windows, PySimpleUI and Meshtastic
esptool · PyPI
Git - Downloads (git-scm.com)
PySimpleGUI · PyPI
Environmental Variables:
You will need to have your Meshtastic, Python, and Git in EV Path. Just remember that if you use Visual Studio with Python Support, Microsoft moves your Python path to a shared location in the Visual Studio install folder. You will need to make sure all of the tools installed for Meshtastic and esptools are copied to this shared location. If you used pip3 as I did then you just need to copy the files and folders under:
C:\Users%user%\AppData\Local\Programs\Python\Python39\Lib\site-packages
By copying the contents of this folder into the shared path you will be able to use Windows default settings including IDLE which will also have issues finding modules if you use pip3 and have Visual Studio installed.
I just launch the script MeshtasticGUI.py and
When it comes to the flash part, you will need the scripts in the repo but they are just from the firmware download liked in Meshtastic. the script uses .sh so that is why Git for windows is needed and needs to be in your EV that way windows will be able to handle the script that is made by the devs and no modification to it is necessary.
When it comes to adding more features well Iust need to know the commands for the API, I’ve worked out some but I don’t know enough to get super far. I would like to be able to configure everything possible with my GUI because I think it will help get others using Meshtastic if there is a GUI for setting up the radios. I know it’s not hard but it does take a bit of typing and this will save some people that at the very least.
Like I said I’m no programmer so please be nice but I would love feedback and of course feel free to check out the repo, I’m new to really using Git-Hub like it was intended so I’m also open to suggestions for properly setting up my repo since that seems to be its own thing.