![W&T Web-IO Digital 4.0 Manual Download Page 35](http://html1.mh-extra.com/html/wandt/web-io-digital-4-0/web-io-digital-4-0_manual_3084699035.webp)
35
Integration in bestehende Systeme
you determine in which state the output is to be switched or whether the state is to
change.
Example:
A device writes the keyword ON as a topic in the path
wut/webio123/set0
of the
broker specified in the Web IO. This path and topic are specified as an initiator under
MQTT subscribe for the Web IO. As action the switching of the output to ON is
determined.
The output is switched on each time ON is written. A second action can be used to
determine how the output is to be switched off again.
The Web-IO as MQTT gateway
The flexible options offered by the Web-IO for configuring actions also allow the
sending of e-mails, SNMP traps or messages via other communication channels,
depending on the content of certain topics. More about this in the chapter
Actions
.
MQTT with W & T standard topics
For a quick integration without much configuration effort, the Web-IO offers the pos-
sibility to use predefined topics from W & T.
In order to work with W & T standard topics, MQTT must always be activated and
configured under Communication paths >> MQTT. In addition, the Publish and Sub-
scribe item must be enabled with W & T default topics.
In addition, you can select which IO states the Web-IO should publish to the con-
figured broker and whether the switching of the outputs should be allowed by sub-
scribe.
Structure of the standard topics
The structure of the topic path always follows the same pattern and consists of:
<Device name>/<get or set>/<function>/<IO-number>
The device name is in factory defaults :
wut-<last 6 digits of the MAC address>
The function direction is get (for publishing changes to input, output or counter) and