Skip to content

UI: Heartbeat Health Dashboard #43

@rodneyosodo

Description

@rodneyosodo

Summary

The backend will soon publish rich heartbeat metrics (uptime, memory, device count, MQTT connection state) as part of #25. The UI should surface these in a dedicated health/dashboard section.

What to build

  • Add a Health page at /ui/health (or extend the Home page overview section)
  • Poll /health or parse the heartbeat SenML data to display:
    • Uptime (formatted as Xd Xh Xm)
    • Memory used / free (bar or gauge)
    • Connected devices count
    • MQTT connection state (online/offline indicator)
    • Agent version string
    • Firmware version string
  • Auto-refresh every heartbeat interval
  • Add a nav entry in the sidebar/topbar

Depends on

Reference

Aeolus heartbeat payload format (docs/heartbeat.md):

[
  {"n":"heartbeat","vb":true},
  {"n":"fw_version","vs":"4.2.0"},
  {"n":"uptime","u":"s","v":3600},
  {"n":"heap_free","u":"By","v":12384},
  {"n":"devices","u":"count","v":3},
  {"n":"connected","vb":true}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions