36
Integration in bestehende Systeme
set for switching an output or deleting a counter.
Possible functions are
input, counter
or
output
Via the IO number, starting at 0, the IO is specified.
Publish IO states
Example of the pulse of a state change at input 1:
wut-0a4711/get/input/1
Depending on the state, the payload will be
ON
or
OFF
.
Switching Outputs via Subscribe
Example for setting Output 5 using Subscribe:
wut-0a4711/set/output/5
Payload can be
ON, OFF
or
TOGGLE
to change state.
For reading and setting counters, the corresponding digits are transferred as a pay-
load. To delete for example 0.
Both the topics and the payload are case-sensitive.
REST
The Web-IO uses REST (Representational State Transfer) to provide another web-
based communication path.
Communication is carried out via Web-IO specific HTTP requests using the HTTP or
HTTPS port specified under
Basic settings » Network » Access for Web services
.
To be able to exchange data via REST, access via
Communication paths >> Rest
must first be enabled.
If you wish to protect REST access against unauthorized manipulation, you can
enable digest authentication. The requests must then take place as “admin” user
with the Administrator password or as “operator” using the user password.
Here you can also specify whether REST is permitted to switch the outputs.