From b88e56e1177d11f9def50bd5ce5a7624bfcb86b6 Mon Sep 17 00:00:00 2001 From: Envyles <54598420+Envyles@users.noreply.github.com> Date: Sat, 28 Dec 2019 23:16:09 +0100 Subject: [PATCH] Update Station.ino --- station/Station.ino | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/station/Station.ino b/station/Station.ino index 3fe11a4..7b8b931 100644 --- a/station/Station.ino +++ b/station/Station.ino @@ -9,7 +9,6 @@ #include #include -#include "opensensemap.h" #include "memory_manager.h" #include "chart.js.h" #include "internal_page.h" @@ -189,17 +188,14 @@ void transmitSensorData(){ Serial.println(request); //Transfer Measurement data to the Webservice - //if (UID.length() == 32){ + if (UID.length() == 32){ HTTPClient http; http.begin(request); int httpCode = http.GET(); Serial.println("Data Transmit HTTP Code: " + (String)httpCode); http.end(); - //} + } - //Insert open sense map sensor ID'S here - //postFloatValue (25.5, 1, "SensorID","StationID"); - }