Line 587: |
Line 587: |
| *'z' - WS2812B -reťazec | | *'z' - WS2812B -reťazec |
| | | |
− | *'e' - led-button inverse | + | *'e' - inverzné tlačidlo LED |
− | *'d' - led-button | + | *'d' - tlačidlo LED |
− | *'c' - button inverse | + | *'c' - tlačidlo inverzné |
− | *'b' - button | + | *'b' - tlačidlo |
− | *'s' - switch | + | *'s' - prepínač |
− | *'k' - contact inverse | + | *'k' - inverzný kontakt |
− | *'h' - contact | + | *'h' - kontakt |
− | *'l' - leak | + | *'l' - únik |
− | *'n' - Neptun | + | *'n' - Neptún |
− | *'v' - motion inverse | + | *'v' - inverzný pohyb |
− | *'m' - motion | + | *'m' - pohyb |
− | *'r' - thermo-resistor | + | *'r' - tepelný odpor |
| *'t' - DALLAS | | *'t' - DALLAS |
− | *'-' - none | + | *'-' - žiadne |
− | Example: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
| + | Príklad: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK' |
| |- | | |- |
− | |hw||string||98||-||hw="...", where | + | |hw||string||98||-||hw="...", kde |
− | *pwm_invert – PWM inverting [1, 0]; | + | *pwm_invert – PWM invertovanie [1, 0]; |
− | *lbn_bright – brightness of led buttons, range (0 - 255); | + | *lbn_bright – jas tlačidiel LED, rozsah (0 - 255); |
− | *f – by default PWM frequency is 1000, range (1 - 5000). | + | *f – predvolená frekvencia PWM je 1000, rozsah (1 - 5000). |
− | Example:
| + | Príklad: |
| <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"|'''Len pre Metaforsa 3.plus''' |
| |- | | |- |
− | |cfg||string||98||9600/8N1||cfg='SPEED/BPS', where | + | |cfg||string||98||9600/8N1||cfg='SPEED/BPS', kde |
− | *SPEED – baud rate [1200..115200]; | + | *SPEED – prenosová rýchlosť [1200..115200]; |
− | *B – data length [7,8]; | + | *B – dĺžka údajov [7,8]; |
− | *P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)]; | + | *P – prítomnosť a typ paritného bitu [N(žiadna parita),E(párna parita),O(nepárna parita)]; |
− | *S – stop bit length [1, 1.5 or 2]. | + | *S – dĺžka stop bitu [1, 1,5 alebo 2]. |
− | Example:
| + | Príklad: |
| <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||—||Nastavenie protokolu popisuje parameter protokolu. Nasledujúci |
− | protocols are supported:
| + | podporované protokoly: |
− | *'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added; | + | *'modbus', protokol Modbus, na konci presmerovania sa pridá kontrolný súčet CRC16(Modbus); |
− | *'dmx', DMX protocol; | + | *'dmx', DMX protokol; |
− | *'CO2' for connecting Larnitech CO2 sensors; | + | *'CO2' na pripojenie snímačov CO2 Larnitech; |
− | *'salda' for connecting Salda ventilation. | + | *'salda' na pripojenie ventilácie Salda. |
− | Example:
| + | Príklad: |
| <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'||Na kontrolu nastavení a testovanie parametra echo je možné použiť. modul |
− | echo-reply can be turned on or off with the help of this parameter.Echo parameter value: | + | echo-reply možno zapnúť alebo vypnúť pomocou tohto parametra. Hodnota parametra Echo: |
− | *'off' | + | *'vypnuté' |
− | *'on' | + | *'zap' |
− | Example:
| + | Príklad: |
| <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| hw="cfg='9600/8N1' echo='off'" | | hw="cfg='9600/8N1' echo='off'" |