Profile Editor User Guide

Once you are set up for development, you are ready to begin working on your project. Each project developed to run within the Afero ecosystem is unique. You might rely solely on Afero Secure Radio (ASR) for processing and control, or you might require hardware and software development for an in-product MCU that works with ASR.

Whatever your goals, you will start by creating a project using the Afero Profile Editor. This chapter steps you through everything you need to know to get started:

But first, read the next few sections to get an introduction to device profiles and the Afero Profile Editor.

The Device Profile

All projects require the definition of the communication interface between the Afero Platform and the device. That communication interface contains three parts:

  • Device Type Definition - The device name and description.

  • Device Attribute Definition - A set of attributes whose values describe and control the state of your device. Attributes are specified in terms of function, data type, and read/write accessibility. For example, a thermostat would likely have the current room temperature as an attribute. Getting and setting attributes via the Afero Cloud is the heart of communication between the end-user and your device.

  • Mobile App UI Definition - Together with the communication interface, every project specifies a user interface. After defining an attribute and giving it meaning, you must assign the attribute a standard presentation, which describes how it is represented to the end-user on the screen of the .

We refer to these combined definitions as the Device Profile, or simply the Profile.

At any time during development, it’s possible to check your project into a revision control system, share it, or import it for use as a template for another project.

About the Profile Editor

The tool you will use to define your Device Profiles is the Afero Profile Editor. The Profile Editor is available to all Afero partner-developers and can be downloaded for either Windows or macOS. For system requirements, go to the Electron Supported Platforms page.

Chrome app users: If you were previously using the Afero Profile Editor Chrome app, remove the Chrome app by going to chrome://extensions/ in your browser, finding the Afero Profile Editor entry, then clicking the Trash icon to the right.


The Profile Editor takes care of the following:

  • Declaration of a Device Type to the Afero Cloud.
  • Specification of the communication interface between a Device Type and the Afero ecosystem.
  • Definition of a set of standard UI elements that will be rendered in a mobile app UI to display Device Status and provide Device Control to the end-user.
  • Publication of the above information to the Afero Cloud.
  • Over-The-Air (OTA) installation of the Device Profile to the ASR you are programming – whether that’s a Modulo development board or an ASR installed in your product. (By the way, the examples we use in this document will assume we’re working with a Modulo; the operations are the same for any device.)
  • Automatic generation of a project-specific header file that you’ll use with the afLib for Arduino API, for projects that involve programming an in-product MCU.

Project Structure

An Afero project is similar to any development environment project; essentially, it’s a container for source files, some image files, output files, and a manifest that holds it all together.

Project files are complete and saved locally. This has a few practical implications:

  • No active network connection is required during project development.

  • Use your preferred source control system. Since all files are stored locally and the files comprising a project are all common types (text, image), your projects require no special treatment when used with a source control system. You are encouraged to use your preferred source control system to manage changes within your projects.

  • You can freely copy and share projects. Thanks to the simple structure of a Profile Editor project, you can freely duplicate projects, share them, or import one as a template to start another.

  • To delete a project, simply delete the project directory through your file system.

Avoid making edits directly on project files with tools other than the Afero Profile Editor. If you do, normal consistency checks and validation are bypassed, which could cause unexpected results.