Sparkplug Plug-in
!
Sparkplug Settings
| Name | Assign a unique name to the Sparkplug connection. | |
| Variant | Select the variant Sparkplug A or Sparkplug B. | |
| Profile | Specify the profile of the Sparkplug connection to be used to log in to the Sparkplug broker. | |
| Group ID (only for profile: Node) | Assign a freely selectable unique Group ID to be used as the default | |
| Node ID (only for profile: Node) | Assign a freely selectable unique Node ID to be used as the default. | |
| Application Identifier (only for profile: Application) | Assign a freely selectable unique application identifier to be used as the default. | |
| Keep alive (s) | Specify the keep alive in seconds |

MQTT connection
| Broker connection | Enter the address of the broker. | |
| Port | Port on the server used for the MQTT connection. | |
| SSL | Uses SSL encryption. The server must support this, and the corresponding port must be set. | |
| Client ID | Enter a unique client ID. | |
| Create new client ID | Generates a new unique client ID, which is displayed in the Client ID field. | |
| SSL protocols | Select the algorithms that may be used. Note: Some Mqtt brokers reject connections if outdated protocols are used. | |
| Username | Username for logging in to the server. | |
| Pass | Password for logging in to the server. | |
| Certificate | Select a client certificate from the drop-down list, which the OPC Router sends along with the message. | |
| Trusted certificates | Select which certificates should be accepted. For example, all certificates, only Windows certificates, or only router certificates. |
Sparkplug Options
| Property | Description |
|---|---|
| Publish known device metrics on reconnect | Determines whether metrics from known devices are published when reconnecting. |
| Add Session Number to Data Messages | Determines whether the current session number is added to data messages. |
| Add Session Number to Device Birth and Death | Adds the current session number to messages for device birth and death. |
Metric Storage Options
| Property | Description |
|---|---|
| Null Handling | This option is only active if the "Filter" option has been activated under "Default Change of Value Behavior." The following options are available:
|
| Datetime divisor in milliseconds | Used to round the timestamp when filtering by value and timestamp. |
| Default change of value behavior | Defines the default behavior when the value changes. The following options are available:
|