I have been using my photon for a while. I wrote a program to monitor 2 temperature sensors and post the temperature to the cloud. … But that’s not my problem
Yesterday, right out of the blue, I stopped receiving data from my Photon. I tried a few things and I can put it in setup mode (blinking blue) but the phone app didn’t pick it up.
Here is what I tried:
Phone/tablet app to setup new device. No go. Did not find a photon. No Photon-xxx network found.
particle setup on windows in admin mode (using the particle CLI) - logged in account, found photon attached to USB, scan for network, select network, select WPA2, after a while I get “Potentially unhandled rejection [3] Serial timed out (WARNING: non-Error used)”
terminal connection to the serial port where the photon is recognized (used TetraTerm). “i” command works, returns the device id. Try to setup the wifi through that so issue “w” command, get SSID prompt, enter SSID, then get encryption prompt and I select “3” (WPA2) and the terminal does not come back with an answer.
What do I so.
I already lost my first Photon that now after probably 1 year is just stuck on solid blue light. Before it was doing the SOS red light.
Have you by any chance altered anything on your WiFi AP?
Switch off or rename any 5GHz network.
Clear WiFi credentials.
Flash Tinker to the device via particle flash --usb tinker (in DFU Mode).
Reapply WiFi credentials (wihtout any auto-scanning).
Provide a video of what’s happening during boot-up.
BTW, a single > is enought to introduce a quote, but actually you'd do it the other way round.
You quote the original question and then state the answer after the quote - as seen in my reply.
Hello,
I have unplugged my wireless extender and I disabled the 5GHz radio on my router.
I have put my Photon in setup mode (flashing blue) but it still don’t see its wifi network.
That’s not what we’d usually think of when we are talking about blinking blue (although 9 seconds is a bit short to properly tell what’s going on).
The blue your video shows is the D7 LED, but with your previous description we’d rather have expected the RGB LED in the middle to turn blinking blue (as it would be in Listening Mode or without WiFi credentials).
This looks much more like an issue with your external circuitry causing a crash/reset.
Take the device out of the board and try again.
Another suggestion might be to change the USB cable and/or power supply.
Hello,
Yes, I know about the D7 LED. The video is of the reboot and the device going to blinking green so waiting for network.
I changed the cable and the power supply and I have taken the Photon out of my PCB (I thought about that one before also).
Same results
Hello Postler.
I have one more photon that has not been working for a long time and I gave up debugging it since I was not getting anywhere.
My router is a TP‑LINK Archer C50 and I can add new devices to the wifi network. I have added a bunch of etekcity voltron smart outlets about a month ago.
That's an interesting background info.
Have you checked how many available IP addresses your DHCP server can hand out? Maybe your Photon can't acquire an IP address due to an exhausted IP address pool.
Can you try to connect your Photon to another WiFi network - e.g. your mobile phone tether?
Not a bad guess ScruffR - didn’t think about that one but no, I don’t have any restrictions on my router and my photon worked until about 1 week ago.
… Also, when you set the photon up, it should start in AP mode and that’s how you connect to it first, right. …
I just don’t see the photon’s network at all.
If you want to get the device back working I'd try to avoid any of that auto-magic stuff that's supposed to work when everything is going to plan - but in your case it obviously isn't.
When your Photon has no credentials (e.g. after clearing them as suggested above), the device will startup in Listening Mode (blue blinking RGB LED).
In that mode, I'd either use particle serial wifi or serial command w to enter credentials.
But as we already established there is a problem with your standard WiFi try to connect to another one (e.g. mobile phone hotspot).
If that doesn't work there might be other reasons (e.g. sticky setting to use external antenna or WiFi.useStaticIP()).
While particle doctor should help there, you can always flash some dedicated application firmware that forces the device into the desired modes.
BTW
Have you checked or did you just not set any restrictions?
For instance I had a Netgear router that had a default limit of 32 DHCP IPs.
When you say 1 week ago it worked, can you remember adding any devices to your network or e.g. setting up a device with a static IP round about that time?
BTW²: I might have missed it, but what system firmware have you got on your device?
I have tried to enter the wifi credentials through particle serial wifi.
I get to select the network and then I select the security type and then it times out with: "Something went wrong: Serial timed out"
Have you checked or did you just not set any restrictions?
Yes I have checked. I have mine set for 200 devices.
I have not added any devices before or after my photon stopped working