 #include "OneWire.h"
 #include "elapsedMillis.h"
 #include <list>
+
+#define SENSOR_ADDR_SIZE 8
+#define SCAN_INTERVAL 60000
+#define TEMP_INTERVAL 10000
+#define BLINK_INTERVAL 5000
+#define POWER_INTERVAL 120000
 
 elapsedMillis scanTimeElapsed;
 elapsedMillis tempTimeElapsed;

float temperature;
float minuteAverage;
std::list<float> temperatures(6);
float tempThreshold = (float)62;
bool power = false;
boolean ledState = LOW;

#define SCAN_INTERVAL 60000
#define TEMP_INTERVAL 10000
#define BLINK_INTERVAL 5000
#define POWER_INTERVAL 120000

struct Sensor {
  int id = 0;
  byte addr[8] = {0, 0, 0, 0, 0, 0, 0, 0};
  byte type = '\0';
};


    type_s = chipType(addr[0]);
    sensors[sensor_id].id = sensor_id + 1;
    sensors[sensor_id].type = type_s;
    memcpy(&sensors[sensor_id].addr, &addr, SENSOR_ADDR_SIZE);

    const char* name = getChipName(sensors[sensor_id].type);
    char sensorMessage[75];
