• AnyViz
  • Overview
    • Concept
    • System constellations
    • OEM Cloud Instance
    • VPN Cloud Access
    • Security
  • Use Cases
    • IIoT
    • Industry 4.0
    • Cloud HMI
    • Energy Management
    • Building Automation
    • Water supply
    • Machine to Machine (M2M)
    • Remote Monitoring
    • Energy Monitoring
    • Wastewater treatment
    • Smart Grid
  • Connectivity
    • Cloud Adapter
    • Getting started
    • IoT Gateway
  • FAQ
  • Features
enEN
deDE
AnyViz Portal
en
de
Portal

Now available: MQTT 5, Sparkplug and OPC UA Pub/Sub

1 year ago
Automation, New features
MQTT, Sparkplug B and OPC UA Pub/Sub

The widely used MQTT communication protocol has been supported by AnyViz for five years. In contrast to fieldbus protocols, it enables direct communication between the end device and the cloud. In the second half of the year, we upgraded the implementation to the latest version and added new functionality.

Payload encoding

The MQTT specification defines how topics are transmitted according to the publisher/subscriber model. What it doesn’t define at all is the encoding of the payload. AnyViz supports efficient encoding in binary format, the interpretation of strings and the deserialization of JSON objects. With Sparkplug and OPC-UA, there are now two more ways to transfer tags via the MQTT protocol.

Sparkplug B

Sparkplug B is an open standard from the Eclipse Foundation. It has addressed the problem that the payload is not specified in the MQTT protocol. With Sparkplug B, sensors and IIoT devices can transmit their metrics efficiently and standardized within the MQTT payload. The metrics are grouped by node and device and are available without further configuration. Writing values is also straightforward. There are currently two coding schemes. AnyViz supports the improved Sparkblug B coding scheme.

OPC UA Pub/Sub

As the OPC UA protocol is a classic client/server protocol, it is not suitable for communication to the cloud. This is solved by the Pub/Sub extension, which can be used to transfer data to the cloud via the MQTT protocol. So-called DataSetWriters must be defined for this. All variables of the DataSet are then available in the portal. AnyViz supports both JSON encoding and UADP encoding.

The new MQTT 5

Version 5 of the MQTT standard was also implemented in conjunction with the new MQTT functionality. It enables better understanding of failures with reason codes, lower data consumption by using topic aliases and improved extensibility. All features are now available with protocol versions 3.1, 3.1.1 and 5.0 to ensure maximum compatibility.

You can find further details on MQTT in the online help.

Previous Post
“Security first” with routers and gateways from INSYS icom
Next Post
SunSpec protocol for connecting inverters, meters and storage systems

Latest posts

  • AnyViz Universal Cloud Adapter 2.1: Now with Lua scripting for local logic and data preprocessing
  • Universal Cloud Adapter Version 2.0 Released
  • Efficient load management and monitoring of charging stations with OCPP
  • Direct integration of LoRaWAN sensors into the AnyViz Cloud
  • SunSpec protocol for connecting inverters, meters and storage systems

Archive

  • 2025 (2)
  • 2024 (3)
  • 2023 (2)
  • 2022 (5)
  • 2021 (5)
  • 2020 (1)
  • 2019 (1)
  • 2018 (3)
  • 2017 (1)

Categories

  • Automation (15)
  • IoT Gateway (5)
  • New features (10)
  • News (1)
  • Uncategorized (1)

Mirasoft Logo

© 2025 AnyViz
Made with by Mirasoft

AnyViz

Blog
References
Online Help
Changelog
Media
Legal Information
Privacy Statement
Terms

Topics

Getting started
Connectivity
Concept
System constellations
OEM Cloud Instance
VPN Cloud Access
Features
Security

Contact

+49 (0) 9351 9793 320

info@anyviz.io

X
YouTube
LinkedIn
Xing
RSS