How do I determine whether a device command is going through the local network path or the cloud?
Check the device log:
app_main: Received write request via : Local— command went through the local network.app_main: Received write request via : Cloud— command went through the cloud.