Skip to content
anthonyrowe edited this page Oct 29, 2017 · 8 revisions

Devices are sensors or actuators that you want to connect to OpenChirp. Most of OpenChirp was designed around connecting LP-WAN devices, but it is also possible to create any sort of IP connected device that can communicate using either REST or MQTT. When you create a device, you need to define a set of attributes like properties, transducers, commands and services within the OpenChirp framework that help you link raw values with actual human readable sensor streams.

When a create a device, OpenChirp gives you an MQTT Endpoint that can be used to address your device. The endpoint also contains your DeviceID which is the last numerical part of the endpoint and often used as a user name for your device when connecting. You can also generate at Device Token that is used as the corresponding password for your device.

Here are some common devices that work with OpenChirp:

Create an OpenChirp Device

  1. Log into OpenChirp using your Google ID

  2. Click on your user name in the upper right corner

  3. Click on "My Devices"

  4. Click on "New Device" to create a new device instance

  5. Type in a name ("coffee machine") for your device and click "Add Device"

  6. The OpenChirp Portal create a device with the following MQTT End-Point.

Generate Device Token

  1. Navigate to the Security tab

  2. Click Generate in the Device Token menu. It will then present to you your device token.

  3. Once generated, the token cannot be retrieved again.

Remember that your Device's "user name" when connecting is the DeviceID that can be found as part of your endpoint:

Device ID