Build telemetry chart UI for Environment/Power metrics (currently raw JSON only)

Open
#1,244 4 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Hunter275 is already working on this.

Since Jul 24, 2026.

Assessment

This issue has not been assessed yet.

Description

feature request help wanted parity

Background

Per meshtastic/design#53, sensor/telemetry display should be aligned across clients. Web is furthest behind of the three — it has no dedicated UI for Environment or Power metrics at all, only a raw dump.

Current state

NodeDetailsDialog.tsx:171-200,447-475 only surfaces 4 raw deviceMetrics fields (airUtilTx, channelUtilization, batteryLevel, voltage) as a plain table. Environment and Power telemetry have no dedicated UI at all — the only place any of it is visible is a JSON.stringify(node, null, 2) dump inside an "All Raw Metrics" accordion (NodeDetailsDialog.tsx:478-493). The useTelemetry hook (packages/sdk-react/src/hooks/useTelemetry.ts) exists but isn't consumed by any app component — it appears to be dead/unused code.

(Air Quality is being handled separately per design#54 — this issue is Environment + Power only.)

What to build

Bring Web up to feature parity with iOS/Android's charting, using their approach as reference:

  1. Environment metrics chart: temperature, humidity, dew point, barometric pressure, IAQ, lux as timeseries. Give barometric pressure its own axis with a fixed sea-level-relative domain (e.g. ~950–1050 hPa) rather than sharing an autoscaled axis with the other metrics — a small real pressure change looks huge or invisible otherwise depending on sample range. (iOS: Views/Nodes/EnvironmentMetricsLog.swift; Android already separates pressure onto its own axis: feature/node/.../metrics/EnvironmentMetricsState.kt:57-58,118-119,206-212, though even Android's isn't on a fixed domain yet.)
  2. Power metrics chart: per-channel voltage/current timeseries. Both iOS and Android currently only label channels generically ("Channel 1/2/3") with no way to identify a channel's role (solar panel / battery / load) — worth starting Web with at least a user-editable per-channel label from day one rather than inheriting that same gap.
  3. Wire up (or replace) useTelemetry so this data actually reaches a UI component — right now it's unused.

Reference

Cross-platform alignment tracking issue: meshtastic/design#53.

Dominant language
TypeScript
Stars
861
Forks
316
Avg merge
2d 10h
Merged PRs (30d)
18

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshtastic/web

All issues in meshtastic/web

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.