Commands And Events

The MQTTClientBee module has the following Commands and Events:

Events

NameDescriptionEvent Type
ExternalItemsTimer event for handling of external items. By default, the command 'HandleExternalItems' is connected to this event, but that can be modified by user. The timer resolution is specified by the 'ExchangeRate' property.Timer
HandleExternalItems_DataPushEvent fired when an external items update iteration has been handled. Ie. one per command 'HandleExternalItems', one or more per command 'HandleExternalItems_DataPush'.Normal
DataChangedVQTs are updated (only for VQT 2 messages).Normal
OneMessageDecodedA message (containing one or more VQTs) has been decoded.Normal

Commands

NameDescriptionCommand Type
HandleExternalItemsCommand for reading external items. When fired, the module will read all its external items, and update/notify the ones that has changed.Synchronous
HandleExternalItems_DataPushCommand for updating external items from the item data pushed as input parameter to the command, ie. fired by ApisOpcUaBee event 'ServerDataChanged_DataPush'. When fired, the module will update any external items part of the data, and update/notify the ones that has changed.Synchronous
UpdateItemTimestampCommand used for updating the value of the item specified in the 'TimeReferenceItem' property, when configured.Synchronous

See also Commands And Events