   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;

  pinMode(IS_1, INPUT);
  pinMode(IS_2, INPUT);

  // Setup AC and Battery pins
  pinMode(AC_OK, INPUT);
  pinMode(BAT_LOW, INPUT);

  // Setup diagnosis enable pins
  pinMode(DEN_0, OUTPUT);
  pinMode(DEN_1, OUTPUT);
