Examples

Last modified: Jul 5, 2019 @ 06:45

Example 1: Twitter Gateway

This example shows how to:

  • Use a registered smart object as a twitter account.
  • Handle read and write request for a resource from DDM.
  • Retrieve information from setting categories to parameterize twitter calls.

Links to example:

https://github.com/ApplicationPlatformForIoT/TwitterGateway

https://github.com/ApplicationPlatformForIoT/TwitterGateway/wiki

Example 2: Open Weather Map

This example shows how to:

  • Use a custom device registry implementing a couch db.
  • Poll a REST API.

Link to example:

https://github.com/ApplicationPlatformForIoT/owm-2.0

Example 3: MQTT

This example shows how to connect an MQTT client to DDM through a Gateway and a Mosquitto server.

Link to example:

https://github.com/ApplicationPlatformForIoT/mqttgw