Changes
Jump to navigation
Jump to search
1,678 bytes added
, 17 July
Line 103: |
Line 103: |
| <!--T:14--> | | <!--T:14--> |
| {{indicationold |hideLast= 1}} | | {{indicationold |hideLast= 1}} |
| + | |
| + | ==HW settings== <!--T:15--> |
| + | |
| + | <!--T:16--> |
| + | {|class="wikitable" |
| + | |- |
| + | !Name!!Type, range!!SUBID!!Default!!Description |
| + | |- |
| + | |io||char[14]||98||'4---1-T-3-----'||Each char is responsible for the type of a particular channel |
| + | *'0' - led-dimmer |
| + | *'1' - halogen-dimmer |
| + | *'2' - linear-dimmer |
| + | *'3'..'6' - RGB-3..6 channels |
| + | *'z' - WS2812B -string |
| + | |
| + | *'e' - led-button inverse |
| + | *'d' - led-button |
| + | *'c' - button inverse |
| + | *'b' - button |
| + | *'s' - switch |
| + | *'k' - contact |
| + | *'h' - contact inverse |
| + | *'l' - leak |
| + | *'n' - Neptun |
| + | *'v' - motion inverse |
| + | *'m' - motion |
| + | *'r' - thermo-resistor |
| + | *'t' - DALLAS |
| + | |
| + | *'-' - none |
| + | Example: io='4---1---3-----' |
| + | |- |
| + | |hw||string||98||-||hw="...", where |
| + | *pwm_invert – PWM inverting [1, 0]; |
| + | *lbn_bright – brightness of led buttons, range (0 - 255); |
| + | *f – by default PWM frequency is 1000, range (1 - 5000). |
| + | Example: |
| + | <syntaxhighlight lang="xml" line> |
| + | hw="io='4---zdd-------' pwm_invert=1 lbn_bright=255 f=1000" |
| + | </syntaxhighlight> |
| + | |} |
| + | |
| + | <!--T:17--> |
| + | <syntaxhighlight lang="xml" line> |
| + | <item addr="317:1" auto-period="600" cfgid="195" channels="4" name="RGB" type="rgb-lamp"/> |
| + | <item addr="317:5" auto-period="600" cfgid="195" hw="length=26 runtime=5" name="RGB" type="rgb-lamp"/> |
| + | <item addr="317:6" cfgid="195" name="Switch" type="switch"/> |
| + | <item addr="317:7" cfgid="195" name="Switch" type="switch"/> |
| + | <item addr="317:12" cfgid="195" name="Temperature" type="temperature-sensor"/> |
| + | <item addr="317:97" cfgid="195" name="Temperature" system="yes" type="temperature-sensor"/> |
| + | <item addr="317:98" cfgid="195" hw="io='4---zdd-------' pwm_invert=1 lbn_bright=255 f=1000" logic-ver="19" name="Temperature" sn="1529500271" system="yes" type="temperature-sensor"/> |
| + | </syntaxhighlight> |
| </translate> | | </translate> |