MqttSend_v2 Op

MqttSend

This op is deprecated!

It will not receive any updates

Sends a MQTT-message


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


Full Name
  • Ops.Extension.Deprecated.MqttSend_v2
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by TeamJavascript Libraries


Example Patch 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.

Open In Editor

INPUT PORTS


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

OUTPUT PORTS


MQTT Object - Out (Object)

Patches using MqttSend_v2

  • Examples
  • Public
  • My Patches

Changelog


Ops.Net.Mqtt.MqttSend_v2 renamed to Ops.Deprecated.Net.Mqtt.MqttSend_v2user avatarpandur - 2022-12-14 09:03