# \[SOLVED\]Connecting a sparkio

**URL:** <https://community.particle.io/t/solved-connecting-a-sparkio/18455>\
**Category:** Troubleshooting\
**Created:** [December 21, 2015, 7:01pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455 "2015-12-21T19:01:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 21, 2015, 7:01pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/1 "2015-12-21T19:01:10Z")

</div>

Hello

I have had my spark for quite a while working perfectly. I use it to open and close my gate remotely.

I recently switched routers and now I am unable to get my spark to connect at all.  
I have tried the spark app and the command prompts and putty all to no avail.

Are there any suggestions to put me on the right track as I only get fast flashing cyan.

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [December 21, 2015, 7:04pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/2 "2015-12-21T19:04:11Z")

</div>

@jcdude, can you supply details on your new router? Is the 2.4GHz SSID different from the 5GHz SSID for example?

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 21, 2015, 7:06pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/3 "2015-12-21T19:06:20Z")

</div>

Dont think it has 5ghz

[http://www.routersetup.co.za/manuals/Mecer/E5104n2](http://www.routersetup.co.za/manuals/Mecer/E5104n2)

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 21, 2015, 7:12pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/4 "2015-12-21T19:12:40Z")

</div>

This is my other router that I have also had no luck connecting to

> **[DSL Modem ZyXEL SBG3300-N](http://directedgroup.co.za/product/dsl-modem-zyxel-sbg3300-n/)**
>
> modem wireless

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [December 21, 2015, 7:17pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/5 "2015-12-21T19:17:30Z")

</div>

@jcdude, how is the wireless security setup? Is it exactgly as in the manul setup?

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 21, 2015, 7:22pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/6 "2015-12-21T19:22:04Z")

</div>

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/1/1097cecf4f825ffd137f2091acee6e6898d5b4b8.png)

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [December 21, 2015, 7:24pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/7 "2015-12-21T19:24:10Z")

</div>

@jcdude, can you show more on the wireless security settings? How long is the password and is it alphanumeric?

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 21, 2015, 7:25pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/8 "2015-12-21T19:25:12Z")

</div>

Example password test87873434

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 21, 2015, 7:26pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/9 "2015-12-21T19:26:42Z")

</div>

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/e/e0b397a9089dd4c0c40f804b186b58ba15bc1829.png)

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [December 21, 2015, 7:33pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/10 "2015-12-21T19:33:44Z")

</div>

@jcdude, TCP port 5683 (COAP) needs to be open to allow for a Particle Cloud connection.

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 21, 2015, 7:55pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/11 "2015-12-21T19:55:49Z")

</div>

> [@peekay123](#):
>
> 5683

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/b/b2143aff98eb24457fd9f3f3a1261ee830568bee.png)

Still no connection.

I even turned the firewall off with no luck

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [December 21, 2015, 7:56pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/12 "2015-12-21T19:56:49Z")

</div>

Ping @kennethlimcp, @ScruffR

---

<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:** [December 21, 2015, 8:35pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/13 "2015-12-21T20:35:20Z")

</div>

I’ll try to catch up on the thread and see if I can find something

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [December 21, 2015, 10:02pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/14 "2015-12-21T22:02:09Z")

</div>

What’s the led colour on the device?

---

<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:** [December 22, 2015, 9:51am UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/15 "2015-12-22T09:51:17Z")

</div>

When you say _sparkio_ / _spark_, are you refering to the Spark Core (vs. Photon of the same company/different brand)?  
Since all the common suspects were eliminated by @peekay123 already, can you first try to wipe the WiFi credentials from your device by holding down the MODE button for 10+ seconds till the RGB quickly flashes blue.  
Then try to reenter your credentials (or even try open WiFi and firewall off **_temporarily_** ).  
If this doesn’t work (and you are on a Core) try a factory reset, apply a CC3000 update _(how to can be found via forum search)_ and reenter credentials again.

Just to make sure:  
You have not set a static IP on your device that doesn’t belong to your new subnet?  
You haven’t set MAC filtering on your router?  
Your device is definetly in range? (new router might have shorter range)  
You have no blanks in your SSID/password? (these are allowed, but might be overlooked when reentering credentials ;-))  
Increase max clients count on your router.  
(Remove bandwidth limiting. Or have you got a shared uplink?)

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 22, 2015, 3:31pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/16 "2015-12-22T15:31:29Z")

</div>

flashing fast cyan

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 22, 2015, 3:33pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/17 "2015-12-22T15:33:36Z")

</div>

I have tried turning the firewall off. But what baffles me is that the settings on the one router that I have tried to connect to are exactly the same as they used to be and I cannot connect to it.

Is there any test I can run from my computer to see if I can get through to the cloud

---

<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:** [December 22, 2015, 3:55pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/18 "2015-12-22T15:55:58Z")

</div>

On Linux/OSX you might be able to get hold of a package called _`coaping`_

On Windows I don’t know of anything similar, but you could use something like _`telnet`_ to open a connection on that port and see if something comes back.

If you try `telnet 54.208.229.4 5683` you should receive a bunch of random characters - if not your CoAP doesn’t get through.

But Paul’s suggestion below goes in line with what I said above. _Give it a try!_

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [December 22, 2015, 3:56pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/19 "2015-12-22T15:56:06Z")

</div>

@jcdude, I just had a Core do the same thing. I ended up flashing the cc3000 patch several times and different versions. I suggest doing the following using CLI (assuming you have it installed):

```auto
particle flash --factory tinker
particle flash --usb cc3000
particle flash --usb tinker

```

The first command updates the factory reset code. The second flashes the cc3000 update and should finish in DFU (flashing yellow) mode. The last flashes the tinker code over.

Try the first two, then do a factory reset which will wipe all your wifi creds. Then use CLI or terminal to setup new wifi creds and see if it connects then.

---

<div class="post-metadata">

**Author:** ![jcdude](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jcdude](https://community.particle.io/u/jcdude)\
**Post date:** [December 22, 2015, 7:52pm UTC](https://community.particle.io/t/solved-connecting-a-sparkio/18455/20 "2015-12-22T19:52:38Z")

</div>

Thanks I will give this a go and get back to you

[Next page](https://community.particle.io/t/solved-connecting-a-sparkio/18455.md?page=2)
