Added gauge, fixed shit
Some checks failed
Test compiling project / test (push) Failing after 1m30s

This commit is contained in:
2024-10-24 22:54:54 +02:00
parent 57b1ce8db7
commit db567eeaa5
14 changed files with 413 additions and 223 deletions

View File

@@ -0,0 +1,38 @@
#include <Arduino.h>
struct SensorData {
float bus_voltage;
float shunt_voltage;
float shunt_current;
};
struct WaterData{
// Water level in cm
float level;
// Water volume in liters
float liters;
// Percentage
float percentage;
};
struct NetworkData {
String ip_address;
bool link;
float rssi;
String network_name;
};
struct DeviceTelemetry {
float heap_used_percent;
int uptime_seconds;
};
struct ActiveErrors {
bool voltage_low;
bool voltage_high;
bool current_low;
bool current_high;
bool level_low;
bool level_high;
};