Line 587:
Line 587:
*'z' - VS2812B -string
*'z' - VS2812B -string
−
*'e' - led-button inverse
+
*'e' - LED dugme inverzno
−
*'d' - led-button
+
*'d' - LED dugme
−
*'c' - button inverse
+
*'c' - dugme obrnuto
−
*'b' - button
+
*'b' - dugme
−
*'s' - switch
+
*'s' - prekidač
−
*'k' - contact inverse
+
*'k' - kontakt inverzan
−
*'h' - contact
+
*'h' - kontakt
−
*'l' - leak
+
*'l' - curenje
*'n' - Neptun
*'n' - Neptun
−
*'v' - motion inverse
+
*'v' - inverzno kretanje
−
*'m' - motion
+
*'m' - pokret
−
*'r' - thermo-resistor
+
*'r' - termo-otpornik
*'t' - DALLAS
*'t' - DALLAS
−
*'-' - none
+
*'-' - nijedan
−
Example: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
+
Primer: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
|-
|-
−
|hw||string||98||-||hw="...", where
+
|hw||string||98||-||hw="...", gde
−
*pwm_invert – PWM inverting [1, 0];
+
*pvm_invert – PVM invertovanje [1, 0];
−
*lbn_bright – brightness of led buttons, range (0 - 255);
+
*lbn_bright – osvetljenost LED tastera, opseg (0 - 255);
−
*f – by default PWM frequency is 1000, range (1 - 5000).
+
*f – podrazumevano je PVM frekvencija 1000, opseg (1 - 5000).
−
Example:
+
Primer:
<syntaxhighlight lang="xml" line>
<syntaxhighlight lang="xml" line>
hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000"
hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000"
</syntaxhighlight>
</syntaxhighlight>
|-
|-
−
|colspan="3"|'''Only for Metaforsa 3.plus'''
+
|colspan="3"|'''Samo za Metaforsa 3.plus'''
|-
|-
−
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', where
+
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', gde
−
*SPEED – baud rate [1200..115200];
+
*SPEED – brzina prenosa [1200..115200];
−
*B – data length [7,8];
+
*B – dužina podataka [7,8];
−
*P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)];
+
*P – prisustvo i tip bita parnosti [N(bez parnosti),E(parni paritet),O(neparni paritet)];
−
*S – stop bit length [1, 1.5 or 2].
+
*S – dužina stop bita [1, 1,5 ili 2].
−
Example:
+
Primer:
<syntaxhighlight lang="xml" line>
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1'"
hw="cfg='9600/8N1'"
</syntaxhighlight>
</syntaxhighlight>
|-
|-
−
|[Protocol]||string||98||—||Protocol setting is described by protocol parameter. The following
+
|[Protocol]||string||98||—||Podešavanje protokola je opisano parametrom protokola. Sledeće
−
protocols are supported:
+
protokoli su podržani:
−
*'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added;
+
*'modbus', Modbus protokol, na kraju preusmeravanja se dodaje kontrolni zbir CRC16(Modbus);
−
*'dmx', DMX protocol;
+
*'dmk', DMKS protokol;
−
*'CO2' for connecting Larnitech CO2 sensors;
+
*'CO2' za povezivanje Larnitech CO2 senzora;
−
*'salda' for connecting Salda ventilation.
+
*'salda' za povezivanje Salda ventilacije.
−
Example:
+
Primer:
<syntaxhighlight lang="xml" line>
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' modbus"
hw="cfg='9600/8N1' modbus"
</syntaxhighlight>
</syntaxhighlight>
|-
|-
−
|echo||on; off||98||'off'||For settings check out and testing echo parameter can be used. Module
+
|echo||on; off||98||'off'||Za proveru podešavanja i testiranje eho parametar se može koristiti. Modul
−
echo-reply can be turned on or off with the help of this parameter.Echo parameter value:
+
echo-repli se može uključiti ili isključiti uz pomoć ovog parametra. Vrednost parametra Echo:
−
*'off'
+
*'van'
−
*'on'
+
*'na'
−
Example:
+
Primer:
<syntaxhighlight lang="xml" line>
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' echo='off'"
hw="cfg='9600/8N1' echo='off'"