Until now I have had a CORE unit working and testing. It was set up and connected with an android wifi setup.
I have just had trouble setting up a new photon, so I went through the instructions on the github release page:
The local EASY method using Particle CLI If you have the Particle CLI installed already, you can update it and then update your device with the following combined command. Make sure the device is in DFU mode and run: sudo npm update -g particle-cli && particle update (note: you can try without sudo first if you wish)
Of course nothing works as expected because I read a lot of other places that say not to set up node and npm using sudo.
So I went through the manual process of installing dfu-util 0.8.1
downloaded the photon1.bin photon2.bin, and
https://s3.amazonaws.com/spark-website/cloud_public.der (which i just found randomly in this forum, who knows if I was suppose to actually flash that)
The flashing all seemed to go ok. It is still booting up into listening mode since it has not received wifi credentials yet.
After the particle cli update, setup does not seem to be trying properly:
particle setup ... ? 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.
Both of those conditions are true. But the program just exits here with no error message.
Before updating the particle cli, I tried to connect the photon with the android app, as well as "particle setup"
It would give me serial errors, so I had to use
sudo chmod a+rw /dev/ttyACM0
Then it would give me an error about not getting the MAC from the device, which is when I updated the firmware manually.
Does particle setup require more root privileges than access to the serial port?