Skip to content

Event: When a message is received to topic () with () with: length, payload

Jaume Olivé Petrus edited this page Oct 30, 2017 · 2 revisions

This block is a MQTT block and an Event block that is activated when a MQTT message is published to a specified topic. When the block is activated its script is executed. Before using this block you must configure MQTT.

When this block is activated 2 Reporter blocks are available to obtain the message payload and it's length. To create this blocks, right-click over the shape and select one of the Created options in the contextual menu:

Shape

Clone this wiki locally