Platform

From the board to the dashboard

An MQTT broker, durable ingestion, TimescaleDB history, live SSE, dashboards, commands, alerts and hourly billing — with a console on top. This page describes each part and what it guarantees.

Endpoint
MQTT/TLS :8883
MQTT 5 and 3.1.1, one topic per device
Data path
4 checkpoints
broker ack → stream → commit → live SSE
History
1–90 days
TimescaleDB, per organization
Dashboards
27 widgets
commands confirmed by the device report

Overview

Devices talk MQTT to the broker. Everything after the broker is ours to run: ingestion writes to a durable stream, a processor commits each event to the database, and the API serves history, live updates, dashboards and alerts to the console. Commands, setups and firmware updates travel back to the device over the same connection.

Connectivity

The endpoint is TLS only and uses a publicly trusted certificate, so a standard CA bundle is enough. Each credential belongs to exactly one device, and the broker enforces what it may do.

Host
mqtt.iotaps.com
Port
8883, TLS 1.2 or newer
Protocol
MQTT 5 or 3.1.1, QoS 0 or 1
Client ID
The device ID; anything else is refused
Username / password
Credential ID and its one-time secret
Publish
v1/{org}/{project}/{device}/telemetry and …/status
Subscribe
The device's own …/commands/+, …/config and …/ota
Credentials
Up to five active per device, for rotation without downtime

Ingestion

A message passes four checkpoints. We only claim durability from a checkpoint we can show in metrics.

  1. Broker-acknowledged

    The broker accepted the publish. Your device gets its PUBACK here.

  2. Platform-accepted

    The envelope is valid and fsynced to the stream. Only then is the broker delivery acknowledged.

  3. Persisted

    One transaction stores the event, latest state, presence, usage, and an outbox row.

  4. Processed

    Work after the commit, such as live updates and alert rules, reads the outbox.

Retries
Device ID plus message_id is deduplicated for seven days, so a redelivered or resent message is stored once.
Rejections
Invalid payloads get a stable reason code, such as invalid_json or payload_too_large, and are listed on the device page with the start of the payload. A message refused because the organization ran out of credit is recorded as balance_exhausted.
Dead letters
An event that passed validation but cannot be stored is set aside with its error for an operator to replay or discard. It is not dropped.

History

Telemetry is stored in TimescaleDB. Short ranges return raw points; longer ranges return server-side buckets with the average, minimum, and maximum, so a long chart is still one small response.

Raw points
Ranges up to 24 hours, at most 10,000 points
Aggregates
Ranges up to 90 days, min / avg / max per bucket
Latest state
Last value per metric, each with its own timestamp
Timestamps
Device time (sent_at) and receive time are both kept
Values
Numbers, booleans and texts
Retention
1 to 90 days, chosen per organization

Live updates

Open device pages and dashboards receive committed events over Server-Sent Events, on the same HTTPS connection as the rest of the app. The stream rechecks your access every few seconds, so removing a member also ends their live view. Presence follows the device's own status messages and the broker's last will, so a device shows as offline within seconds of dropping off.

GET /api/v1/organizations/…/devices/…/stream
event: telemetry
data: {"device_id":"01a10e7f…","metrics":{"temperature_c":23.4}}

: keepalive

event: telemetry
data: {"device_id":"01a10e7f…","metrics":{"temperature_c":23.5}}

Devices and firmware

Adding a device starts in the device library: pick a board, give the device a name and a project, and the wizard creates its credential and fills it, with your Wi-Fi, into the firmware or script.

Device library
Templates for ESP32 and NodeMCU ESP8266 boards, Raspberry Pi, and generic MQTT clients. Each has firmware options for the Arduino IDE, PlatformIO, MicroPython or Python, step-by-step setup guides, a pinout, and a dashboard preset. Organizations can also keep templates of their own.
Datastreams
A template declares the values a device reports or accepts: virtual pins V0–V255 or named keys, each with a type, range, unit, decimals, choices, and whether it can be written. Widgets bound to a datastream take its options.
IoTAPS Arduino library
For ESP32 and ESP8266: TLS, reconnects, presence, datastreams, commands, setup over USB and updates over the air in a few calls. The library templates are built on it.
Flash over USB
In Chrome or Edge on a desktop, the device page writes a ready-made firmware image to the board through Web Serial, then sends the Wi-Fi and a new credential over the serial port. Wi-Fi details stay in the browser.
Over-the-air updates
Boards running the current firmware download a new release over HTTPS from a short-lived signed link, check its size and SHA-256, restart, and report the result on the device page.
Pins and modules
On the NodeMCU ESP8266 firmware, the console sets what is wired to each pin: relays, LEDs, PWM and servos, buttons and digital sensors, DHT, DS18B20, ultrasonic distance, GPS, and analog inputs. The board stores the setup, restarts, and reports the I2C chips it finds.

Dashboards

A dashboard is a grid of widgets fed by live data. It belongs to the organization or to one project, and members see only the widgets on devices they can reach.

Show

  • Line and bar charts, SuperChart
  • Gauge, value display, digital readout
  • Thermometer, tank level, battery
  • Compass, signal bars, LED
  • State timeline, GPS map
  • Label, terminal, notifications

