28 lines
603 B
C
28 lines
603 B
C
#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";
|
|
};
|