Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

hs.WanIP Not Working?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • hs.WanIP Not Working?

    It has been working for the last couple of months, but today it started returning "Unknown" instead of my WAN IP address.

    I saw a similar post from 2016, but no real answer. I tried Jon00's IPUpdate - it worked one time, but after that the log showed:

    Code:
     
    Jan-10 6:58:52 PM Jon00_IPUpdate Error: Obtaining IP Address from Homeseer hs.wanip command failed.
    Has anybody else had this problem?

  • #2
    FWIW, I resolved it by using:

    Code:
    WAN_IP = hs.GetURL("checkip.homeseer.com:8245","/",TRUE,80)
    hs.SetDeviceStringByName("External_IP_Address",WAN_IP,true)

    Comment


    • #3
      I've been using this for the past few years due to issues with hs.wanip:

      PHP Code:
       ip hs.GetURL("http://bot.whatismyipaddress.com","/",False,80
      HS 3.0.0.548: 1990 Devices 1172 Events
      Z-Wave 3.0.1.262: 126 Nodes on one Z-Net

      Comment


      • #4
        Thanks sparkman, that's good to know in case checkip.homeseer.com:8245 ever stops working

        Comment

        Working...
        X