Line 587: |
Line 587: |
| *'z' - WS2812B -niz | | *'z' - WS2812B -niz |
| | | |
− | *'e' - led-button inverse | + | *'e' - inverzna led tipka |
− | *'d' - led-button | + | *'d' - LED-gumb |
− | *'c' - button inverse | + | *'c' - inverzni gumb |
− | *'b' - button | + | *'b' - gumb |
− | *'s' - switch | + | *'s' - stikalo |
− | *'k' - contact inverse | + | *'k' - stik inverzno |
− | *'h' - contact | + | *'h' - stik |
− | *'l' - leak | + | *'l' - puščanje |
| *'n' - Neptun | | *'n' - Neptun |
− | *'v' - motion inverse | + | *'v' - obratno gibanje |
− | *'m' - motion | + | *'m' - gibanje |
− | *'r' - thermo-resistor | + | *'r' - termo-upor |
| *'t' - DALLAS | | *'t' - DALLAS |
− | *'-' - none | + | *'-' - nič |
− | Example: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
| + | primer: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK' |
| |- | | |- |
− | |hw||string||98||-||hw="...", where | + | |hw||string||98||-||hw="...", kje |
− | *pwm_invert – PWM inverting [1, 0]; | + | *pwm_invert – obračanje PWM [1, 0]; |
− | *lbn_bright – brightness of led buttons, range (0 - 255); | + | *lbn_bright – svetlost LED gumbov, obseg (0 - 255); |
− | *f – by default PWM frequency is 1000, range (1 - 5000). | + | *f – privzeta frekvenca PWM je 1000, razpon (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', kje |
− | *SPEED – baud rate [1200..115200]; | + | *SPEED – hitrost prenosa [1200..115200]; |
− | *B – data length [7,8]; | + | *B – dolžina podatkov [7,8]; |
− | *P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)]; | + | *P – prisotnost in vrsta paritetnega bita [N(Brez parnosti),E(Soda parnost),O(Liha parnost)]; |
− | *S – stop bit length [1, 1.5 or 2]. | + | *S – dolžina stop bita [1, 1,5 ali 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||—||Nastavitev protokola je opisana s parametrom protokola. Naslednji |
− | protocols are supported:
| + | podprti so protokoli: |
− | *'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added; | + | *'modbus', protokol Modbus, na koncu preusmeritve se doda kontrolna vsota CRC16(Modbus); |
− | *'dmx', DMX protocol; | + | *'dmx', protokol DMX; |
− | *'CO2' for connecting Larnitech CO2 sensors; | + | *'CO2' za priključitev senzorjev Larnitech CO2; |
− | *'salda' for connecting Salda ventilation. | + | *'salda' za priklop prezračevanja Salda. |
− | 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 preverjanje nastavitev in testiranje odmevnega parametra je mogoče uporabiti. Modul |
− | echo-reply can be turned on or off with the help of this parameter.Echo parameter value: | + | echo-reply lahko vklopite ali izklopite s pomočjo tega parametra. Vrednost parametra Echo: |
− | *'off' | + | *'izklopljeno' |
| *'on' | | *'on' |
− | Example:
| + | primer: |
| <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| hw="cfg='9600/8N1' echo='off'" | | hw="cfg='9600/8N1' echo='off'" |