Skip to content

Introduction to Zerynth Device Manager

As developers and IoT product designers, we can't neglect the effort needed to deploy, manage and protect our devices for the entire duration of their life cycles.

For this often daunting task, Zerynth developed the Zerynth Device Manager. It is a device management service that speeds up the development of scalable, secure and reliable IoT solutions.

In particular, it takes care of the following:

  • Provisioning: associate device certificates securely stored in a top-notch crypto element with your Zerynth Device Manager account in just a click. No more cumbersome and insecure credentials generation that hinders security and slows down mass deployments.
  • Connectivity: transfer data to the Zerynth Device Manager with state of the art two-way authenticated and encrypted TLS connections.
  • Life Cycle Management: perform complex orchestration tasks by sending jobs and over-the-air updates to your fleets; from an easy to use GUI or programmatically via CLI or REST APIs.
  • Data Availability: avoid losing precious data by temporarily queueing them on the Zerynth Device Manager when your data sinks are down.
  • Integrations: forward data via convenient webhooks or API to your final IoT application or even better to the Zerynth Storage and Zerynth Dashboard services

Zerynth Device Manager can be adapted to all kinds of deployments, being available as a SaaS hosted by Zerynth or as an on-premises containerized application.

Zerynth Device Manager is based on the following key concepts:

  • A Device is the cloud representation of the physical IoT device. A Zerynth Device Manager device is associated to a physical device during provisioning. An action performed over a Zerynth Device Manager device (i.e. sending an update or a new configuration) is always reflected and communicated to the physical device.
  • A Workspace is an entity that groups together all the devices belonging to a single project. Zerynth Device Manager accounts can have multiple independent workspaces, one for each project.
  • A Fleet is a group of devices belonging to a Workspace. You can use fleets to group devices with similar features and applications. Fleets allow sending bulk device commands, OTA updates and jobs.
  • An Integration is an interface between the Zerynth Device Manager and other internal or external services like the Zerynth Storage or your IoT application backend. Integrations are used to forward data and events out of the Zerynth Device Manager.

Devices send data, events and receive requests from the Zerynth Device Manager. In particular:

  • A Tag is a data label used for querying data. Each device can publish its data under multiple Tags and the Zerynth Device Manager will take care of dispatching them to integrations accordingly.
  • A Condition is an event on steroids. Conditions can be opened, updated and closed by devices to notify specific status change (e.i. Battery status). Conditions can be monitored in real-time using the Zerynth Device Manager web interface or via API.
  • A Job is a command sent to a device. Jobs map to firmware functions like reset, diagnostics, control, update firmware, etc...

Zerynth Device Manager can be easily accessed via at https://zdm.zerynth.com or, for more advanced usages, via command Line or APIs.

Developing IoT Applications with the Zerynth Device Manager

Developing an IoT application with the Zerynth Device Manager requires a place for storing data. This requirement can have very different implementations depending on the format of data, its frequency, volume and query type:

  • a SQL/NoSQL database
  • a Kafka cluster
  • a time series database like InfluxDB or OpenTSDB
  • a third party distributed database (AWS DynamoDB or Azure Cosmo DB)

Whatever the database, you will need to take care of receiving data from the Zerynth Device Manager and inserting into the database. Let's see how this step can be implemented.

The Azure way

The Zerynth Device Manager natively integrates with Azure IoT Hub. It's easy to connect the two: just create an Azure integration wih the correct credentials for your account and the Zerynth Device Manager will start creating devices on Azure and sending their data to the IoT Hub.

Once your data is in Azure, you can easily insert in in whatever database, like CosmoDB via an Azure Automation.

For Jobs and Fota, you can still use the Zerynth Device Manager from the web app, or even better via API.

The On Premise way

If you don't want to be locked in by a third party cloud or you already have a containerized application, the easiest way to integrate with the Zerynth Device Manager is exposing an endpoint for data ingestion.

Just create a webhook integration from the Zerynth Device Manager web app and point it to the http address of your endpoint. The integration will keep sending data to your endpoint where a service running on your servers will receive them and be responsible for database insertion.

It seems a lot of work but we have you covered: from here you can checkout a demo repository with all the components already in place!

The SaaS way

Managing a database can be difficult but we have you covered. By integrating the Zerynth Device Manager with Zerynth Storage you don't need to worry about keeping the database online: we manage it for you and we also give you database independent API to access your data from any service.