Wifi Setup with CLI failing

I’m trying to connect my first photon, gave up on the App as apparently it’s broken in MarshMallow.

I’m connecting using a PC with a hardwired network connection so manual wifi setup. The photon is about 2 feet from the router and I’ve confirmed that it’s 2.4GHz.

I can connect to the device with CLI, particle identify gives me a device ID and firmware version 0.5.3.
Particle setup works as far as sending the wifi details to the device:

Here’s what we’re going to send to the Photon:

Wi-Fi Network: NETGEAR55
Security: WPA2 AES
Password: ******************

? Would you like to continue with the information shown above? Yes

Obtaining device information...
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED 192.168.0.1:5609
    at Object.exports._errnoException (util.js:1022:11)
    at exports._exceptionWithHostPort (util.js:1045:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)

I don’t understand the error message, can anyone please shed some light on what to try next?

Light stays blinking blue throughout.

Many thanks

Can you place it in Listening mode and use particle serial wifi instead and see if it works?

Brilliant, thanks Kenneth, I now have a pulsing cyan light and I can see that it’s connected to my router but I still need to claim the device and add it to my particle account. Can I do that via CLI?

Yup

particle device add <deviceID>

Or you can do it via Web IDE ( https://build.particle.io )

1 Like

Awesome, I’m all set up and good to go, many thanks

1 Like