 // Replace <YOUR-CHANNEL-ID> with your channel ID and <YOUR-CHANNEL-WRITEAPIKEY>
 // with your write API key
 const char* thingspeak_topic = "channels/<YOUR-CHANNEL-ID>/publish/<YOUR-CHANNEL-WRITEAPIKEY>/";
-
 
 // Pin for an additional LED
 int led_pin = 2;

// 1: Thingspeak
// 2: MQTT
// 3: Only serial output
int output = 3;

// MQTT settings
// If you want to use Thingspeak set mqtt_broker to "mqtt.thingspeak.com"
//const char* mqtt_broker = "";
const char* mqtt_broker = "mqtt.thingspeak.com";
// Not needed for Thingspeak
const char* mqtt_username = "";
const char* mqtt_password = "";

            client.println();
            client.stop();
          }
//          else if (method.equals("GET /api/hall HTTP/1.1")) {
//            client.println("HTTP/1.1 200 OK");
//            client.println("Content-Type: application/json");
//            client.println();
//            client.println(String("{\"value\":") + hallRead() + "}");
//            client.println();
//            client.stop();
//          }
          else if (method.equals("GET /api/temperature HTTP/1.1")) {
            client.println("HTTP/1.1 200 OK");
            client.println("Content-Type: application/json");
