| Line 587: |
Line 587: |
| | *'z' - WS2812B -string | | *'z' - WS2812B -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'
| + | primjer: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK' |
| | |- | | |- |
| − | |hw||string||98||-||hw="...", where | + | |hw||string||98||-||hw="...", gdje |
| − | *pwm_invert – PWM inverting [1, 0]; | + | *pwm_invert – PWM invertiranje [1, 0]; |
| − | *lbn_bright – brightness of led buttons, range (0 - 255); | + | *lbn_bright – svjetlina LED dugmadi, raspon (0 - 255); |
| − | *f – by default PWM frequency is 1000, range (1 - 5000). | + | *f – po defaultu PWM frekvencija je 1000, raspon (1 - 5000). |
| − | Example:
| + | primjer: |
| | <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', gdje |
| − | *SPEED – baud rate [1200..115200]; | + | *SPEED – brzina prijenosa [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:
| + | primjer: |
| | <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. Sljedeć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 preusmjeravanja se dodaje kontrolni zbroj CRC16(Modbus); |
| − | *'dmx', DMX protocol; | + | *'dmx', DMX protokol; |
| − | *'CO2' for connecting Larnitech CO2 sensors; | + | *'CO2' za povezivanje Larnitech CO2 senzora; |
| − | *'salda' for connecting Salda ventilation. | + | *'salda' za spajanje Salda ventilacije. |
| − | Example:
| + | primjer: |
| | <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 provjeru postavki i testiranje parametar eho se može koristiti. Modul |
| − | echo-reply can be turned on or off with the help of this parameter.Echo parameter value: | + | echo-reply se može uključiti ili isključiti uz pomoć ovog parametra. Vrijednost parametra Echo: |
| − | *'off' | + | *'isključeno' |
| − | *'on' | + | *'na' |
| − | Example:
| + | primjer: |
| | <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| | hw="cfg='9600/8N1' echo='off'" | | hw="cfg='9600/8N1' echo='off'" |