# Online/offline refresh rate?

**URL:** <https://forums.balena.io/t/online-offline-refresh-rate/1514>\
**Category:** Product support\
**Created:** [July 24, 2017, 6:48pm UTC](https://forums.balena.io/t/online-offline-refresh-rate/1514 "2017-07-24T18:48:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hecontreraso](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hecontreraso](https://forums.balena.io/u/hecontreraso)\
**Post date:** [July 24, 2017, 6:48pm UTC](https://forums.balena.io/t/online-offline-refresh-rate/1514/1 "2017-07-24T18:48:51Z")

</div>

How can I configure the state refresh rate of the devices?  
For example: an online device losses internet connectivity. I noticed that it takes a long time before the page shows the device as “offline”

Thanks!

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [July 24, 2017, 7:20pm UTC](https://forums.balena.io/t/online-offline-refresh-rate/1514/2 "2017-07-24T19:20:45Z")

</div>

Hi, the online-offline state is based on the device’s connection to the [resin.io](http://resin.io) VPN server currently. If the device went offline because e.g. shutting off, then it updates more quickly as the connection is closed properly. If the device loses connection, there’s a time-out period, so it won’t update within that time (the server trying to see if the device reconnects if the connection issue is transient). Thus currently that is not configurable, how long it takes for a device to be marked offline. It’s required because there are indeed a lot of devices on slower network. 🐌

As I’ve checked now, it took between 2-to-3 minutes for the status to update for a device that I bumped offline. Is that too long time for your use case?

We are also working on different online/offline status measures, that should shorten the time for updates, and more informative too. No ETA at the moment, but will definitely highlight it here too when it’s done.

---

<div class="post-metadata">

**Author:** ![hecontreraso](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hecontreraso](https://forums.balena.io/u/hecontreraso)\
**Post date:** [July 24, 2017, 8:08pm UTC](https://forums.balena.io/t/online-offline-refresh-rate/1514/3 "2017-07-24T20:08:19Z")

</div>

The time is kind of long for my use case, but I think we can wait for the update you mentioned. Looking forward for it 🙂

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [July 24, 2017, 8:29pm UTC](https://forums.balena.io/t/online-offline-refresh-rate/1514/4 "2017-07-24T20:29:45Z")

</div>

Can you tell us a bit more about your use case?

---

<div class="post-metadata">

**Author:** ![hecontreraso](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hecontreraso](https://forums.balena.io/u/hecontreraso)\
**Post date:** [July 25, 2017, 4:12am UTC](https://forums.balena.io/t/online-offline-refresh-rate/1514/5 "2017-07-25T04:12:51Z")

</div>

We are building food delivery robots: [kiwicampus.com](http://kiwicampus.com)  
In case of an internet loss, we could get some confused thinking that the robot still has internet
