smartDEN Opener
User Manual
24 Apr 2018
- 97 -
11. HTTP server
Figure 11.1.
smartDEN Opener
works as HTTP server
This operation mode allows custom applications to obtain I/O values and other information from
smartDEN Opener
without using a Web-browser. The custom application acts as a HTTP client,
sending HTTP GET requests to
smartDEN Opener
. There are two formats of response provided
by
smartDEN Opener
- XML and JSON. To receive the current state of the
smartDEN Opener,
the application requests the page
current_state.xml or current_state.json
, for example:
http://192.168.1.134/current_state.xml&pw=<password>
http://192.168.1.134/current_state.json&pw=<password>
11.1. Authentification (non-encrypted password)
The password is passed as non-encrypted parameter with the request. For example:
http://192.168.1.134/current_state.xml?pw=admin
http://192.168.1.134/current_state.json?pw=admin
On each HTTP request the password must be sent for authentication. It can be used
either
Admin User
's password either
Guest User
's password.
Please note that the both users can be disabled and enabled any time which may cause
enable / disable this type of requests.
Session
Timeout
parameter does not reflect this request.