I use a dual WAN failover setup, and i want to know when i use the secondary WAN because it is limited to 8 Gb of data.
I can do that from CMD with tracert command. Basically the first IP will always be the IP of the router and the second IP will be the IP provided by the main ISP or the IP of the secondary mobile router which is also a fix IP or at least the first 3 groups are always the same.
How can i use something like tracert from Hubitat ? If i could capture the results and compare the output with a declared string, it could work. Or maybe there is already a solution and i could not find it.