     }
     return;
   }
+
+  // radio
+  yield();
+  radio.begin(); // Start up the radio
+  radio.setPALevel(RF24_PA_HIGH);
+  radio.setDataRate(RF24_250KBPS);  
+  radio.openReadingPipe(1,pipes[0]);
+  radio.openWritingPipe(pipes[1]);  
+  radio.stopListening();
+  radio.startListening();
+
 }
 
 void loop()

#include <WiFiUdp.h>
#include <Time.h>

extern "C" {
#include "user_interface.h"
}

DallasTemperature sensors(&oneWire);
DeviceAddress outsideThermometer;


// radio
RF24 radio(3, 15);

// Topology
const uint64_t pipes[2] = { 0xFFFFFFFFFFLL, 0xCCCCCCCCCCLL };

struct dataStruct{
  unsigned long _salt;
  float temp;
  int volt;
}sensor_data;

// mqtt
char* topic = "esp8266/arduino/s02";
char* subtopic = "esp8266/cmd/light";
char* rslttopic = "esp8266/cmd/light/rlst";
char* hellotopic = "HELLO";
char* radiotopic = "radio/test";

char* willTopic = "clients/relay";
char* willMessage = "0";
