dashboard: split config and status model headers

This commit is contained in:
nick committed 2026-06-09 23:10:58 -06:00
1 parent 24cf07a997
commit 626ebadc94
4 files changed
+52 -32

No files matched your search

@@ -0,0 +1,27 @@
#pragma once
#include <Arduino.h>
struct DashboardStatus {
bool api_ok = false;
int http_code = 0;
bool bms_connected = false;
int soc = -1;
float voltage = 0.0;
float current = 0.0;
float battery_temp_f = 0.0;
float remaining_ah = 0.0;
float capacity_ah = 0.0;
int cell_delta_mv = -1;
String temps_text;
String outputs_text;
String hardware_profile = "unknown";
int output_count = 0;
String firmware_version = "unknown";
unsigned long uptime_seconds = 0;
String cargo_ap_ssid = "unknown";
String cargo_sta_ip = "unknown";
};