OxinionDeveloper
oxinion.iot.gateway

Bridge your hardware to the cloud.

Gateway is the protocol translation layer that connects MQTT, HTTP, and WebSocket device traffic to the Oxinion event pipeline — without rewriting firmware or managing brokers.

Stable
Generally Available

Simple by design

Gateway is the protocol translation layer that connects MQTT, HTTP, and WebSocket device traffic to the Oxinion event pipeline — without rewriting firmware or managing brokers.

  • 01Connect MQTT topics directly to the Oxinion event bus
  • 02Transform raw device payloads before dispatch
  • 03HTTP endpoints for REST-capable hardware
Full API reference
TypeScript
1import { createOxinion } from 'oxinion';
2
3const oxinion = createOxinion({ accessToken });
4
5// Configure an MQTT bridge for a device group
6const bridge = await oxinion.iot.gateway.mqtt.create({
7 topic: "devices/+/location",
8 deviceGroup: "storefront_beacons",
9 transform: (payload) => ({
10 type: "location_update",
11 deviceId: payload.device_id,
12 lat: payload.gps.lat,
13 lng: payload.gps.lng,
14 }),
15});
16
17// Or ingest via HTTP endpoint
18const endpoint = await oxinion.iot.gateway.http.create({
19 path: "/ingest/beacon",
20 auth: "device_token",
21 forwardAs: "beacon_ping",
22});
23
24console.log(endpoint.url); // https://gateway.oxinion.com/ingest/beacon

Any protocol. One pipeline. No broker required.

Connect MQTT and HTTP devices to Oxinion in minutes. Gateway handles translation, authentication, and fan-out automatically.