Get current active interface

Is there way to query the local Core Agent or Manger on the device to get the current active interface without having to query up to the internet API? I am writing some code to display on a screen connected to a Pi and want to be able to show a message based on the current state such a eth0 is active or wwan is active.

Hi,

You can get the active interface from /home/sixfab/.core/monitor.yaml.

1 Like

Oh nice, thanks for the info!