Caution

This is the documentation for the current development branch of the CometVisu. It is possible that some of the described features are not yet available in the current release.

Also there might be lots of errors in this documentation as some parts of the content have been translated by an online translation service.

The WgPluginInfo widget

Author: Christian Mayer
Available since: 2012

Description

Adds an dynamic field to the visu that shows live information from a WireGate plugin.

Note: The service helper from https://raw.githubusercontent.com/OpenAutomationProject/Wiregate/master/tools/wg-plugindb/wg-plugindb.php must be “installed” in the directory /var/www/ (i.e. the web root)

Settings

For a general understanding of how the configuration files are structured and what elements and attributes are it is recommended to read this section first: Basics.

The behaviour and appearance of the WgPluginInfo widget can be influenced by using certain attributes and elements. The following tables show the allowed attributes and elements and their possible values. The screenshots show, how both can be edited in the editor.

Attributes underlined by ….. are mandatory, all the others are optional and be omitted.

Allowed attributes in the WgPluginInfo-element

../../../_images/en_config_widgets_wgplugininfo_index_editor_attributes.png

Attributes in the editor (simple view) [1]

Allowed child-elements and their attributes

../../../_images/en_config_widgets_wgplugininfo_index_editor_elements.png

Elements in the editor

Examples

It is possible to manually edit the visu_config.xml and add an entry for the WgPluginInfo widget.

Caution

Make sure that you only use UTF-8 encoded characters by settings the encoding in your XML-editor to UTF-8 mode!

Footnotes