   }
 
   // TODO get rid of dummy values
-  randomSeed(analogRead(A0));
-  float t = 49.7 + random(7);
-  float h = 76.5 - random(5);
+  float t = 49.7;
+  float h = 76.5;
 
   if (bme_ok) {
-    delay(250);
+    // delay(250); // only for i2c
+    
     t = bme.readTemperature() - 1;
     h = bme.readHumidity();
 

#include <ESP8266WiFi.h>
#include "CrcableData.h"

Adafruit_BME280 bme;
bool bme_ok = false;

class SystemState : public CrcableData {


  static char numBuffer1[10];
  static char numBuffer2[10];
  static char numBuffer3[10];
  dtostrf(t, 4, 2, numBuffer1);
  dtostrf(h, 4, 2, numBuffer2);
  dtostrf(realVolts, 4, 2, numBuffer3);
  
  static char outBuffer[26];
  sprintf(outBuffer, "%s %s %s", numBuffer1, numBuffer2, numBuffer3);

  client.println(outBuffer);
  Serial.print("Sent ");
