Line 588:
Line 588:
*'z' - WS2812B -string
*'z' - WS2812B -string
−
*'e' - led-button inverse
+
*'e' - botão led inverso
−
*'d' - led-button
+
*'d' - botão led
−
*'c' - button inverse
+
*'c' - botão inverso
−
*'b' - button
+
*'b' - botão
−
*'s' - switch
+
*'s' - mudar
−
*'k' - contact inverse
+
*'k' - contato inverso
−
*'h' - contact
+
*'h' - contato
−
*'l' - leak
+
*'l' - vazamento
−
*'n' - Neptun
+
*'n' - Netuno
−
*'v' - motion inverse
+
*'v' - movimento inverso
−
*'m' - motion
+
*'m' - movimento
−
*'r' - thermo-resistor
+
*'r' - termo-resistor
*'t' - DALLAS
*'t' - DALLAS
−
*'-' - none
+
*'-' - nenhum
−
Example: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
+
Exemplo: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
|-
|-
−
|hw||string||98||-||hw="...", where
+
|hw||string||98||-||hw="...", onde
−
*pwm_invert – PWM inverting [1, 0];
+
*pwm_invert – Inversão PWM [1, 0];
−
*lbn_bright – brightness of led buttons, range (0 - 255);
+
*lbn_bright – brilho dos botões led, faixa (0 - 255);
−
*f – by default PWM frequency is 1000, range (1 - 5000).
+
*f – por padrão, a frequência PWM é 1000, faixa (1 - 5000).
−
Example:
+
Exemplo:
<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"|'''Apenas para Metaforsa 3.plus'''
|-
|-
−
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', where
+
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', onde
−
*SPEED – baud rate [1200..115200];
+
*SPEED – taxa de transmissão [1200..115200];
−
*B – data length [7,8];
+
*B – comprimento dos dados [7,8];
−
*P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)];
+
*P – presença e tipo de bit de paridade [N(Sem paridade),E(Paridade par),O(Paridade ímpar)];
−
*S – stop bit length [1, 1.5 or 2].
+
*S – comprimento do bit de parada [1, 1,5 ou 2].
−
Example:
+
Exemplo:
<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||—||A configuração do protocolo é descrita pelo parâmetro do protocolo. A seguir
−
protocols are supported:
+
protocolos são suportados:
−
*'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added;
+
*'modbus', protocolo Modbus, ao final do redirecionamento é adicionado o checksum CRC16(Modbus);
−
*'dmx', DMX protocol;
+
*'dmx', protocolo DMX;
−
*'CO2' for connecting Larnitech CO2 sensors;
+
*'CO2' para conexão de sensores de CO2 da Larnitech;
−
*'salda' for connecting Salda ventilation.
+
*'salda' para conectar a ventilação Salda.
−
Example:
+
Exemplo:
<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'||Para configurações, check-out e teste, o parâmetro echo pode ser usado. Módulo
−
echo-reply can be turned on or off with the help of this parameter.Echo parameter value:
+
A resposta de eco pode ser ativada ou desativada com a ajuda deste parâmetro. Valor do parâmetro Echo:
−
*'off'
+
*'desligado'
−
*'on'
+
*'sobre'
−
Example:
+
Exemplo:
<syntaxhighlight lang="xml" line>
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' echo='off'"
hw="cfg='9600/8N1' echo='off'"