From 960e65133a5cc73bdf128fcd1591a13f5bb74acc Mon Sep 17 00:00:00 2001 From: RicInNewMexico Date: Thu, 26 Oct 2023 20:29:02 -0600 Subject: [PATCH] Adding Power Metrics Telemetry Variant modified: meshtastic/module_config.proto modified: meshtastic/telemetry.proto --- meshtastic/module_config.proto | 27 +++++++++++++++++++++++++++ meshtastic/telemetry.proto | 8 ++++++++ 2 files changed, 35 insertions(+) diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index 8cad265..ee2fdaa 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -482,6 +482,33 @@ message ModuleConfig { * air quality metrics to the mesh */ uint32 air_quality_interval = 7; + + /* + * Interval in seconds of how often we should try to send our + * air quality metrics to the mesh + */ + bool power_measurement_enabled = 8; + + /* + * Interval in seconds of how often we should try to send our + * air quality metrics to the mesh + */ + uint32 power_update_interval = 9; + + /* + * Interval in seconds of how often we should try to send our + * air quality metrics to the mesh + */ + bool power_screen_enabled = 10; + + + + + + + + + } /* diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index 5914331..3843631 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -273,4 +273,12 @@ enum TelemetrySensorType { * PM2.5 air quality sensor */ PMSA003I = 13; + + /* + * INA3221 3 Channel Voltage / Current Sensor + */ + INA3221 = 14; + + + } \ No newline at end of file