I have the RUTX50 and i have WAN’s setup to use the failover function.
My WAN’s in use are MultiAP SSID, WAN Port and LTE (Sim 1).
I have all that working fine, however, i would like to be able to monitor which WAN interface the RUT is using at any given time.
I can see how to use Event Reporting for this function, but its not really ideal as my WAN interface can often change every 5 minutes as the RUT is in a vehicle.
Is there a way for either Modbus or the MQTT Broker to monitor which WAN interface is in use so that i can use this value elsewhere?
It is possible to achieve this through Modbus, although it will require additional effort. Modbus parameters are stored within registers; however, there are no predefined registers for WAN interface status.
The predefined register numbers and their corresponding system values are detailed in the table available at the following link: RUTX50 Modbus - Teltonika Networks Wiki
You can develop a script to load the desired interface status, create a custom register for the WAN interface card, and then read the register using your client. For guidance on creating a custom register, please refer to this link:
Thank you, from looking through all the UCI show lists, i cannot see any listings for which WAN is currently in use. From a quick search through this forum, others have not been able to find this in UCI either as the UCI is referring to config files which are static.