I need a tool to simplify meshtastic nodes log analisys. I didn't found anything usefull, so build my own ugly coded logger.
- Console UI (using Textual), works in Win console, Linux console, over SSH
- Auto reconnect to last used serial port
- Customizible labels (log parsing)
!! Windows defender may mark .exe (nuitka build) as malicious. So mark it as 'safe' or use python version.. (Nuitka/Nuitka#2805)
Linux
python3 -m venv meshlog
cd meshlog && source bin/activate
git clone https://github.com/mrekin/meshlog.git
cd meshlog
pip3 install -r requirements.txt
Run
python3 ./slogApp.py
- Activate venv
- Install nuitka (preffered) or pyinstaller
or
pip3 install -U nuitka pip3 install -U imageiopip3 install -U pyinstaller - For Linux and nuitka you may need to install
sudo apt install patchhelf - Run script from corresponding file in scripts/
- Autoreconnect to latest COM port
- Port list autoupdates
- Custom configurable labels
- Static labels (v0.13)
- Avg labels (v0.13)
- Regexp (groups)
- Regexp (match) - is it needed?
- String/bool result
-
dropAfterparam -
firstEntrancerule -
searchAfterparam - Save labels to file (v0.14)
- Make working Settings tab
- UI (usable but ugly now)
- Save/load settings (v0.12)
- Use settings in logic (v0.12)
- Implement logging to file
- Single file (v0.12)
- Separate file for each COM port (v0.12)
- Separate file for each connection (v0.14)
-
Send tologic for logs and checks/labels - Test on Windows system
- Windows executable
- Manual build
- Autobuilds
- Test on Linux system (partially tested on Ubuntu server 24.04.1 LTS over ssh)
- Linux executable
- Manual build
- Autobuilds
- Logs custom configurable highlights
- Github releases (v0.12)
- Readme updates (installation/usage/etc)
- Use Meshtastic library
- Use not only serial connection, but IP/Bluetooth
- Get/upload node config
- Get node status
- Trigger DFU mode (v0.3)
- (?) Trigger reboot/nodeinfo send/etc
- NRF52 flashing
- Upload fullerase uf2
- Upload newest bootloader
- Upload firmware
- Open serial after flashing
