Coder Social home page Coder Social logo

easyddns's Introduction

EasyDDNS

An Easy to Use ESP8266 DDNS Update Client Library.

This Library is Created to Update your DDNS Domains with your ESP8266 Or ESP32. The EasyDDNS Library can be Implemented in your Major Projects too as a Sidekick. It is Independent and Does not Interfare with rest of the Working of your Code on ESP8266.

Currently EasyDDNS Library Supports DuckDNS, No-ip, DynDNS, Dynu, ENom.

Find More about DDNS: WiKipedia

How to Install

Directly Through Arduino IDE

Go to Sketch > Include Library > Library Manager > Search for "EasyDDNS" > Install

Manual Install

For Windows: Download the Repository and extract the .zip in Documents>Arduino>Libraries>{Place "EasyDDNS" folder Here}

For Linux: Download the Repository and extract the .zip in Sketchbook>Libraries>{Place "EasyDDNS" folder Here}

Manually through IDE

Download the Repository, Go to Sketch>Include Library>Add .zip Library> Select the Downloaded .zip File.

Dependencies

This Library is Dependent on ESP8266 Core Library or Arduino core for ESP32 to Function Properly. Make Sure you Install Both EasyDDNS and ESP8266 Core Library (or Arduino core for ESP32) to make this Work.

How to Implement

EasyDDNS Library uses only 3 Lines of Code to run the requested update server on your ESP8266 or ESP32.

Here is How you can use the Library:

For V1.5.0:

  • Add #include<EasyDDNS.h> in your Code at Top.
  • Use EasyDDNS.service(""); in setup() to select your ddns service - "duckdns" / "noip" / "dyndns" / "dynu" / "enom".

Now in setup() again, For DuckDNS Use EasyDDNS.client("domain","token");
OR
For DynDNS Use EasyDDNS.client("hostname","username","client-key");
OR
For No-ip / Dynu, Use EasyDDNS.client("hostname","username","password");
OR
For enom, Use EasyDDNS.client("host","domain","password");
where host is something like www, and domain can be example.com

  • Atlast Use EasyDDNS.update(10000); in loop() to set Interval to Check for New Public IP.

5 Ready to Use Examples are Provided with Library for DuckDNS, DynDNS, Dynu, No-ip & enom.

Support Me

Liked this Library? You can Support me by sending me a ๐Ÿบ Beer.

easyddns's People

Contributors

ayushsharma82 avatar leobel96 avatar per1234 avatar vivian-ng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.