I’ve just receive my Sparkfun Photon redboard and never reached to establish a connection.
When using Particle App or Over USB, the process is blocked to the waiting for device cloud connection step.
When using CLI particle cloud claim id, I have the error “server said: device is not connected”.
I nevertheless managed to perform particle setup wifi with our Wifi network, but the device does not appear in the Particle app.
I get the appropriate answer when using:
particle serial identity etc…
Is there a mean to solve this problem (and then be able to test D7 LED blinking with Particle app)
The system update improve the situation (I was in v0.4.4 before). But connection is still failed
I pass two more steps in the Particle App connection initialization:
When connecting with Particle App:
Connecting on Photon Wifi => OK
Configuring device Wifi connection => OK
Connecting to Wifi network => OK
Disconnecting from softApp => OK
Waiting for device cloud connexion => OK
checking for internet connectivity => OK
verifying product ownership => NOK…
My Wifi encryption is WPA2
I flashed the simple sketch (such as) but did not reach to obtain traces at reset or power-on (I even added log.info in setup() but are not displayed).
I compiled my .ino such as and flashed it successfully.
Is there a specific way of use , perhaps library to add ?
No, it (RGB) is blinking Green AND Blue (Sparkfun Photon Redboard)
On Particle APP, the following message is displayed:
"Setup process couldn't claim your photon ! ....."
When performing: >particle setup
...
? Would you like to use this account? Yes
! 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 P1 connected via USB.
? Would you like to continue with this one? Yes
! The device supports setup via serial.
setting up device 3500xxxxxxxxxxxxxx33
Obtained magical secure claim code.
Claim code set. Now setting up Wi-Fi
? Should I scan for nearby Wi-Fi networks? Yes
? Select the Wi-Fi network with which you wish to connect your device: inside
Attempting to configure Wi-Fi on COM5
? Security Type WPA2
? Wi-Fi Password pppppppppppp
Done! Your device should now restart.
! It doesn't look like your Photon has made it to the cloud yet.
@slorre, what’s missing from your log are the WiFi connection details. The first thing that happens is that the Photon will negotiate a connection with your router which should assign it an IP address along with Gateway and DNS IPs. I don’t see these details in your log. What is obvious is that the Photon can’t find the device.spark.io server. This could be caused by:
The IP details handed to the Photon via DHCP are problematic, or
Your router is blocking the port used for contacting the server (port 5683)
Can you provide the log portion showing where the Photon is giving IP details from your router?
First thanks very much to everybody for your help…
There’s a strong chance that the port 5683 will be blocked by our router.
Otherwise the only supplementary trace info concerning Wifi interface with DHCP is the following ones
0000101974 [hal.wlan] INFO: Bringing WiFi interface up with DHCP
0000102856 [system] INFO: CLR_WLAN_WD 1, DHCP success
Perhaps an other mean to retrieve supplementary info ?