Hi,
I’m having lots of problems getting my Core and Photons set-up, a lot of which appear to be down to the CLI and some probably due to the WiFi gods.
FYI: The Android app repeatedly fails and I’ve never had any success with it on-boarding new cores. I tried the Photons with it but they failed also, hence I am forced to fall back to the CLI which is not failing me as well.
On my laptop:
-
With nothing connected to the USB ports the CLI reports a Core is connected and did I want to configure that. I have no other COM ports on the laptop and nothing at all connected to USB and even all cores/photons powered down that it might pick-up via WiFi.
-
With a Photon connected to the laptop the CLI still reports the Core connected, when I say No to use the Core it exits, I have no way to configure the Photon.
-
First time around I was able to connect to the Photon, that was before I connected a core and install the Core driver, since it has seen the core it has defaulted to always reporting a core connected (I note in the code for the CLI it checks the device is a core to start with so that is understandable).
On my desktop PC:
-
Before upgrading the CLI I had been able to use the CLI to configure my core (note that these are old kick starter era cores), at the time I had jumped through various hoops to upgrade the firmware and had then been able to set-up the WiFi. However when I try to do that now (I presume a new version of the CLI as it’s been some time) I get an error setting the security on the core.
Attempting to configure Wi_Fi on COM18
I said: w
Serial Said: SSID:
I said: xxxxxx (my SSID)Serial said: xxxxxx (my SSID)
Password:
timed out on Security 0=unsecured, 1=WEP, 2=WPA, 3=WPA2
timed out on Spark <3 you!
Something went wrong Serial prompt timed out - Please try restarting your device! Something went wrong
! Serial prompt timed out - please try restarting your device
Potentially unhandled rejection [2] Serial prompt timed out - … -
Still on the PC I am unable to use the CLI to set the WiFi credentials of my Photons (I have tried both of the ones I have). All I get is a screen full of “Obtaining device information…”
I know the Cores work, I have two that are up and running and connected to the WiFi, I’ve had Photon #1 connected to the Wifi at once stage and sending data but after using System.sleep() I’ve been unable to recover the Photo and get it back onto the WiFi. The core was also working until my dumb coding mistake.
Could you please help me get these back onto my WiFi! All I wanted to do was make a simple humidity meter, but currently I have 3 unusable devices.
Thanks,
Steve.