Interface MqttNodeParameters

Source
interface MqttNodeParameters {
    message?: string;
    options?: { qos?: 0 | 1 | 2; retain?: boolean };
    sendInputData?: boolean;
    topic?: string;
}

Properties§

Source§

readonly message?: string

The message to publish

Source§

readonly options?: { qos?: 0 | 1 | 2; retain?: boolean }

Default: {}

Source§

readonly sendInputData?: boolean

Whether to send the data the node receives as JSON Default: true

Source§

readonly topic?: string

The topic to publish to