Particle.publish Echo Relay

Instructions

This tool will let you relay a named Particle event between two or more accounts. When the event is triggered from one account, it will be echoed to the related accounts. To do this, you need to define an EVENT NAME that will be shared across Particle development boards on different user accounts. Then you need to give this tool access to subscribe to this event on your account, and publish events to your devices. To do this you'll need to find or create an ACCESS TOKEN.

  1. To add this, navigate to build.particle.io, click the settings icon and paste in your API key found there.

  2. Use the Particle CLI to generate an access token with the command particle token create

  3. Alternatively, you can use the Terminal window on Mac OSX, and customise this to get an access_token

    curl https://api.particle.io/oauth/token -u particle:particle -d grant_type=password -d "username=my@email.com" -d "password=SecretPassword"

This is a prototyping tool for testing paired device connections as part of Designing for the Internet of Things course at Carnegie Mellon.

Events:

Account Name Data Device Published At Relayed
Configure your account relay:

This should match the event name you have on your Particle device.

Add Particle Device