Hardware API let you control devices through obniz Cloud by using API.
- Websocket - Bi-directional communication.
- REST API - API to device one direction
API is common json formats. All things obniz device can do can be controlled from obniz Hardware API from IO on/off to UART/SPI/BLE. Especially Websocket API let you control hardware from HTML bi-directionally.
SDK
We provide SDKs
- obniz.js
SDK for JavaScript using Websocket API. Works on Browser/Node.js.
Github: https://github.com/obniz/obniz - obniz.py
SDK for Python using Websocket API. - obniz-node-red
Node-RED experimental SDK.
JSON Format
See all commands.