 // XCLR is a reset pin, also not used here
 
 Adafruit_BMP085_Unified bmp;
+boolean bmp_available=false;
+
+// VEML6070
+Adafruit_VEML6070 uv = Adafruit_VEML6070();
 
 // MQTT Settings
 #define EEPROM_SALT 311276 // to check version

void sendLight(uint16_t aLight){
  snprintf (msg, sizeof(msg), "%d", aLight);
  snprintf (topic, sizeof(topic), "%s/%s", topicStatus.c_str(), "light");
  sendmsgToTopic();
}


    Serial.println("Setting sensor");
    Wire.pins(IC_DATA, IC_CLK);

    // pass in the integration time constant
    // higher increase accuracy but takes more time
    uv.begin(VEML6070_2_T);

    bmp_available=bmp.begin();
    if (!bmp_available) {
      Serial.println("Could not find a valid BMP180 sensor, check wiring!");
      // reboot
      ESP.restart();
