 #include <Time.h>
 
 // radio
-#include <SPI.h>
-#include <nRF24L01.h>
-#include <RF24.h>
-// radio
 #define DEVICE_ID 2
 #define CHANNEL 1 //MAX 127
 

  if (DEBUG_PRINT) {
    Serial.begin(115200);
  }
  delay(20);
  if (DEBUG_PRINT) {
    Serial.println("Sensor and Relay");

    startMills = millis();
  }

  // radio
  if (radio.available()) {
    while (radio.available()) {
      radio.read(&sensor_data, sizeof(sensor_data));

      if (DEBUG_PRINT) {
        Serial.print(" ****** radio ======> size : ");
        Serial.print(sizeof(sensor_data));
        Serial.print(" _salt : ");
        Serial.print(sensor_data._salt);
        Serial.print(" volt : ");
        Serial.print(sensor_data.volt);
        Serial.print(" temp : ");
        Serial.print(sensor_data.temp);
        Serial.print(" humi : ");
        Serial.println(sensor_data.humi);
      }

      String radiopayload = "{\"_salt\":";
      radiopayload += sensor_data._salt;
      radiopayload += ",\"volt\":";
      radiopayload += sensor_data.volt;
      radiopayload += ",\"temp\":";
      radiopayload += ((float)sensor_data.temp / 10);
      radiopayload += ",\"humi\":";
      radiopayload += ((float)sensor_data.humi / 10);
      radiopayload += ",\"devid\":";
      radiopayload += sensor_data.devid;      
      radiopayload += "}";

      sendmqttMsg(radiotopic, radiopayload);
