Zetta exposes the IoT devices as an API

Zetta is an API-first platform for the Internet of Things (IoT).In this post, we take look at the key features, quick start.

Key Features :

  • Open source – Zetta is an open-source Node.js based platform for the internet of things. It’s a complete toolkit for generating HTTP APIs for devices.
  • Elegant – Using JavaScript, Zetta developers express devices as state machines using an elegant and expressive syntax. Zetta is a completely Node.js based framework that is cross-platform, and easily deployable to multiple cloud services.
  • API driven – Zetta generates a consistent Hypermedia HTTP API for devices modeled in JavaScript. Our HTTP APIs are expressed using the Siren specification.
  • Real-time – Zetta exposes WebSocket endpoints to stream real-time events out of the Zetta system. This paradigm of merging Hypermedia with websocket streaming is also known as Reactive Hypermedia.
  • Protocol agnostic – Zetta can support almost all device protocols, and mediate them to HTTP.
  • Persistent connections – Zetta can create persistent connections between servers to expose APIs in new and unique ways. You can peer a Zetta server in your home with a server in the cloud, and allow for access to devices on the open internet.
  • App creation – Zetta allows you to write stateless applications that live in the server itself. You can query for devices, and wire up interactions between them in these applications. The apps run consistently whether or not your hub has internet connectivity.
  • Query and notification – Zetta has a robust query system that allows you to not only search for devices but also subscribe to websockets to be notified when new devices come online that fulfill the query. The queries have a SQL-like syntax that makes it easy to wrangle devices in the API, and Zetta itself.
  • Consistent interfaces – Built from the ground up, Zetta solves specific problems around generating consistent interfaces for devices.

Typical Zetta deployment :

  1. One Zetta server runs on a hardware hub. This hub is typically something like a BeagleBone Black, Intel Edison, or Raspberry Pi. The Zetta hub connects to devices. Zetta mediates from HTTP to the particular protocols used in a deployment.
  1. Another Zetta server runs in the Cloud. This server uses the exact same Node.js packages as Zetta running on the hub. The Zetta server on the hardware hub connects to the server in the Cloud.
  1. Zetta then exposes an API at the Cloud endpoint for developers to consume.

Check out Quick Start here: https://github.com/zettajs/zetta/wiki/Quick-Start

Documentation: https://github.com/zettajs/zetta/wiki

Check out some of the notable open source projects in IoT arena!

Like this post? Don’t forget to share it!

Additional Resources :

Zetta exposes the IoT devices as an API
Article Name
Zetta exposes the IoT devices as an API
Zetta is an open source Node.js based platform for the internet of things. It's a complete toolkit for generating HTTP APIs for devices.
Publisher Name
Publisher Logo

Average Rating

5 Star
4 Star
3 Star
2 Star
1 Star

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous post Serverless tutorial – Invoke Azure functions using HTTP Trigger
Next post Serverless tutorial – On HTTP trigger store data in Azure Cosmos DB