Arduino IoT Dashboard - Device online status

I am struggling to update the Dashboard under Arduino Cloud when a device goes offline. The dashboard works great while a device is connected but if the device goes offline then the Dashboard has no feed back mechanism to show this. What I want is to have on my dashboard the same online status that you can see under your devices in IoT Cloud. "Online"/ Offline. I get there is code on how to deal with the software routines on the devices it self and the devices connection status but I can find anywhere a widget in the dashboard that can get updated via a trigger or webhook to update the status of the device online. Its like there needs to be a widget the has a built in heartbeat that if it doesn't get an update after a certain period (user definited) then it automatically changes status.

Add something to the dashboard that by looking at you can tell if the cloud is up or not, a sweep second hand, some kind of counter, etc.

Cheers @sonofcy appreciate the reply and yes I have got a LED in the dashboard at the moment that I just use as a "flip/flop" which basically means that if it is blinking it is get a new status from the device but its messy and of course it all depends on when the device gets disconnected will depend on the state of the LED at the time hence it could be in the on position which really gets confusing if anyone other than my self uses the dashboard.

Does anyone know a better way to get an actual device status in the IoT Cloud dashboard. (The crazy thing is Arduino do this in there own dashboard to show the device is online so they could easily expose a widget we can all use to do the same thing in our own dashboards.

This has what you want according to Arduino https://docs.arduino.cc/arduino-cloud/features/arduino-cloud-callbacks/

1 Like

Hi @davidlamason. I know it is not what you are requesting, but are you aware of this feature?:

https://docs.arduino.cc/arduino-cloud/features/device-status/

Nice!

You could place a "Sticky Note" Widget next to the status indicator LED to describe the meaning of the LED Widget behavior to the dashboard user.

1 Like

@sonofcy Thanks and I had a good read through this and it is great for running scripts on the device depending on the status “connected” or “disconnected” however the code would be on the device not in the Arduino cloud hence if the device was disconnected no routine would pass info to the cloud. If it on first connection then it could update a value in the dashboard but it would only happen once. If it was on “sync” then it would just toggle a value and depending if it was high or low that would be the last know state and a user wouldn’t know still. I think these callbacks are great if you want to continue on running the device independent of the cloud and then when it does connect to the cloud it could do a data dump or up a special software patch etc… cool routines to find and I have added to list of cool things I can do with other projects but unfortunately it won’t solve this problem at the moment. Thanks heaps though it’s appreciated :blush:

@ptillisch Yes thanks aware of the ability to use triggers but this effectively sends an email off to an email address. I was hoping triggers could actually be used to change a widget status but unfortunately not. With sharing the dashboard to other users, getting email notification means only one email address would get all the trigger events. But thanks anyway.

Widget notes are a good suggestion but people have to read them and nine times out of ten it’s the last thing people want to do :sweat_smile: me included. Is there any chance the Arduino team can expose the status object in the form of a widget we all can use to check our devices are online through the dashboards …I see a lot of people are facing the same problem when using there dashboards for remote applications.

1 Like

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