mirror of https://github.com/arendst/Tasmota.git
Formatting
parent
8092fff5fa
commit
a5dd80368e
|
@ -1,5 +1,6 @@
|
|||
# Arilux AL-LC04 (AL-LC04:WIFI Smart RGBW Controller With 24key IR Romote,Working Voltage:DC9-12V,Output Current:RGBW,4A*4)
|
||||
* https://www.banggood.com/AL-LC04-1060231.html
|
||||
# Arilux AL-LC04 (WIFI Smart RGBW Controller With 24-key IR Remote, Working Voltage: DC 9-12V, Output Current: RGBW, 4*4A)
|
||||
|
||||
* [Shopping](https://www.banggood.com/AL-LC04-1060231.html)
|
||||
|
||||
These devices can be configured as "generic module" with this GPIO configuration:
|
||||
* GPIO04 = [51] IRrecv
|
||||
|
@ -8,11 +9,11 @@ These devices can be configured as "generic module" with this GPIO configuration
|
|||
* GPIO14 = [37] PWM1 (B)
|
||||
* GPIO13 = [40] PWM4 (W) [Only for RGBW-Stripe]
|
||||
|
||||
Note: as of #5523 IrCodes are now 64 bits.
|
||||
Note: as of #5523 IRCodes are now 64 bits.
|
||||
|
||||
Copy this Code to your console to use the 24 Button IR Remote
|
||||
|
||||
`
|
||||
```
|
||||
rule1
|
||||
on IrReceived#Data=0x00FFB04F do power1 on endon
|
||||
on IrReceived#Data=0x00FFF807 do power1 off endon
|
||||
|
@ -22,9 +23,9 @@ on IrReceived#Data=0x00FFB24D do scheme 0 endon
|
|||
on IrReceived#Data=0x00FF00FF do scheme 4 endon
|
||||
on IrReceived#Data=0x00FF58A7 do scheme 2 endon
|
||||
on IrReceived#Data=0x00FF30CF do scheme 3 endon
|
||||
`
|
||||
```
|
||||
|
||||
`
|
||||
```
|
||||
rule2
|
||||
on IrReceived#Data=0x00FF9867 do color2 #FF0000 endon
|
||||
on IrReceived#Data=0x00FFE817 do color2 #470D00 endon
|
||||
|
@ -35,9 +36,9 @@ on IrReceived#Data=0x00FFD827 do color2 #00FF00 endon
|
|||
on IrReceived#Data=0x00FF48B7 do color2 #00330A endon
|
||||
on IrReceived#Data=0x00FF32CD do color2 #003314 endon
|
||||
on IrReceived#Data=0x00FF7887 do color2 #00331E endon
|
||||
`
|
||||
```
|
||||
|
||||
`
|
||||
```
|
||||
rule3
|
||||
on IrReceived#Data=0x00FF28D7 do color2 #003328 endon
|
||||
on IrReceived#Data=0x00FF8877 do color2 #0000FF endon
|
||||
|
@ -46,13 +47,11 @@ on IrReceived#Data=0x00FF20DF do color2 #140033 endon
|
|||
on IrReceived#Data=0x00FF708F do color2 #140033 endon
|
||||
on IrReceived#Data=0x00FFF00F do color2 #280033 endon
|
||||
on IrReceived#Data=0x00FFA857 do color2 #FFFFFF endon
|
||||
`
|
||||
```
|
||||
|
||||
and then activate the rules
|
||||
|
||||
`rule1 1`
|
||||
`rule2 1`
|
||||
`rule3 1`
|
||||
`Backlog rule1 1; rule2 1; rule3 1`
|
||||
|
||||
|
||||
![](http://i65.tinypic.com/28i6ikk.png)
|
||||
|
|
Loading…
Reference in New Issue