# Electron LED - solid cyan?

**URL:** <https://community.particle.io/t/electron-led-solid-cyan/21728>\
**Category:** Troubleshooting\
**Created:** [April 4, 2016, 3:08am UTC](https://community.particle.io/t/electron-led-solid-cyan/21728 "2016-04-04T03:08:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![leo3linbeck](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/leo3linbeck/32/11919_2.png) [@leo3linbeck](https://community.particle.io/u/leo3linbeck)\
**Post date:** [April 4, 2016, 3:08am UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/1 "2016-04-04T03:08:54Z")

</div>

Ok here’s a new one:

My Electron enters this state where the LED is solid cyan, and the Electron is non-responsive. This only happens after I leave it my device on overnight - it’s working fine (breathing cyan) when I go to bed, and when I wake up it’s zombified (solid cyan). I can push the reset button, and everything goes back to normal, but I had to at least ask the question:

What the heck does solid cyan mean? Can’t find it anywhere in the docs or community.

Cheers,  
L3

---

<div class="post-metadata">

**Author:** ![will](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/will/32/23374_2.png) [@will](https://community.particle.io/u/will)\
**Post date:** [April 4, 2016, 3:19am UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/2 "2016-04-04T03:19:51Z")

</div>

Solid cyan is not an “official” state–it’s usually that the device locked up or stopped running firmware after some period of time. What firmware are you running on the device? Do you see any red colors from the RGB LED on the Electron?

If you’d be willing to post the code that’s running on the device, that’d be most helpful.

---

<div class="post-metadata">

**Author:** ![leo3linbeck](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/leo3linbeck/32/11919_2.png) [@leo3linbeck](https://community.particle.io/u/leo3linbeck)\
**Post date:** [April 4, 2016, 4:00am UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/3 "2016-04-04T04:00:08Z")

</div>

@will,  
I really appreciate the offer - but it may be more than you bargained for:

[https://github.com/leo3linbeck/particle/tree/master/BrevitestV10](https://github.com/leo3linbeck/particle/tree/master/BrevitestV10)

I’d understand if you decided that wading through this code is not worth it. But if you want more color on what we’re trying to do, feel free to shoot me an email: leo3 at linbeck dot com.

Cheers,  
L3

---

<div class="post-metadata">

**Author:** ![leo3linbeck](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/leo3linbeck/32/11919_2.png) [@leo3linbeck](https://community.particle.io/u/leo3linbeck)\
**Post date:** [April 4, 2016, 4:37am UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/4 "2016-04-04T04:37:17Z")

</div>

@will,  
And in answer to your questions:

Firmware: Electron - not sure how to find the version but the cli compile command generates this message:

> downloading binary from: /v1/binaries/5701eee66cb8481512d5c7f5

LED: no change to red that I ever see (but then I'm asleep when this is happening...).

Cheers,  
L3

---

<div class="post-metadata">

**Author:** ![leo3linbeck](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/leo3linbeck/32/11919_2.png) [@leo3linbeck](https://community.particle.io/u/leo3linbeck)\
**Post date:** [April 4, 2016, 12:11pm UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/5 "2016-04-04T12:11:11Z")

</div>

UPDATE: woke up this morning with the LED flashing blue. Go figure. Cheers, L3

---

<div class="post-metadata">

**Author:** ![developer\_bt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/developer_bt/32/1311_2.png) [@developer\_bt](https://community.particle.io/u/developer_bt)\
**Post date:** [April 4, 2016, 1:06pm UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/6 "2016-04-04T13:06:42Z")

</div>

This happens if you use SYSTEM\_THREAD (ENABLED);  
It is still in beta and does not work well with the electron.  
Disable that option and will be fine 😉

---

<div class="post-metadata">

**Author:** ![leo3linbeck](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/leo3linbeck/32/11919_2.png) [@leo3linbeck](https://community.particle.io/u/leo3linbeck)\
**Post date:** [April 4, 2016, 1:10pm UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/7 "2016-04-04T13:10:41Z")

</div>

Hmmm, good to know.

Actually, when I don’t use SYSTEM\_THREAD(ENABLED), I have a different problem: I keep losing connection to the cloud and it stops execution while reconnecting. There are a number of situation where I have long-running tasks, and stopping execution to reconnect to the cloud is not a good thing. This problem went away when I enabled the system thread. I may keep the system thread for now - it runs just fine during the day, and I can simply restart each morning.

Cheers,  
L3

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [April 4, 2016, 2:55pm UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/8 "2016-04-04T14:55:10Z")

</div>

This info might interest you in that connection

> [@TRY\_LOCK was not declared in this scope WITH\_LOCK was not declared in this scope](https://community.particle.io/t/try-lock-was-not-declared-in-this-scope-with-lock-was-not-declared-in-this-scope/21693/8):
>
> 0.4.8 does in fact include the full multithreading code on the Electron, but the stack size was too small, leading to random code crashes after connecting to the cloud via UDP, which is why we were saying that multithreading wasn’t supported in 0.4.8 on the Electron. 0.5.0 fixes this.

---

<div class="post-metadata">

**Author:** ![leo3linbeck](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/leo3linbeck/32/11919_2.png) [@leo3linbeck](https://community.particle.io/u/leo3linbeck)\
**Post date:** [April 4, 2016, 4:31pm UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/9 "2016-04-04T16:31:12Z")

</div>

@ScruffR,

Ah, thanks so much for the link. Didn’t know that about the Electron and multithreading. The stack size issue now makes perfect sense - it’s the kind of problem you’d expect in this set of circumstances:

1. Problem emerges after running for a long time.
2. Big, complex user code.
3. Second-rate hacker (i.e. me).

I look forward to the 0.5.0 release with baited breath. All the best,

L3

---

<div class="post-metadata">

**Author:** ![will](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/will/32/23374_2.png) [@will](https://community.particle.io/u/will)\
**Post date:** [April 5, 2016, 10:45pm UTC](https://community.particle.io/t/electron-led-solid-cyan/21728/10 "2016-04-05T22:45:45Z")

</div>

@leo3linbeck as a heads up, v050 is currently in prerelease! You should be able to experiment with it here before it’s officially released:

> **[particle-iot/firmware](https://github.com/particle-iot/firmware/releases/tag/v0.5.0-rc.1)**
>
> firmware - Device OS (Firmware) for Particle Devices
