Send temperature every 10 minutes

This commit is contained in:
Chteufleur 2015-10-05 23:12:47 +02:00
parent 0d495e41bb
commit 087c384f1f
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* /*
* Send temperature via HTTP GET requests to $host service. * Send temperature via HTTP GET requests to $host service.
* Measure temperature with interval given bye the server. * Measure temperature each 10 min. The server decide wich measure will be stored.
* Version 1.1.0 * Version 1.1.1
*/ */
#include <ESP8266WiFi.h> #include <ESP8266WiFi.h>
@ -15,7 +15,7 @@ const char* password = "73ABCCAA87";
const char* host = "datahouse.kingpenguin.tk"; const char* host = "datahouse.kingpenguin.tk";
const int httpPort = 80; const int httpPort = 80;
const int DEFAULT_INTERVAL = 3600; const int DEFAULT_INTERVAL = 600;
//---------------------------------------------------- //----------------------------------------------------