
Documentation
KNXEASY
KNXEASY
Version 1
b.a.b-technologie gmbh 39
For example:
{"command": "twisted_pair 0 write scene1 dpt-1-10 start"}
The response of the command is sent in the reponse of the HTTP request:
{"type": "ack","command": "twisted_pair 0 write scene1 dpt-1-10 start"}
The application POSTMAN from Google Chrome gives you the possibility to send HTTP requests:
Figure 44: POSTMAN POST
You can also send requests directly from the Client simulation just like you do with the other protocols,
with the send button.
GET
GET is used to send a “read” command to KNXEASY. The address for this GET is:
http://[IP address]/knxeasy/rest/knxeasy/read
The command is sent as request parameter in text format:
?command=[command]
For example:
http://172.31.49.117/knxeasy/rest/knxeasy/read?command=twisted_pair 0 read scene1 dpt-1-10
The response of the command is sent in the reponse of the HTTP request. It might contain more than one
response. For example one ack and the read response. Therefore responses are displayed as JSON
“responses” array: