Standardized format for node parameter updates from any subscription channel. All subscription channels must transform their data into this format.

interface ESPNodeUpdateData {
    eventType: string;
    metadata?: Record<string, any>;
    nodeId: string;
    payload: Record<string, any>;
    source: string;
}

Properties

eventType: string

Type of event (e.g., "rmneo.event.node_params_changed")

metadata?: Record<string, any>

Optional metadata specific to the channel Examples:

  • MQTT: { topic: "...", shadowName: "params-groupId", qos: 1 }
  • Matter: { endpointId: 1, clusterId: 6, attributeId: 0 }
nodeId: string

ID of the node that was updated

payload: Record<string, any>

The actual parameter data Format: { : { : value } }

source: string

Source channel that provided this update (e.g., "mqtt", "matter", "ble")