SubNode
Overview
SubNode is an open-source edge SDK that lets you connect custom sensors and sub-systems to WEDA without writing cloud-side integration code. A SubNode application runs on the edge gateway as a container managed by WEDA Node, and all its sensor data automatically flows into the WEDA Data Engine.
SubNode handles the physical protocol, applies transforms and DSP filters if configured, then publishes telemetry to the local WEDA Node. WEDA Node forwards it to WEDA Core over the same secure channel used by all managed devices — no direct internet connection from the SubNode is required.
Supported Protocols
| Protocol | Typical Use |
|---|---|
| Modbus TCP / RTU | PLCs, drives, industrial meters |
| MQTT | Smart sensors, third-party IoT gateways |
| HTTP / REST | Cameras, environmental monitors, lab equipment |
| SNMP | Network infrastructure (switches, UPS) |
Each physical sensor is declared as a sensor entry in the SubNode configuration. The SDK auto-generates DTDL telemetry definitions from the sensor list.
How SubNode Data Appears in WEDA Cloud
A SubNode application registers itself as a device in WEDA. Each configured sensor
auto-syncs into a DataStream on that device (dataSource.type: WedaSubNode). Data then flows
through the standard Data Engine pipeline:
SubNode sensors are indistinguishable from native WEDA Node sensors once the data reaches WEDA Core. Alert Policies, Data Stream Bridge bindings, and Reports all reference the SubNode device's DataStreams.