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.
Содержание smartDEN Opener
Страница 15: ...smartDEN Opener User Manual 24 Apr 2018 15 Figure 5 2 Distribution box version overview...
Страница 62: ...smartDEN Opener User Manual 24 Apr 2018 62 Figure 10 18 Digital input controlling relay examples...
Страница 80: ...smartDEN Opener User Manual 24 Apr 2018 80 10 7 General Settings Figure 10 32 General Settings page...
Страница 107: ...smartDEN Opener User Manual 24 Apr 2018 107 12 2 9 MQTT command reply Figure 12 2 MQTT successful response...
Страница 114: ...smartDEN Opener User Manual 24 Apr 2018 114 Figure 16 4 Relays Tab Figure 16 5 Main Controlled Device s modes...
Страница 116: ...smartDEN Opener User Manual 24 Apr 2018 116 Figure 16 8 GPS outside mode notification...