IP Address with REMOTE_ADDRESS()?

I’m looking for a way to acquire the WAN IP address of a device received by ACS, and I discovered that it’s already doable with REMOTE_ADDRESS(), but I can’t figure out how to utilize it. Where can I get more information on this?

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.${i}.WANPPPConnection.1.ExternalIPAddress

That’s an example of parameter that give you external IP on huawei ONT

Sorry, when I say WAN IP, I mean the IP address obtained from a device, as shown in the log file.

2024-05-13T16:01:32.786Z [INFO] ::ffff:1.1.1.1...

Get the address from the log, enter the device in GenieACS and simply enter the IP address. That will show you which parameter have this IP address.

If empty, refresh the whole tree by clicking on the refresh buton next to the root object so InternetDeviceGateway or Device. That will make sure the whole config is in GenieACS instead of only a few values.