Author Topic: Locating a Controllers WAN IP Address  (Read 108 times)

Offline additude

  • Full Member
  • ***
  • Posts: 200
  • Karma: +22/-17
Locating a Controllers WAN IP Address
« on: October 11, 2017, 07:14:07 am »
Is there any way to find out what WAN IP address the controller is connected to, even if it is behind a router?

Is there some LUUP code or something that can find the WAN IP?
If you want something that you have never had before, then you are going to have to do something that you have never done before.

Offline additude

  • Full Member
  • ***
  • Posts: 200
  • Karma: +22/-17
Re: Locating a Controllers WAN IP Address
« Reply #1 on: October 11, 2017, 07:35:25 am »
I found it on Net & WiFi Troubleshoot button.....
If you want something that you have never had before, then you are going to have to do something that you have never done before.

Offline additude

  • Full Member
  • ***
  • Posts: 200
  • Karma: +22/-17
Re: Locating a Controllers WAN IP Address
« Reply #2 on: October 11, 2017, 08:00:59 am »
I can also add this to a manual scene
Code: [Select]
local status, ip = luup.inet.wget("http://checkip.dyndns.org", 10)
luup.task(ip, 2,"External IP", -1)
If you want something that you have never had before, then you are going to have to do something that you have never done before.