10
1.2 Smart Busy Light applications
To display the appropriate light state and color, the
generic_server
application periodically connects to a Web server supporting a database of the
different state and color values for each SBL10e installed in the organization.
Server datasource
The server datasource must fill these requirements in terms of Web service and data format.
Web service:
This is the format of the H TTP request sent by application running on SBL10e to the datasource server to get its appropriate light state and color:
G E T
/
<URL>
H TTP/1.0
H ost:
<server_address>
with
<URL>
=
https://<domain_name>:<port>/<path>
For example:
G E T
https://192.168.10.10:443/webdir/00900-01504
H TTP/1.0
H ost:
192.168.10.10
Data format:
The body of the data returned for each SBL10e by the server datasource must be formatted in J SO N format. The J SO N body is built with the following
way:
{ "state": "<state>", "color": "<color>" }
These are the supported values for each variable:
<state>
:
off
,
steady
or
fl ashing
,
<color>
:
red
,
orange
,
blue
,
yellow
or
green
Example:
{ "state": "steady", "color": "red"}
Light states and colors
The SLB10e can support the states and colors values showed below.
Color
State
OFF
Red
ON steady
or
ON flashing
Green
ON steady
or
ON flashing
Blue
ON steady
or
ON flashing
Orange
ON steady
or
ON flashing
Yellow
ON steady
or
ON flashing
☛
The
O N flashing
state is fl ashing with this seq uence:
O N
for 0,5 seconds then
O F F
for 0,5 seconds every one second.
☛
D epending on the application running on it, some color/state may be never used.
☛
The light color and state values are stored in the volatile memory (RAM). That means that in case the SBL10e device is unplugged from the
E thernet wall plug then plugged back again, the light comes back to its default state:
O F F
.
Содержание SBL10e
Страница 1: ...U ser manual SBL10 e generic_ server 1 11 10 0 0 2A...
Страница 4: ...4 Part I Description and installation...
Страница 6: ...6 1 1 1 Device dimensions...
Страница 13: ...13 Part II A pplicative user interface...
Страница 15: ...15 Part III A dministration console user interface...
Страница 30: ...30 Part IV T echnical information...
Страница 33: ...33 Part V Contacts...
Страница 35: ...35 Part V I A ppendix...