Compare commits

..

No commits in common. "nodes/keller" and "master" have entirely different histories.

View file

@ -26,15 +26,15 @@ rtcStore_t rtcStore;
/* CONFIGURATION OPTIONS */ /* CONFIGURATION OPTIONS */
#ifndef NODENAME #ifndef NODENAME
// #define NODENAME "env-huzzah-01" /* IMPORTANT: CHANGE FOR EACH DEVICE */ // #define NODENAME "env-huzzah-01" /* IMPORTANT: CHANGE FOR EACH DEVICE */
#define NODENAME "env-keller" /* IMPORTANT: CHANGE FOR EACH DEVICE */ // #define NODENAME "env-keller" /* IMPORTANT: CHANGE FOR EACH DEVICE */
// #define NODENAME "env-TODO" /* IMPORTANT: CHANGE FOR EACH DEVICE */ #define NODENAME "env-TODO" /* IMPORTANT: CHANGE FOR EACH DEVICE */
#endif #endif
#ifndef BOARD #ifndef BOARD
#define BOARD 3 /* IMPORTANT: select one of the BOARD_* types */ #define BOARD 0 /* IMPORTANT: select one of the BOARD_* types */
#endif #endif
#define DB_HOSTNAME "influx.jtbx.de" #define DB_HOSTNAME "influx-iot.fra80"
#define DB_PASSWD "c2Vuc29yczpTZW5zb3JzLXcuaW5mbHV4QGhvbWU" // BasicAuth String #define DB_PASSWD "c2Vuc29yczpTZW5zb3JzLXcuaW5mbHV4QGhvbWU" // BasicAuth String
#if BOARD == BOARD_HUZZAH #if BOARD == BOARD_HUZZAH
@ -62,7 +62,7 @@ float tempOffset = +0.0;
float humiOffset = +0.0; float humiOffset = +0.0;
const char* host = DB_HOSTNAME; const char* host = DB_HOSTNAME;
const int httpPort = 65086; const int httpPort = 8086;
const char* wlan_ssid = "WLAN-Bey-IoT"; const char* wlan_ssid = "WLAN-Bey-IoT";
const char* wlan_passwd = "IoT-Fra80"; const char* wlan_passwd = "IoT-Fra80";
@ -259,8 +259,7 @@ void setup() {
INFO_PRINT("[INFO ] connecting to "); INFO_PRINT("[INFO ] connecting to ");
INFO_PRINT(host); INFO_PRINT(host);
WiFiClientSecure client; WiFiClient client;
client.setInsecure();
if (client.connect(host, httpPort)) { if (client.connect(host, httpPort)) {
INFO_PRINTLN(" > success"); INFO_PRINTLN(" > success");