Show alternative parameters in index page

Hi guys,

It is possible to show alternative parameters at index page in v1.2.5?

Almost devices uses “InternetGatewayDevice.WANDevice.1.WANConnectionDevice.X.WANIPConnection.1.ExternalIPAddress” to show their IP address, but some devices uses “InternetGatewayDevice.WANDevice.2.WANConnectionDevice.X.WANIPConnection.1.ExternalIPAddress”

The actual config is:

- label: "'IP'"
  parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress

Would be great if this can be customized like this or similar:

- label: "'IP'"
  parameter: [InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress, InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress]

Thanks!!

1 Like
  • label: “‘IP’”
    parameter: COALESCE(InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.ExternalIPAddress,InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress)
2 Likes

Hi, i’ll try it :wink:

Thanks!

Hi Alex,

Your tip works!!

Thank you :wink: