OpenSprinkler Forums OpenSprinkler Mobile and Web App Consistent External WAN IP

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43267

    Wally Anderson
    Participant

    My iPhone OpenSprinkler App works great. I do have one problem. The mobile app requires the external IP. If the router resets, it gets a new IP and my mobile app doesn’t work until I enter the new IP. That’s a problem when I am out of town and cannot get the new IP. Is there any way to tell the router to maintain a constant external IP when it reboots? I have an ASUS RT-AC66U router.

    #43268

    Samer
    Keymaster

    The only semi control you have over your IP is to ensure your router is always powered (UPS).

    However, the app accepts a domain instead of IP and your router supports Dynamic DNS (DDNS) available under your routers web config under the WAN section. This will update the IP each time it changes so you will always be pointed to the right place.

    #43270

    Wally Anderson
    Participant

    Thank you Samer for your prompt reply. This looks like it might work for me. A couple of follow-up questions. Let me take a stab.
    1. I assume that i would go out to “GoDaddy or equivalent and register a name. For example. MySprinkler.com.
    2. Then I would go into the router and activate DDNS with this domain name.
    3. Then I would go to the app and where replace the current IP with the domain name????
    4. What about port forwarding? Is that part of the DDNS in the router or is that included with the domain name.?

    Am I on the right track? Great job on the App.
    Wally

    #43271

    ShawnHarte
    Participant

    Look into a free or cheap dynamic DNS service. DynDNS, freeDNS, no-ip, are just a few of the ones available and compatible with most ISP’s.

    That would probably be the best way to go without having to go through the trouble of setting up and maintaining a webserver of your own.

    A quick Google Search will give you quite a few more options including open-source versions of the services.

    You could also set a cronjob or python script to send your external IP to an email account. Where at the very least you could retrieve the info if you find it has changed since you last used it.

    #43272

    Samer
    Keymaster

    You don’t need to register a name but instead as Shawn suggested use a free solution. Of course, make sure your router supports it (asus, no-dns, DynDNS, tzo, zoneddit, etc).

    Your router acts as the “server” to monitor IP changes and then updates the domain with the new IP.

    Correct once this is setup just change the IP in the app to this domain, ex: wally.no-ip.com

    The port forwarding doesn’t change. If it’s working fine then nothing to change.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Mobile and Web App Consistent External WAN IP