Developers / Docs / IoX

IoX APIs

The most important concept in IoX Plugin (Node Server) API is the concept of a node. So, let's get started

What Is a Node?

A node represents all, or a subset of, a physical device such as lamp, switch, keypad, smoke detector, etc., or a conceptual device such as weather information or even stock quotes.

A node definition (below) is used to describe a node. It contains the list of status values it maintains (e.g. the current temperature, heat/cool setpoints for a thermostat), the list of commands it accepts (e.g. on/off for a dimmer lamp), and a list of the commands it may send out (e.g. on/off for a dimmer switch).

A plugin simply defines the set of nodes its supports, and provides the REST services to support them. Next up, we'll take a look at how we define nodes.