beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
MqttSend
Ops.Net.Mqtt.MqttSend_v2
Namespace: Ops.Net.Mqtt
Sends a MQTT-message

summary (oneliner)

Needs to be connected to the Mqtt-op, where you have to input the server, username and password.
See mqtt.org.

doc

issues

youtube id

collections

related ops

Inputs

MQTT Object (Object)

Internally used in cables for inter-op-communication


Message (Number)

The message you want to send, can be something like123, 123.45, 123,124,125 or Hello World


Channel (String)

The channel you want to send the data to, should begin with a forward slash, e.g. /test or /sensordata/orientation/x


Send (Trigger)

Sends the MQTT message


Outputs

MQTT Object - Out (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
MQTT Send and Receive Example:

Sends a random value via MQTT to the public MQTT-broker shiftr.io and in the same time listens for changes on that channel /cablestest. MQTT is a great lightweight protocol to send values from one device to another, e.g. you could connect your Arduino with a cables-patch.
If you visit shiftr.io/try#terminal you can view the information being sent.



Credits


Examples using MqttSend_v2

Public Patches using MqttSend_v2