mirror of https://github.com/arendst/Tasmota.git
Switch IRCodes to 64 bits, and remove the 'Once' trigger to rules
parent
5ecee07dc7
commit
7ec340dcd5
|
@ -8,42 +8,44 @@ 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.
|
||||
|
||||
Copy this Code to your console to use the 24 Button IR Remote
|
||||
|
||||
`
|
||||
rule1
|
||||
on IrReceived#Data=0xFFB04F do power1 on endon
|
||||
on IrReceived#Data=0xFFF807 do power1 off endon
|
||||
on IrReceived#Data=0xFF906F do dimmer + endon
|
||||
on IrReceived#Data=0xFFB847 do dimmer - endon
|
||||
on IrReceived#Data=0xFFB24D do scheme 0 endon
|
||||
on IrReceived#Data=0xFF00FF do scheme 4 endon
|
||||
on IrReceived#Data=0xFF58A7 do scheme 2 endon
|
||||
on IrReceived#Data=0xFF30CF do scheme 3 endon
|
||||
on IrReceived#Data=0x00FFB04F do power1 on endon
|
||||
on IrReceived#Data=0x00FFF807 do power1 off endon
|
||||
on IrReceived#Data=0x00FF906F do dimmer + endon
|
||||
on IrReceived#Data=0x00FFB847 do dimmer - endon
|
||||
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=0xFF9867 do color2 #FF0000 endon
|
||||
on IrReceived#Data=0xFFE817 do color2 #470D00 endon
|
||||
on IrReceived#Data=0xFF02FD do color2 #381600 endon
|
||||
on IrReceived#Data=0xFF50AF do color2 #331E00 endon
|
||||
on IrReceived#Data=0xFF38C7 do color2 #332800 endon
|
||||
on IrReceived#Data=0xFFD827 do color2 #00FF00 endon
|
||||
on IrReceived#Data=0xFF48B7 do color2 #00330A endon
|
||||
on IrReceived#Data=0xFF32CD do color2 #003314 endon
|
||||
on IrReceived#Data=0xFF7887 do color2 #00331E endon
|
||||
on IrReceived#Data=0x00FF9867 do color2 #FF0000 endon
|
||||
on IrReceived#Data=0x00FFE817 do color2 #470D00 endon
|
||||
on IrReceived#Data=0x00FF02FD do color2 #381600 endon
|
||||
on IrReceived#Data=0x00FF50AF do color2 #331E00 endon
|
||||
on IrReceived#Data=0x00FF38C7 do color2 #332800 endon
|
||||
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=0xFF28D7 do color2 #003328 endon
|
||||
on IrReceived#Data=0xFF8877 do color2 #0000FF endon
|
||||
on IrReceived#Data=0xFF6897 do color2 #0A0033 endon
|
||||
on IrReceived#Data=0xFF20DF do color2 #140033 endon
|
||||
on IrReceived#Data=0xFF708F do color2 #140033 endon
|
||||
on IrReceived#Data=0xFFF00F do color2 #280033 endon
|
||||
on IrReceived#Data=0xFFA857 do color2 #FFFFFF endon
|
||||
on IrReceived#Data=0x00FF28D7 do color2 #003328 endon
|
||||
on IrReceived#Data=0x00FF8877 do color2 #0000FF endon
|
||||
on IrReceived#Data=0x00FF6897 do color2 #0A0033 endon
|
||||
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
|
||||
|
@ -52,8 +54,5 @@ and then activate the rules
|
|||
`rule2 1`
|
||||
`rule3 1`
|
||||
|
||||
`rule1 5`
|
||||
`rule2 5`
|
||||
`rule3 5`
|
||||
|
||||
![](http://i65.tinypic.com/28i6ikk.png)
|
||||
|
|
Loading…
Reference in New Issue