IoT device firmware development guideline?

Hi,

If you want your device to establish a connection to OpenRemote then like the IBM IoT example you posted then MQTT is the way to go, there’s details here:

We’ll be updating these pages the next few days as they are a bit too cryptic and difficult to follow at the moment. Some simple steps:

  1. Create an instance of the ClientEventProtocol (this behind the scenes generates an OAuth client to allow you to programmatically authenticate with OpenRemote).
  2. Add an asset to the manager using the UI either using one of the existing asset types or creating a Thing and customising the attributes that it would have
  3. For each attribute that you want to access via MQTT you need to add a configuration item called Agent Link where the value should be as follows with the correct asset id inserted into the json:
{
  "id": "ASSET_ID_OF_CLIENT_EVENT_AGENT"
}

You’ll then hopefully be able to follow the MQTT guide.

1 Like