No matter what I do I can't connect to my WiFi with Photon

My wifi is active and working. At anyone time I have 4-5 devices connected to it running just fine. The only thing that can’t connect is Photon. I’ve installed the CLI app and the Photon driver (twice). The LED is flashing blue. Here is what I get with when I try to do a ‘particle setup’.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\User>particle setup
 _ __             _   _      _
| '_ \  __ _ _ __| |_(_) ___| | ___
| |_) |/ _` | '__| __| |/ __| |/ _ \
|  __/| (_| | |  | |_| | (__| |  __/
|_|    \__,_|_|   \__|_|\___|_|\___|

> Setup is easy! Let's get started...
> It appears as though you are already logged in as
? Would you like to log in with a different account? No

! PROTIP: Hold the MODE/SETUP button on your device until it blinks blue!
! PROTIP: Please make sure you are connected to the internet.

> No devices detected via USB.
? Would you like to scan for nearby Photons in Wi-Fi setup mode? Yes

! PROTIP: Wireless setup of Photons works like a wizard!
! PROTIP: We will automagically change the Wi-Fi network to which your computer
is connected.
! PROTIP: You will lose your connection to the internet periodically.

> No nearby Photons detected. Try the `particle.js help` command for more inform
? Would you like to wait and monitor for Photons entering setup mode? Yes
> Monitoring nearby Wi-Fi networks for Photons. This may take up to a minute.
? Found "Photon-WLVN". Would you like to perform setup on this one now? Yes

! PROTIP: You will need to know the password for your Wi-Fi network (if any) to
! PROTIP: You can press ctrl + C to quit setup at any time.

> Obtained magical secure claim code.

! I am unable to automatically connect to Wi-Fi networks (-___-)

? We can still proceed in 'manual' mode. Would you like to continue? Yes
? Please connect to the Photon-WLVN network now. Press enter when ready.

> Now to configure our precious Photon

! PROTIP: If you want to skip scanning, or your network is configured as a
! PROTIP: non-broadcast network, please enter manual mode to proceed...

? Would you like to manually enter your Wi-Fi network configuration? Yes
? Please enter the SSID of your Wi-Fi network: ATT9Yhu285
? Please select the security used by your Wi-Fi network: WPA2 AES
? Please enter your Wi-Fi network password: 3r6+h3htm8tv
> Here's what we're going to send to the Photon:

> Wi-Fi Network: ATT9Yhu285
> Security: WPA2 AES
> Password: 3r6+h3htm8tv

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

> Obtaining device information...
      throw er; // Unhandled 'error' event

Error: connect ETIMEDOUT
    at Object.exports._errnoException (util.js:1018:11)
    at exports._exceptionWithHostPort (util.js:1041:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)


If I try to do a 'particle serial wifi' I get the following:
C:\Users\User>particle serial wifi

! serial: No serial port identified


What am I doing wrong? Am I missing something? I’ve repeatedly gone over the install instructions.

How have you installed CLI?

If you used npm I’d suggest you remove that again via

npm uninstall -g particle-cli

and reinstall via this

Make sure to tick all the checkboxes.

1 Like