Arduino IOT Cloud API Device Status

Does the Arduino IOT Cloud API support device status requests like what's shown in the Devices dashboard? It would be nice to ping from our local server the IOT Cloud via the API to see if a device is connected or disconnected.

I made requests in Python using DeviceV2 -> devices_v2_get_events and is showed when OTA's were done and other configurations. But the one device I was looking at was down for three days due to a local network fault. Interestingly, the devices_v2_get_events didn't show the datetime when the device went down nor when it came back online. It did show events before and after the disconnect though.

Thank you

Chris

We could create a heartbeat variable in the device Thing with millis(). Have it update every 5 / 10 / 15 / 30 minutes etc. then ping that with the API or set up a Trigger to notify when that stops updating. Seems hacked and taking device level resources when device status data should be already available since it's in the Cloud Device dashboard....

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.