Web


Web Service




Content:


- Web Service: Web connectivity service for remote control

- get_analog: Web server display analog value.

- get_digital: Web server display digital value.

- set_analog: Web server control to set an analog value.

- set_digital: Web server control to set a digital value..

- set_step: Web server control to set an incremental value. .



10.1 Web Service: Web connectivity service for remote control






webService



Web connectivity service for remote control




Properties:


Property Description Range Default
name Name of the Web Server service - -
descr description of the Web Server service - -


Top



10.1.1 Get_analog: Web server display analog value






Integer

Float



Web server display analog value




Properties:


Property Description Range Default
name Name of the get value.
This is the name that will be shown on your Mobile or Tablet related to the controlled object.
- -
display Display mode Integer
Float
Float
graph Enable graph recording Yes/No No
descr description of get field - -


Top



10.1.2 Get_digital: Web server display digital value






get_digital



Web server display digital value




Properties:


Property Description Range Default
name Name of the get value.
This is the name that will be shown on your Mobile or Tablet related to the controlled object.
- -
light Status light pin number.
Leave it empty if you don't want a status light
- -
descr description of get field - -


Top



10.1.3 Set_analog: Web server control to set an analog value






Integer

Float

StepSlider

ContSlider



Web server control to set an analog value




Properties:


Property Description Range Default
name Name of the get value.
This is the name that will be shown on your Mobile or Tablet related to the controlled object.
- -
format Input format for value setting
Integer: defines an input field for integer values in the range from 'min' to 'max'.
Float: defines an input field for numbers with two decimals values in the range from 'min' to 'max'.
StepSlider:  defines a slider with 'max'-'min' integer steps.
ContSlider: defines a slider with contious steps from 'min' to 'max'. The minmum step size is ('max'-'min')/256.
Integer
Float
StepSlider
ContSlider
ContSlider
min Min admitted input value - 0
max Max admitted input value - 255
blind The user command will set the value to the controlled device without reading its status.
This property should be set when it is impossible to have a direct feedback from the controlled device. It happens for instance when the controlled device is reachable by a TX only radio channel.
Yes/No No
descr description of the purpose of the Set Analog control in the project. - -


Top



10.1.4 Set_digital: Web server control to set a digital value.






Push

Switch

Pulse



Web server control to set a digital value.




Properties:


Property Description Range Default
name Name of the get value.
This is the name that will be shown on your Mobile or Tablet related to the controlled object.
- -
format Input format for value setting
Push: A On/Off button is displayed on the remote browser. By acting to this button the status of the controlled object will be toggled.
Switch: Two buttons, On and Off, are displayed on the remote browser. Acting to these two buttons the status of the controlled object can be switched on or off. By giving more 'On' consecutive commands, the connected device can accumulate the values and take consequent actions (e.g. step timers will increase their own time counter).
Pulse:  A blind push button is displayed on the remote browser. By acting to this button the output is activated for one second, after that it is deactivated again. 
Push
Switch
Pulse
Push
trigger Set this property when the linked object is a timer or other object that have a time depending behaviour. In other words when the linked object is sensible to the edge of the signal and not its level level.
In this way all the commands are not confirmed again after the first has been submitted, and the overall behaviour is correct.
In case of trigger property unset, it can happen that the level is periodically confirmed (e.g. if there is a radio connection). This is done to be sure that the status of the target object is the desired one.
Yes/No No
blind The user command will set the value to the controlled device without reading its status.
This property should be set when it is impossible to have a direct feedback from the controlled device. It happens for instance when the controlled device is reachable by a TX only radio channel.
Yes/No No
light Status light pin number.
When a led is connected to this pin, it will assume the same status as the target object, so that it can be monitored in a centralized panel.
Leave it empty if you don't want a status light
- -
descr description of the purpose of the Set Digital control in the project. - -


Top



10.1.5 Set_step: Web server control to set an incremental value.






set_step



Web server control to set an incremental value.
It is possible to define both the small step (e.g. +/-1) and the big step (e.g. +/-10) and four buttons will be displayed in the remote browser (e.g. [-10][-1][+1][+10]).
This control can be connected to step devices only (e.g. 'manual' objects of 'chrono' services).




Properties:


Property Description Range Default
name Name of the get value.
This is the name that will be shown on your Mobile or Tablet related to the controlled object.
- -
step1 Minstep value - 1
step2 Max step value - 10
min Min admitted input value - -100
max Max admitted input value - 100
blind The user command will set the value to the controlled device without reading its status.
This property should be set when it is impossible to have a direct feedback from the controlled device. It happens for instance when the controlled device is reachable by a TX only radio channel.
Yes/No No
light Status light pin number.
When a led is connected to this pin, it will assume the same status as the target object, so that it can be monitored in a centralized panel.
Leave it empty if you don't want a status light
- -
descr description of set control - -


Top

<< Index