Zetta exposes the IoT devices as an API

Zetta is an API-first platform for the Internet of Things (IoT).

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.
Zetta – Architecture

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 connets to the server in the Cloud.
  1. Zetta then exposes an API at the Cloud endpoint for developers to consume.

 

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

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

Summary
Article Name
Zetta exposes the IoT devices as an API
Description
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.
Author
Publisher Name
upnxtblog