IoT Gateway

REST APIs for IoT Gateways: Control, Configuration, and Telemetry Access

March 30, 2022

How the OttO IoT gateway exposes sensor state through a Go REST API, why HTTP is the application boundary for dashboards and tools, and what to avoid when turning internal device data into public responses.

Adding MQTT to the IoT Gateway

March 29, 2022

How the OttO IoT gateway uses MQTT to receive telemetry from device stations, parse topic-based sensor identifiers, pass readings through Go channels, and protect the gateway from unbounded in-memory growth.

OttO: A Go-Based IoT Edge Gateway Architecture

January 13, 2022

OttO is a Go-based IoT edge gateway that connects sensor stations, MQTT messages, REST APIs, WebSocket dashboards, and application logic at the boundary between devices and backend systems.

Go timers to remove stale sensor stations

November 3, 2020

Older IoT gateway note showing how Go timers can track stale sensor stations, expire inactive devices, and keep gateway state from drifting.