Telemetry: Message<"meshtastic.Telemetry"> & {
    time: number;
    variant:
        | {
            case: "deviceMetrics";
            value: DeviceMetrics;
        }
        | {
            case: "environmentMetrics";
            value: EnvironmentMetrics;
        }
        | {
            case: "airQualityMetrics";
            value: AirQualityMetrics;
        }
        | {
            case: "powerMetrics";
            value: PowerMetrics;
        }
        | {
            case: "localStats";
            value: LocalStats;
        }
        | {
            case: "healthMetrics";
            value: HealthMetrics;
        }
        | {
            case: undefined;
            value?: undefined;
        };
}

Types of Measurements the telemetry module is equipped to handle

Type declaration

  • time: number

    Seconds since 1970 - or 0 for unknown/unset

    from field: fixed32 time = 1;

  • variant:
        | {
            case: "deviceMetrics";
            value: DeviceMetrics;
        }
        | {
            case: "environmentMetrics";
            value: EnvironmentMetrics;
        }
        | {
            case: "airQualityMetrics";
            value: AirQualityMetrics;
        }
        | {
            case: "powerMetrics";
            value: PowerMetrics;
        }
        | {
            case: "localStats";
            value: LocalStats;
        }
        | {
            case: "healthMetrics";
            value: HealthMetrics;
        }
        | {
            case: undefined;
            value?: undefined;
        }

    from oneof meshtastic.Telemetry.variant

from message meshtastic.Telemetry