Meet obniz

Hardware on Cloud

REST/WebSocket API for obniz on the cloud.

WebSocket API

Connect to an obniz somewhere in the world just by providing obniz id. Every command is exchanged in json.

WebSocket wss://obniz.io/obniz/{obniz_id}/ws/1

Json example

{
  io0: true,
  pwm0: {
    io: 1,
    freq: 1000,
    pulse: 0.5
  } 
}

REST API

Control everything by posting a json to cloud REST API. It's the same for json format on WebSocket.

POST https://obniz.io/obniz/{obniz_id}/api/1