Line 587: |
Line 587: |
| *'z' - WS2812B -styga | | *'z' - WS2812B -styga |
| | | |
− | *'e' - led-button inverse | + | *'e' - LED mygtukas atvirkštinis |
− | *'d' - led-button | + | *'d' - LED mygtukas |
− | *'c' - button inverse | + | *'c' - mygtukas atvirkštinis |
− | *'b' - button | + | *'b' - mygtukas |
− | *'s' - switch | + | *'s' - jungiklis |
− | *'k' - contact inverse | + | *'k' – atvirkštinis kontaktas |
− | *'h' - contact | + | *'h' - susisiekite |
− | *'l' - leak | + | *'l' - nutekėjimas |
− | *'n' - Neptun | + | *'n' - Neptūnas |
− | *'v' - motion inverse | + | *'v' – atvirkštinis judėjimas |
− | *'m' - motion | + | *'m' - judesys |
− | *'r' - thermo-resistor | + | *'r' - termorezistorius |
− | *'t' - DALLAS | + | *'t' - DALAS |
− | *'-' - none | + | *'-' - nė vienas |
− | Example: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
| + | Pavyzdys: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK' |
| |- | | |- |
− | |hw||string||98||-||hw="...", where | + | |hw||string||98||-||hw="...", kur |
− | *pwm_invert – PWM inverting [1, 0]; | + | *pwm_invert – PWM invertavimas [1, 0]; |
− | *lbn_bright – brightness of led buttons, range (0 - 255); | + | *lbn_bright – LED mygtukų ryškumas, diapazonas (0 - 255); |
− | *f – by default PWM frequency is 1000, range (1 - 5000). | + | *f – pagal numatytuosius nustatymus PWM dažnis yra 1000, diapazonas (1–5000). |
− | Example:
| + | Pavyzdys: |
| <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"|'''Tik Metaforsa 3.plus''' |
| |- | | |- |
− | |cfg||string||98||9600/8N1||cfg='SPEED/BPS', where | + | |cfg||string||98||9600/8N1||cfg='SPEED/BPS', kur |
− | *SPEED – baud rate [1200..115200]; | + | *SPEED – perdavimo sparta [1200..115200]; |
− | *B – data length [7,8]; | + | *B – duomenų ilgis [7,8]; |
− | *P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)]; | + | *P – pariteto bito buvimas ir tipas [N(No parity),E(Even parity),O(Odd parity)]; |
− | *S – stop bit length [1, 1.5 or 2]. | + | *S – stop bito ilgis [1, 1,5 arba 2]. |
− | Example:
| + | Pavyzdys: |
| <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||—||Protokolo nustatymas aprašomas protokolo parametru. Sekantis |
− | protocols are supported:
| + | palaikomi protokolai: |
− | *'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added; | + | *'modbus', Modbus protokolas, peradresavimo pabaigoje pridedama kontrolinė suma CRC16(Modbus); |
− | *'dmx', DMX protocol; | + | *'dmx', DMX protokolas; |
− | *'CO2' for connecting Larnitech CO2 sensors; | + | *'CO2' skirtas Larnitech CO2 jutikliams prijungti; |
− | *'salda' for connecting Salda ventilation. | + | *'salda' skirta Salda ventiliacijai prijungti. |
− | Example:
| + | Pavyzdys: |
| <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'||Nustatymams patikrinti ir testuoti galima naudoti aido parametrą. Modulis |
− | echo-reply can be turned on or off with the help of this parameter.Echo parameter value: | + | echo-reply galima įjungti arba išjungti naudojant šį parametrą.Aido parametro reikšmė: |
− | *'off' | + | *'išjungta' |
− | *'on' | + | *"įjungta" |
− | Example:
| + | Pavyzdys: |
| <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| hw="cfg='9600/8N1' echo='off'" | | hw="cfg='9600/8N1' echo='off'" |