Wifi connection comes and goes on Photon

I have a Photon 1, and it been working well for more than a year. But now it has lost the wifi connection most of the time and is very unstable and unpredictable. ( I am a newbie in to this world , and have actually now coding skills, but managed to have it working well by copy and paste)
The green light flashes fast most of the time. But suddenly it work for some hours or seconds. Then it after a day it starts to work, for some hours, and then not.
I have no problems with other devices connected to the wifi. And I have checked, with the help of an app in my telephone, the signals and loadings to/from the wifi. And the wifi signal is the same quality when the Photon is connected and when it is not.
I wonder if it is a hardware problem? Since I am not so familiar with programming etc I want to be “sure” that this is something I can solve before connecting the device to my computer. What do you think I have to do?

Your phone almost certainly supports both 2.4 GHz and 5 GHz Wi-Fi, and the Photon only supports 2.4 GHz, so the performance may not be comparable.

Though you mentioned that the Photon is stuck in fast blinking green. That typically indicates that the Photon was able to connect to the access point but is unable to obtain an IP address. There could be a DHCP configuration issue in your router, or your LAN has run out of IP addresses.

I’d try running the cloud debug firmware on it to see if it outputs any useful debugging messages. This will also rule out any problems caused by user firmware.

https://docs.particle.io/troubleshooting/connectivity/cloud-debug/

1 Like

Thanks, I will try.
However it is strange that sometimes it connects and that there is a blue light and connction for a while.
(I use the 2,4 Ghz signal from the router)

I did - What does this say?
And After 30 minutes of blue it now started to blinking green again!

