OK, so I am trying out the new Spark Photon. It’s too bad I can’t get it connected to the wifi. I went through these steps to connect over usb: http://docs.particle.io/photon/connect/#installing-the-particle-cli
When I got to the point for doing particle setup this is basically what happened:
C:\Users\admin>particle setup
_ _ _ _
_ __ __ _ _ __| |_(_) ___| | ___ (_) ___
| '_ \ / _` | '__| __| |/ __| |/ _ \ | |/ _ \
| |_) | (_| | | | |_| | (__| | __/_| | (_) |
| .__/ \__,_|_| \__|_|\___|_|\___(_)_|\___/
|_| https://particle.io/
> Setup is easy! Let's get started...
> It appears as though you are already logged in as xxxxxxxxxxxxxx
? 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.
> I have detected a Photon connected via USB.
? Would you like to continue with this one? Yes
! The Photon supports secure Wi-Fi setup. We'll try that first.
! 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.
Potentially unhandled rejection [2] Unable to find mac address in response (WARNING: non-Error used)
> No nearby Photons detected. Try the `particle.js help` command for more information.
? Would you like to wait and monitor for Photons entering setup mode? No
> Ok, bye! Don't forget `particle.js help` if you're stuck! <3
So then I tried doing particle serial wifi in the command prompt. This is what happended when I did that:
C:\Users\admin>particle serial wifi
? Should I scan for nearby Wi-Fi networks? Yes
? Select the Wi-Fi network with which you wish to connect your device: xxxxxxx
? Should I try to auto-detect the wireless security type? No
? Security Type: WPA2
? Wi-Fi Password: xxxxxxxxxxx
Attempting to configure Wi-Fi on COM7
I said: w
timed out on SSID:
Something went wrong Serial prompt timed out - Please try restarting your device
Yep, I tried restarting my device and ran into the same problem. So then, I tried using real term (it is a serial terminal thing) and here is what happened then:
SSID: xxxxxxxxxxxx
Security 0=unsecured, 1=WEP, 2=WPA, 3=WPA2: 3
Password: xxxxxxxxxxx
Thanks! Wait while I save those credentials...
annnnnddddd guess what? Nothing happened after that. lets just say this. I NEED HELP!
@SlinkyMation, you may want to edit your post to remove the sensitive info!
What type of router are you using? Is it dual band and do both bands have the same SSID? The Photon will only connect to an SSID uniquely associated with a 2.4GHz wifi router band.
OK. So I was wrong. The 2.4 GHz band and 5.0 GHz band do have different SSID’s and my Photon was connected to the 2.4 GHz band. So this is not the problem. Any other ideas?
@SlinkyMation, good then that eliminates that problem. Does your SSID or password contain spaces? Have you tried the iOS or Android app for connecting?
I’m having a similar issue. I’m connecting to an open wifi network that does not have a captive portal (at least not for me because I whitelisted the Photon’s MAC address).
The network has no password so the security is 0…but when I set it up via the serial terminal it still asks for a cipher. I tired 0, but that didn’t work. I tried 1 (AES) and then it tried to connect, but never did and went back to listening mode after a short amount of time.
When I set it up via usb through particle setup on the command line it does not ever get an IP either.
We are having problems connecting the Photon to a wifi SSID containing spaces. I was reading on the web this is a common issue on Photon. Since we work on a commercial product, we must adjust to our clients’ SSID, so we look for a solution to accept spaces and special characters on SSID.
We use API 0.6.4. Does someone know if new releases have solved this issue?
What API? Do you mean Device OS version or something else?
There is no Device OS v0.6.4 for Photons. This is Electron only.
Do you mean 0.6.3 or 0.7.0?