Request via MODBUS the main connection

I use many Routers (RUTX50, RUTM51, RUTM52 etc) and i need to ask via Modbus, which main connection is active at this moment. I know that i can read register to see which sim card is activ, but how can i see, e.g. if i have wifi online as main connection.
Thanks for help.

Good afternoon,

The modbus parameter that you can get are described here : RUTX50 Monitoring via Modbus - Teltonika Networks Wiki

You may be able to get your required information with Network Type and WAN IP address registers

image

You will get the main IP address, and you will be able to determine what is the active connection, if you know the IP addresses.

Regards,
Arturas

Thanks for you Info, but this register is known and this register is only an information about mobile service.
i need to know, which is the main connetion of the router! e.g. WAN or WIFI1 or SIMx

Hi there,

Available modbus registers are defined in the list and unfortunately WAN type is not an available register.

You can check the active connection status in different ways. One of them is checking in our RMS system, if you decide to utilize it. If you go to device details, you will be able to check which internet connection is currently active :

Alternatively, you can utilize our API requests functionality. With a GET command /system/device/status https://developers.teltonika-networks.com/reference/rutc50/7.14/v1.6/system#get-system-device-status next to the device status, you will see the WAN.
Also GET /interfaces/status https://developers.teltonika-networks.com/reference/rutc50/7.14/v1.6/interfaces#get-interfaces-status next to the interface status, you will see which interface is up.

Regards,
Arturas

Thanks Arturas for this helpful link. We found all information there.
But one Information we have not found. How is the API command to switch the sim cards or change the connection priority? Is there also a API SET command to?

Hi there,

Depending on the API commands you need, I believe you can achieve what you are after with these ones (See screenshot)

Please clarify and advise if i misunderstood the question.

Regards,
Arturas

Alternatively, you can utilize our API requests functionality. With a GET command /system/device/status https://developers.teltonika-networks.com/reference/rutc50/7.14/v1.6/system#get-system-device-status cluster rush next to the device status, you will see the WAN.
Regards,
Arturas

Thanks for the source

1 Like

This topic was automatically closed after 60 days. New replies are no longer allowed.