Announcement

Collapse
No announcement yet.

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.531: 1985 Devices 1128 Events
      Z-Wave 3.0.1.260: 122 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