跳至主要内容

Data Sources

Subject to Change in WEDA v1.1.1

The Data Engine is expected to change in WEDA v1.1.1. This page describes the Data Source behavior available in the current release.

Data Engine Pipeline

Data Source → Data Object → Transfer Function (optional) → Output Data Object → Alert / Reports

Overview

A Data Source is the raw signal definition layer. It describes the device and the sensor channels that WEDA Node synchronizes to WEDA Core.

Data Sources are:

  • Read-only — cannot be created or modified via the Cloud API
  • Auto-synchronized — WEDA Node pushes the definitions to WEDA Core when the device connects
  • Not directly queryable by applications — a Data Source is automatically synced into a Data Object of the same name; applications read the Data Object, never the Data Source directly

The API returns one synchronized data-source definition for a device. Its config.sensors array contains the sensor channels exposed by that device, such as analog and digital I/O channels or system metrics.


Operations

OperationAPIDescription
Get Data SourceGET /api/v1/devices/{deviceId}/data-sourceGet the synchronized data-source definition for a device

GET /api/v1/devices/{deviceId}/data-source

Returns one object with type, deviceName, and config. The config.sensors array contains:

  • sensorId: The sensor definition ID.
  • name: The sensor name used to match the corresponding Data Object.
  • sensorSchema: The sensor's name, displayName, description, and schema.

Constraints

  • Data Source definitions are read-only — synchronized from the device, not manageable via Cloud API
  • Data Source definitions become available after WEDA Node reports and synchronizes the device capabilities with WEDA Core
  • The sensors exposed by a SubNode depend on its device definition

Last updated on Jul-16, 2026 | Version 1.1.0