Hi,
When trying to connect from my NodeMCU Lolin V3 to thinger.io (sketch below) I receive the following error message. Please help!
Thanks,
Stefan
[NETWORK] Got IP Address: 192.168.0.22
[NETWORK] Connected!
[_SOCKET] Connecting to iot.thinger.io:25200…
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Connected!
[THINGER] Authenticating. User: XXXXX@gmx.net Device: mysensor
[THINGER] Writing bytes: 49 [OK]
[THINGER] Auth Failed! Check username, device id, or device credentials.
[_SOCKET] Is now closed!
#define DEBUG
#define DISABLE_TLS
#include <ESP8266WiFi.h>
#include <ThingerESP8266.h>
#define USERNAME "hartmann_muc@gmx.net"
#define DEVICE_ID “mysensor”
#define DEVICE_CREDENTIAL “mysensor”
#define SSID “5tHt8opAs”
#define SSID_PASSWORD “1wwwGfghghwjhhnp4”
ThingerESP8266 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
void setup() {
Serial.begin(115200);
pinMode(BUILTIN_LED, OUTPUT);
thing.add_wifi(SSID, SSID_PASSWORD);
// digital pin control example (i.e. turning on/off a light, a relay, configuring a parameter, etc)
thing[“led”] << digitalPin(BUILTIN_LED);
// resource output example (i.e. reading a sensor value)
thing[“millis”] >> outputValue(millis());
// more details at http://docs.thinger.io/arduino/
}
void loop() {
thing.handle();
}