Changes

Importing a new version from external source
==HW settings==
{|class="wikitable"
|-
!Name!!Type, range!!SUBID!!Default!!Description
|-
|def||integer 0-250||1||100||The default brightness level in case of a power reset (1..250). Example: def=250
|-
|min||integer 0-100||1||0||Minimum dimming level, example: min=10
|-
|max||integer 0-100||1||100||Maximum dimming level, example max=95
|-
|start||integer 0-100||1||0||The Start function is used for lamps that lack the minimal voltage to get turned on. If the set value is lower than the start value, the lamp is turned on at the start value and them the light is dimmed down to the set level. Example: start=60
|-
|force||integer 0-100||1||10||Time duration of the starting value (measured in milliseconds). Example: force=20
|-
|runtime||integer 0-60000||1||1000||Runtime is the speed of changing the brightness from ‘min’ to ‘max’ (measured in milliseconds). Example: runtime=1000
|-
|protect||integer 0;1||1||0||Overload Protect. 0(off); 1 (on), example: protect=0
|-
|offset||float(+/- 0…39)||30||0||sensor values offset;
For example, offset is -3.8 :
<syntaxhighlight lang="xml" line>
hw="offset='-3.8'"
</syntaxhighlight>
|-
|mode||string||98||disabled||Frequency of pulse-width modulation in Hz for item with direct current.
*dc100 – 100Hz
*dc200 – 200Hz
*dc400 – 400Hz
*dc800 – 800Hz
Example: mode='dc400'
|-
|dm||char||98||'g'||Each char is responsible for the type of a particular channel
*'g' – use like halogen dimmer-lamp
*'s' – Soft Switch, lamp, when on/off power is supplied/deenergised smoothly (500msec)
*'k' – Switch, lamp, when on/off power is supplied/deenergised immediately
*'l' – LED Function, dimmable LED lamps
*'-' – Channel disabled
*'+' – Regular channel
Example: dm='s'
|-
|in||char[3]||98||'BBB'||Each char is responsible for the type of a particular channel
*'B'-Button, a bell type;
*'C'-Inverted button, inversebutton of a bell type (for normally-closed);
*'D'-Backlit button, illuminated button;
*'E'-Inverted backlit button, inverse illuminated button;
*'S'-Switch, fixed switch;
*'K'-Contact, reed contact;
*'H'-Inverted contact, inversereed contact;
*'-'-none, nothing is connected.
And you can also connect one temperature sensor:
<syntaxhighlight lang="xml" line>
hw="in='T+-'"
</syntaxhighlight>
Example: in='BCB'
|}
3,388

edits