Documentation
Step-by-step user guide and REST API reference for OpenSensorCloud.
User guide
Each page follows one use case, step by step, with the application screens.
- Create an account and an organizationSign up, create your first organization and find it in the sidebar. Everything you create afterwards (devices, dashboards, alerts) belongs to an organization.
- Add a device and send a first measurementCreate a device, get its token, send a measurement over HTTP with curl and then over MQTT with mosquitto_pub, and watch incoming messages live.
- Profiles and decodersDescribe a sensor type once: its channels with label, unit and range, its timestamp field and, for binary payloads, its JavaScript decoder. All devices of that type benefit from it.
- Create a dashboard and its widgetsArrange charts, values, gauges, lists, status grids and maps on a grid, create a dashboard reusable for many identical devices with the $device variable, and share it through a public link.
- AlertsGet notified by email or webhook when a value crosses a threshold, goes out of range, takes a given value, or when a sensor goes silent. Receive reminders as long as nobody handles it, and acknowledge the alert.
- MQTT for existing equipmentConnect equipment that imposes its own MQTT topics (Tasmota, Shelly, Zigbee2MQTT, industrial controllers) without reprogramming it: custom topics, topic templates that create units automatically, and a bridge from an existing broker.
- LoRaWAN and SigfoxReceive uplinks from your LoRaWAN sensors through The Things Stack (TTN) or ChirpStack, and from your Sigfox devices through the Sigfox backend, with automatic device creation, a HidnSeek decoder and network location.
- Members, roles and organizationInvite members with the right role, rename the organization, track its data volume, set the retention period, and find out who changed what in the audit log.
- Device location and mapPlace your devices on a map: position entered by hand, GPS position sent by a tracker, or Sigfox network location, then show them in a map widget colored by their status or their measurements.
- ZonesDraw the places that matter to your organization once (a depot, a site, a customer, an area your trackers must not enter), then show them on your dashboard maps.
- The AI assistantAsk questions about your organization's data in plain language, get charts, have a device or an alert rule created after you confirm, and generate decoders, rules and dashboards that you review before applying them.
API
Reference of the REST, ingestion and integration endpoints, with JSON examples.
- API overviewBase URLs, authentication (session cookie for the web UI, personal tokens for scripts, device tokens for ingestion), roles, error format, dates and pagination conventions shared by every endpoint.
- Auth & organizationsSign-up, sign-in and session; organizations, their settings, data statistics and deletion; members, roles, invitations and the audit log.
- Devices & tokensCreate, list, update and delete devices; issue and regenerate their ingestion token; set their profile, network identifiers, MQTT topics, position and attributes; configure an on-site gateway.
- TelemetryRead a channel's measurements over a period (raw or aggregated automatically), export a device's data as CSV, read organization statistics, and follow a device in real time over WebSocket.
- DashboardsCreate and save dashboards with their widgets, declare the $device variable, read the data a dashboard displays, and share it through a public read-only link.
- AlertsAlert rules (thresholds, ranges, equality, transitions, silence, debounce, reminders; on a device or a device selector), alert events and their acknowledgement, notification channels (email, signed webhook) and the webhook payload.
- Profiles & decodersDevice profiles (declared channels, timestamp field, position options, MQTT topic template), the decoder template library and the decoder test endpoint.
- ZonesGeographic zones of an organization (polygons and circles): drawn once, shown by map widgets and used for geofencing.
- IntegrationsNetwork integrations: create TTN, ChirpStack and Sigfox integrations, then receive their webhooks and callbacks, including the legacy HidnSeek routes.
- IngestionSend measurements over HTTP (JSON, batches, gzip, binary) or MQTT (topics, authentication, QoS, custom topics), and let an on-site gateway download its configuration.
- AdminInstance administrator endpoints: list every account and organization with their size and usage, override an organization's daily message quota and enable the AI assistant for an organization.
- AI assistantThe "Ask my data" assistant over HTTP: status and quota, questions answered as a stream of NDJSON events, stored conversations, confirmation of the actions it proposes, and decoder, rule and dashboard proposals.
- MCP serverLet an AI assistant (Claude Desktop, Claude Code or any Model Context Protocol client) read your organizations, devices, measurements, alerts and dashboards, with the permissions of a personal API token.