Skip to content

Instantly share code, notes, and snippets.

@BretStateham
Created February 24, 2018 18:48
Show Gist options
  • Select an option

  • Save BretStateham/34931d4175b2cb8c364f8b46771ad85f to your computer and use it in GitHub Desktop.

Select an option

Save BretStateham/34931d4175b2cb8c364f8b46771ad85f to your computer and use it in GitHub Desktop.

Create a particle account at: https://login.particle.io/

Install the particle CLI

npm install -g particle-cli

Login to the CLI using the account you created above:

particle login

Connect your photon to your computer, the find what port it's connected to with:

particle serial list

Get photon's unique id with the following command, and copy the id to your clipboard:

particle serial identify

Configure the WiFi connection for the Photon to the MIT network (not MIT GUEST or MIT SECURE) with:

particle serial wifi
  Scan? n
  SSID? MIT
  Security? Unsecured

The particle should reset and connect to the wifi. You'll see it flash green for a bit, then connect to the WiFi and start "breathing cyan" which means it slowly fades in and out of a light blue (cyan) color. If it doesn't connect to the WiFi there may be an issue with the firmware on the board. You can come see (Bret) at the Microsoft Table in Lobdell. I'm trying to get setup to re-flash firmware.

When that is done, "claim" your device with, replace <id> with the id you copyied up above:

particle device add <id>

Give your device a new name with, replacing <id> with the id form above, and <newname> with the name (keep it simple) for your photon:

particle device rename <id> <newname>

For info on setting up the ability to run particle update yourself, checkout these two links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment