ayushsharma82 / EasyDDNS

Easy to Use ESP8266 & ESP32 DDNS Update Client Library.
MIT License
195 stars 59 forks source link

duckdns not updateing #40

Closed bobknipper closed 2 years ago

bobknipper commented 2 years ago

I installed EasyDDNS on a esp8266 a few years ago and assumed that it was updating. My ISP changed my IP address when I installed a new router and I discovered that it was not updating. I set it up as described in readme file.

include

Inside void setup(void) EasyDDNS.service("duckdns"); EasyDDNS.client("My subdomain.duckdns.org", "My token"); inside void loop(void) EasyDDNS.update(1000);//every 10 seconds Any ideas?

bobknipper commented 2 years ago

Found my problem needed to include ESP8266HTTPClient.h and in setup WiFi.mode(WIFI_STA); Working fine now.