   int seconds_stamp = millis() / time_period;
 
   StaticJsonDocument<192> doc;
+
+  doc["ac_ok"] = digitalRead(AC_OK);
+  doc["battery_low"] = digitalRead(BAT_LOW);
 
   JsonArray relays = doc.createNestedArray("relays");
   relays.add(is_relay_on(RELAY_0));


// POCS looks for this name.
const char BOARD_NAME[] = "power_board";

// Set initial states for each relay. Change as needed.
const bool DEFAULT_START_0 = HIGH;

const bool DEFAULT_START_3 = HIGH;
const bool DEFAULT_START_4 = HIGH;

// Relays
const int RELAY_0 = A3; // 0_0 PROFET-0 Channel 0 (A3 = 17)
const int RELAY_1 = 3;  // 1_0 PROFET-0 Channel 1
