Datonis Edge 5.6 Release Notes
MQTT Adapter
A full-fledged MQTT broker has been added as part of the new MQTT Adapter. The Adapter starts the MQTT broker that listens on default secure (8883) and non secure (1883) port. The broker supports optional user name and password authentication. The Adapter can be configured to subscribe various topics of the interpreted broker. The tags can be mapped to one or more subscribed topics. Optional javascript to parse the received messages is available as part of the connection and tag configuration. There is write back support that allows to publish messages on the broker as well.
Push Script Adapter Enhancements
Added 'alerter_val' context variable to send alerts to Datonis. Added 'writer_val' to send instructions locally to other adapter, it helps to achieve use cases like sending heartbeats to PLC/HMI or publishing messages on MQTT broker. Added new 'error(string, error)' method to 'sender_val' context variable that helps reporting Push Script adapter errors as Datonis alerts, it will help during test and production phase of the script.