sparky8512 / starlink-grpc-tools

Random scripts and other bits for interacting with the SpaceX Starlink user terminal hardware
The Unlicense
482 stars 64 forks source link

Add support for power consumption data #95

Closed sparky8512 closed 1 month ago

sparky8512 commented 1 month ago

Add power consumption data into both bulk history and history stats reporting. Note that this functionality is not supported on all user terminal (dish) hardware versions.

In the core module, for bulk history, this is added as a new field in the bulk history return dict. For history stats, this is a added as a newly added dict in the tuple returned from the history_stats.

In the command line tools, the existing bulk_history data mode will now return the power history as a new field, and the newly added power data mode will return a few statistics computed over the sample period.

This is for issue #94.