Back to all

Sparkplug Encode/Decode

Use Streamsheets to decode and encode Sparkplug messages.

Sparkplug is an open-source specification hosted at the Eclipse Foundation that provides MQTT clients the framework to seamlessly integrate data from their applications, sensors, devices, and gateways within the MQTT Infrastructure.

This template shows how to en- and decode sparkplug messages in Streamsheets and how you can use an MQTT connection for sending them. The first sheet sets up an MQTT subscription, encodes a payload to Sparkplug and sends it via MQTT. The second sheet receives the Sparkpluf encoded MQTT message and decodes it.

How it works:

  • Make sure your MQTT connection is connected to a broker.
  • Start the App.
Newsletters icon

Subscribe for monthly updates