Auth Failed on weemos d1 mini

Hi

I’m new to thinger.io and I’m trying it with a Weemos D1 mini (ESP8266).

This is my code:

#define _DEBUG_

#include <ESP8266WiFi.h>
#include <ThingerWifi.h>

#define USERNAME "abutreca"
#define DEVICE_ID "Blink"
#define DEVICE_CREDENTIAL "credential"

#define SSID "MOVISTAR_270F"
#define SSID_PASSWORD "*****" //typed mine

ThingerWifi thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() {
  Serial.begin(115200);
  pinMode(LED_BUILTIN, 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(LED_BUILTIN);

  // 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();
}

If you are wondering why am I using ThingerWifi.h instead of ThingerESP8266.h is because last one gets me an error when uploading to the weemos. I can paste it here if needed (really long).

My credentials are correct:

Here’s the serial monitor:

Any clue?

Fixed it.

Just read you have to type this at the start:

#define _DISABLE_TLS_

and use the thingerESP8266.h library