meshtastic / python

The Python CLI and API for talking to Meshtastic devices
https://meshtastic.org
379 stars 160 forks source link

Implement python PowerMon client #600

Closed geeksville closed 2 months ago

geeksville commented 3 months ago

Various python side work items to enable PowerMon reporting and analysis.

New command line options

Structured logging (slog)

If structured logging is used, we will generate a .slog file for the session. We will also store the full device config data (as JSON) and metadata about the log file in a .mlog file.

Auto-test algorithms

Currently these tests are only used for power testing. Eventually this mechanism could be used for other automated tests that require interaction from outside of the UUT (eventually even things like automated CI testing of our protocol using portduino and multiple simulated nodes).

geeksville commented 3 months ago

notes to self:

https://pandas.pydata.org/docs/user_guide/10min.html#min https://www.makerluis.com/replacing-matlab-with-python-part-1/ https://blog.reviewnb.com/how-to-spruce-up-your-visualization-game/