# When WIFI is lost, anyways to keep the device running instead of blinking green?

**URL:** https://community.particle.io/t/when-wifi-is-lost-anyways-to-keep-the-device-running-instead-of-blinking-green/29958
**Category:** Firmware
**Created:** [February 23, 2017, 11:38pm UTC](https://community.particle.io/t/when-wifi-is-lost-anyways-to-keep-the-device-running-instead-of-blinking-green/29958 "2017-02-23T23:38:03Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![sheng](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@sheng](https://community.particle.io/u/sheng)
#### Post date: [February 24, 2017, 10:26pm UTC](https://community.particle.io/t/when-wifi-is-lost-anyways-to-keep-the-device-running-instead-of-blinking-green/29958/5 "2017-02-24T22:26:43Z")

</div>

I been looking thru the document and forum, I am thinking of using SEMI\_AUTOMATIC. But I am confuse on how to release the blocking form the user code once the internet is lost, it just keep blinking green.

Seem like back in '14, [Functioning with wifi and internet drops](https://community.particle.io/t/functioning-with-wifi-and-internet-drops/4626/7), there were similar question as mine.

Does anyone have some sample code to keep the user code running during a lost of network and reconnect when the network is available?

---

_[View the full topic](https://community.particle.io/t/when-wifi-is-lost-anyways-to-keep-the-device-running-instead-of-blinking-green/29958)._