Connected to USB serial
e[999;999He[6n> 0000058941 [app] INFO: Cloud connected for 00:40
0000058943 [app] INFO: rssi=-71.0 bssid=00:22:07:75:73:1E
0000058943 [app] INFO: Free Memory: 41424
0000059748 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000059748 [comm.protocol] TRACE: message id 26918 complete with code 0.00
0000059748 [comm.protocol] TRACE: rcv’d message type=13
0000068941 [app] INFO: Cloud connected for 00:50
0000068943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000068943 [app] INFO: Free Memory: 41424
0000075000 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000075000 [comm.protocol] TRACE: message id 26919 complete with code 0.00
0000075000 [comm.protocol] TRACE: rcv’d message type=13
0000078941 [app] INFO: Cloud connected for 01:00
0000078943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000078943 [app] INFO: Free Memory: 41424
0000088941 [app] INFO: Cloud connected for 01:10
0000088943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000088943 [app] INFO: Free Memory: 41424
0000090353 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000090353 [comm.protocol] TRACE: message id 26920 complete with code 0.00
0000090353 [comm.protocol] TRACE: rcv’d message type=13
0000098941 [app] INFO: Cloud connected for 01:20
0000098943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000098943 [app] INFO: Free Memory: 41424
0000105706 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000105706 [comm.protocol] TRACE: message id 26921 complete with code 0.00
0000105706 [comm.protocol] TRACE: rcv’d message type=13
0000108941 [app] INFO: Cloud connected for 01:30
0000108943 [app] INFO: rssi=-71.0 bssid=00:22:07:75:73:1E
0000108943 [app] INFO: Free Memory: 41424
0000118941 [app] INFO: Cloud connected for 01:40
0000118943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000118943 [app] INFO: Free Memory: 41424
0000120958 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000120958 [comm.protocol] TRACE: message id 26922 complete with code 0.00
0000120958 [comm.protocol] TRACE: rcv’d message type=13
0000128941 [app] INFO: Cloud connected for 01:50
0000128943 [app] INFO: rssi=-74.0 bssid=00:22:07:75:73:1E
0000128943 [app] INFO: Free Memory: 40904
0000136210 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000136210 [comm.protocol] TRACE: message id 26923 complete with code 0.00
0000136210 [comm.protocol] TRACE: rcv’d message type=13
0000138941 [app] INFO: Cloud connected for 02:00
0000138943 [app] INFO: rssi=-71.0 bssid=00:22:07:75:73:1E
0000138943 [app] INFO: Free Memory: 41448
0000148941 [app] INFO: Cloud connected for 02:10
0000148943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000148943 [app] INFO: Free Memory: 41448
0000151462 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000151462 [comm.protocol] TRACE: message id 26924 complete with code 0.00
0000151462 [comm.protocol] TRACE: rcv’d message type=13
0000158941 [app] INFO: Cloud connected for 02:20
0000158943 [app] INFO: rssi=-74.0 bssid=00:22:07:75:73:1E
0000158943 [app] INFO: Free Memory: 41448
0000166714 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000166714 [comm.protocol] TRACE: message id 26925 complete with code 0.00
0000166714 [comm.protocol] TRACE: rcv’d message type=13
0000168941 [app] INFO: Cloud connected for 02:30
0000168943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000168943 [app] INFO: Free Memory: 41448
0000178941 [app] INFO: Cloud connected for 02:40
0000178943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000178943 [app] INFO: Free Memory: 41448
0000181966 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000181966 [comm.protocol] TRACE: message id 26926 complete with code 0.00
0000181966 [comm.protocol] TRACE: rcv’d message type=13
0000188941 [app] INFO: Cloud connected for 02:50
0000188943 [app] INFO: rssi=-75.0 bssid=00:22:07:75:73:1E
0000188943 [app] INFO: Free Memory: 41448

I pushed the button on the device and then it started to give this informa

Connected to USB serial
e[999;999He[6n> 0000058941 [app] INFO: Cloud connected for 00:40
0000058943 [app] INFO: rssi=-71.0 bssid=00:22:07:75:73:1E
0000058943 [app] INFO: Free Memory: 41424
0000059748 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000059748 [comm.protocol] TRACE: message id 26918 complete with code 0.00
0000059748 [comm.protocol] TRACE: rcv’d message type=13
0000068941 [app] INFO: Cloud connected for 00:50
0000068943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000068943 [app] INFO: Free Memory: 41424
0000075000 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000075000 [comm.protocol] TRACE: message id 26919 complete with code 0.00
0000075000 [comm.protocol] TRACE: rcv’d message type=13
0000078941 [app] INFO: Cloud connected for 01:00
0000078943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000078943 [app] INFO: Free Memory: 41424
0000088941 [app] INFO: Cloud connected for 01:10
0000088943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000088943 [app] INFO: Free Memory: 41424
0000090353 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000090353 [comm.protocol] TRACE: message id 26920 complete with code 0.00
0000090353 [comm.protocol] TRACE: rcv’d message type=13
0000098941 [app] INFO: Cloud connected for 01:20
0000098943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000098943 [app] INFO: Free Memory: 41424
0000105706 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000105706 [comm.protocol] TRACE: message id 26921 complete with code 0.00
0000105706 [comm.protocol] TRACE: rcv’d message type=13
0000108941 [app] INFO: Cloud connected for 01:30
0000108943 [app] INFO: rssi=-71.0 bssid=00:22:07:75:73:1E
0000108943 [app] INFO: Free Memory: 41424
0000118941 [app] INFO: Cloud connected for 01:40
0000118943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000118943 [app] INFO: Free Memory: 41424
0000120958 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000120958 [comm.protocol] TRACE: message id 26922 complete with code 0.00
0000120958 [comm.protocol] TRACE: rcv’d message type=13
0000128941 [app] INFO: Cloud connected for 01:50
0000128943 [app] INFO: rssi=-74.0 bssid=00:22:07:75:73:1E
0000128943 [app] INFO: Free Memory: 40904
0000136210 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000136210 [comm.protocol] TRACE: message id 26923 complete with code 0.00
0000136210 [comm.protocol] TRACE: rcv’d message type=13
0000138941 [app] INFO: Cloud connected for 02:00
0000138943 [app] INFO: rssi=-71.0 bssid=00:22:07:75:73:1E
0000138943 [app] INFO: Free Memory: 41448
0000148941 [app] INFO: Cloud connected for 02:10
0000148943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000148943 [app] INFO: Free Memory: 41448
0000151462 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000151462 [comm.protocol] TRACE: message id 26924 complete with code 0.00
0000151462 [comm.protocol] TRACE: rcv’d message type=13
0000158941 [app] INFO: Cloud connected for 02:20
0000158943 [app] INFO: rssi=-74.0 bssid=00:22:07:75:73:1E
0000158943 [app] INFO: Free Memory: 41448
0000166714 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000166714 [comm.protocol] TRACE: message id 26925 complete with code 0.00
0000166714 [comm.protocol] TRACE: rcv’d message type=13
0000168941 [app] INFO: Cloud connected for 02:30
0000168943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000168943 [app] INFO: Free Memory: 41448
0000178941 [app] INFO: Cloud connected for 02:40
0000178943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000178943 [app] INFO: Free Memory: 41448
0000181966 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000181966 [comm.protocol] TRACE: message id 26926 complete with code 0.00
0000181966 [comm.protocol] TRACE: rcv’d message type=13
0000188941 [app] INFO: Cloud connected for 02:50
0000188943 [app] INFO: rssi=-75.0 bssid=00:22:07:75:73:1E
0000188943 [app] INFO: Free Memory: 41448
0000197218 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000197218 [comm.protocol] TRACE: message id 26927 complete with code 0.00
0000197218 [comm.protocol] TRACE: rcv’d message type=13
0000198941 [app] INFO: Cloud connected for 03:00
0000198943 [app] INFO: rssi=-74.0 bssid=00:22:07:75:73:1E
0000198943 [app] INFO: Free Memory: 41448
0000208941 [app] INFO: Cloud connected for 03:10
0000208943 [app] INFO: rssi=-75.0 bssid=00:22:07:75:73:1E
0000208943 [app] INFO: Free Memory: 41448
0000212470 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000212470 [comm.protocol] TRACE: message id 26928 complete with code 0.00
0000212470 [comm.protocol] TRACE: rcv’d message type=13
0000218941 [app] INFO: Cloud connected for 03:20
0000218943 [app] INFO: rssi=-74.0 bssid=00:22:07:75:73:1E
0000218943 [app] INFO: Free Memory: 41448
0000227722 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000227722 [comm.protocol] TRACE: message id 26929 complete with code 0.00
0000227722 [comm.protocol] TRACE: rcv’d message type=13
0000228941 [app] INFO: Cloud connected for 03:30
0000228943 [app] INFO: rssi=-74.0 bssid=00:22:07:75:73:1E
0000228943 [app] INFO: Free Memory: 41448
0000238941 [app] INFO: Cloud connected for 03:40
0000238943 [app] INFO: rssi=-75.0 bssid=00:22:07:75:73:1E
0000238943 [app] INFO: Free Memory: 41448
0000242974 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000242974 [comm.protocol] TRACE: message id 26930 complete with code 0.00
0000242974 [comm.protocol] TRACE: rcv’d message type=13
0000248941 [app] INFO: Cloud connected for 03:50
0000248943 [app] INFO: rssi=-72.0 bssid=00:22:07:75:73:1E
0000248943 [app] INFO: Free Memory: 41448
0000258226 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000258226 [comm.protocol] TRACE: message id 26931 complete with code 0.00
0000258226 [comm.protocol] TRACE: rcv’d message type=13
0000258941 [app] INFO: Cloud connected for 04:00
0000258943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000258943 [app] INFO: Free Memory: 41448
0000268941 [app] INFO: Cloud connected for 04:10
0000268943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000268943 [app] INFO: Free Memory: 41448
0000273478 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000273478 [comm.protocol] TRACE: message id 26932 complete with code 0.00
0000273478 [comm.protocol] TRACE: rcv’d message type=13
0000278941 [app] INFO: Cloud connected for 04:20
0000278943 [app] INFO: rssi=-73.0 bssid=00:22:07:75:73:1E
0000278943 [app] INFO: Free Memory: 41448
Disconnected from USB serial, will attempt to reconnect
Connected to USB serial
e[999;999He[6n> 0000015090 [app] INFO: Starting Tests!
0000015090 [app] INFO: Platform: Photon
0000015090 [app] INFO: Binary compiled for: 2.3.0
0000015090 [app] INFO: Cloud Debug Release 2.3.5
0000015090 [app] INFO: System version: 2.3.0
0000015091 [app] INFO: Device ID: 4f0041000e51353532343635
0000015091 [app] INFO: No Ethernet (not Gen 3)
0000015101 [app] INFO: Antenna: internal
0000015108 [app] INFO: IP Address Configuration: dynamic
0000015116 [app] INFO: Configured credentials:
0000015130 [app] INFO: ssid=NETatONCE-731E security=wpa2 cipher=AES
0000015130 [app] INFO: Available access points:
0000015250 [app] INFO: ssid=NETatONCE-731E_EXT security=wpa2 channel=1 rssi=-73
0000015874 [app] INFO: Connecting to Wi-Fi
0000025875 [app] INFO: Still trying to connect to Wi-Fi 00:10
0000035875 [app] INFO: Still trying to connect to Wi-Fi 00:20
0000045875 [app] INFO: Still trying to connect to Wi-Fi 00:30
0000055875 [app] INFO: Still trying to connect to Wi-Fi 00:40
0000065875 [app] INFO: Still trying to connect to Wi-Fi 00:50
0000075875 [app] INFO: Still trying to connect to Wi-Fi 01:00
0000085875 [app] INFO: Still trying to connect to Wi-Fi 01:10
0000095875 [app] INFO: Still trying to connect to Wi-Fi 01:20
0000105875 [app] INFO: Still trying to connect to Wi-Fi 01:30
0000115875 [app] INFO: Still trying to connect to Wi-Fi 01:40
0000125875 [app] INFO: Still trying to connect to Wi-Fi 01:50
0000135875 [app] INFO: Still trying to connect to Wi-Fi 02:00

HURRA!
I think I understood and was able to solve the problem by using the Device Doctor. I think the Photon had difficulty to find the wifi, since the signal for the extension or amplifier xxxx_EXT, was stronger, and it choose that one, I guess thats the reason why it sometimes did work. I changed wifi network to the xxxxx_EXT and hope that it will continue to work.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.