Control

  • Switch, button, slider
  • Setpoint, numeric input
  • RGB colour
  • Menu, segmented switch
  • Time input, joystick

Around them

  • Widget library with live previews
  • Colour zones and value maps
  • An alert per widget
  • Share to view or to control
  • Ready-made layouts per template

Commands

Control widgets send a command to the device over MQTT. The device applies it and reports the value back in its telemetry, and the widget shows the change once that report arrives. A command is kept on the broker for its key, so a device that reconnects picks up the last value; a button press is sent once and not kept. Every command is in the audit log.

v1/…/{device}/commands/relay
{ "schema_version": 1, "command_id": "…", "key": "relay",
  "value": true, "sent_at": "2026-10-15T09:12:03Z" }

Alerts

Alert rules run on every committed message and on a short sweep for silence. A rule covers an organization, a project, selected devices, or every device of one template.

Conditions
Above, below, between, outside, equal, or on/off for a metric, held for a set time; a device offline; no data for some minutes; a widget's limits.
Device events
Firmware update failed or finished, a problem with pins and modules, rejected payloads, credentials created or revoked, devices disabled or archived.
In the console
A bell with the inbox, alert pages per organization, project and device, and a ring on the widget that is firing. Incidents can be acknowledged.
Email and push
Each member chooses email, push and a lowest severity; a rule can remind while its alert keeps firing. Browser push works on desktop and Android, and on iOS from the home screen.
Webhooks
JSON signed with HMAC-SHA256, or messages formatted for Slack, Microsoft Teams, Google Chat, Discord, Mattermost, Rocket.Chat, Webex, Lark, Telegram, ntfy and Gotify. Failed deliveries are retried for about an hour.
Reports
A webhook can also send a report every day at the hour you choose: incidents, offline devices and messages for the last 24 hours or 7 days, for every project or only chosen ones, with PDF and Excel copies.
Recipients
Checked again at every notification, so someone who lost access stops hearing about the devices.

Teams and roles

Each organization is a separate tenant, and projects group its devices. A member either has an organization role, which covers every project, or access to selected projects only.

Permissions by organization role
ActionOwnerAdminDeveloperViewer
View devices, telemetry, dashboards, alerts, usageyesyesyesyes
Manage devices and credentials, send commandsyesyesyesno
Edit dashboards, alert rules and templatesyesyesyesno
Create and rename projectsyesyesnono
Invite members, manage teams and accessyesyes, not ownersnono
Webhooks and the audit logyesyesnono
Add credit and choose the history keptyesnonono
Transfer ownership, delete the organizationyesnonono
Project roles
For members with selected projects: viewer, operator (viewer plus commands), developer, project admin (also manages who reaches the project), or a custom set of permissions. Access can be limited to selected devices.
Teams
Give a group the same projects at once; a member's access adds up from their own grants and their teams.
End dates
Memberships, grants, team seats and dashboard shares can expire on a set day.
Effective access
Each member's page shows what they can reach, where it comes from, and the history of changes.

Operations

Usage
Persisted messages and bytes, suppressed duplicates, and rejected messages, per organization and project, per day, and what each hour cost. Owners get an email when credit runs low and when a monthly budget is reached.
Audit log
Who created a device, sent a command, revoked a credential, changed an alert rule, invited a member, or changed access, and when.
Service metrics
Accepted, persisted, and rejected counts, stream lag, and end-to-end latency for each pipeline stage. We watch these; they are not exposed to customers yet.

Security

TLS
MQTT on 8883 and the web on HTTPS, with certificates renewed automatically.
Device secrets
High-entropy, shown once, stored as hashes.
Broker ACLs
Deny by default. A device may publish its own telemetry and status and receive only its own commands, setup and updates.
Tenant isolation
API authorization on every request, plus row-level security in the database.
Second factor
Two-step sign-in with a passkey or an authenticator app, plus recovery codes; each person turns it on or off under Account → Security, and staff always use it. Sign in with email and password, Google, or GitHub.
Sessions
Server-side sessions in Secure, HttpOnly cookies, with CSRF protection. Every session can be seen and ended from the account's Security page.
Webhook secrets
URLs and signing secrets are stored encrypted; only the host name is shown back.
Service accounts
Separate database roles and network policies per service.

Found a problem? Email support@iotaps.com with “Security” in the subject.

Roadmap

No dates. Items move left when they ship.

Works today

  • MQTT over TLS, durable ingestion
  • History, aggregates, live view, presence
  • Device library and add-device wizard
  • USB flashing and over-the-air updates
  • Datastreams, pins and modules
  • Dashboards and commands
  • Alerts, email, push and webhooks
  • Project access, teams, custom roles
  • Hourly billing
  • White-label for Enterprise

Works today, continued

  • Android app sign-in and push
  • API keys for server-to-server access
  • Account types and personal wallets
  • College ID review for students

Later

  • CSV export
  • Fleet provisioning with claim codes
  • Client spaces for integrators
  • Device twins

Try it with your own devices

Pay by the hour for what runs. Eligible accounts get ₹200 of welcome credit once setup is complete.