Hi,
Are you using the last thinger library version?
Can you do a ping to the address pool.ntp.org and post the response?
It should look like this–>
C:\Users\user>ping pool.ntp.org
Pinging pool.ntp.org [162.159.200.1] with 32 bytes of data:
Reply from 162.159.200.1: bytes=32 time=74ms TTL=49
Reply from 162.159.200.1: bytes=32 time=117ms TTL=49
Reply from 162.159.200.1: bytes=32 time=122ms TTL=49
Reply from 162.159.200.1: bytes=32 time=112ms TTL=49
Ping statistics for 162.159.200.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 74ms, Maximum = 122ms, Average = 106ms
And for the next opportunity, post the code and error properly, post the code and hit the “</>” button on the toolbar.
Hope this helps.
#define THINGER_SERIAL_DEBUG
#include <ThingerESP8266.h>
#include "arduino_secrets.h"
ThingerESP8266 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
void setup() {
// open serial for monitoring
Serial.begin(115200);
// set builtin led as output
pinMode(LED_BUILTIN, OUTPUT);
// add WiFi credentials
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();
}
Which thinger library version are you using?
version 2.25.2
when TLS/SSL is disabled, it work
Try connecting ESP8266 to another Router/Modem or sharing smartphone Internet (via WiFi).