Add Chungear BCF-0019x2 example conf
This commit is contained in:
parent
481394657c
commit
b1a0c9ecde
2 changed files with 32 additions and 2 deletions
30
conf/chungear_bcf-0019x2.conf
Normal file
30
conf/chungear_bcf-0019x2.conf
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Chungear Industrial Co Ltd Fan/Light Remote Controller BCF-0019x2
|
||||||
|
#
|
||||||
|
# https://fccid.io/KUJCE9001/User-Manual/User-Manual-171498.pdf
|
||||||
|
# repeats of 13 short (252 us) or long (484 us) pulses. Packet gap is 8188 us.
|
||||||
|
|
||||||
|
decoder {
|
||||||
|
name = Chungear_BCF-0019x2,
|
||||||
|
modulation = OOK_PWM,
|
||||||
|
short = 252,
|
||||||
|
long = 484,
|
||||||
|
gap = 500,
|
||||||
|
reset = 8500,
|
||||||
|
tolerance = 100,
|
||||||
|
get = id:@9:{4},
|
||||||
|
get = button:@1:{6}:[47:light_on-off 55:light_dimmer 62:fan_button_0 61:fan_button_1 59:fan_button_2 31:fan_button_3 63:no_button],
|
||||||
|
}
|
||||||
|
|
||||||
|
# The getters above decode the following bits:
|
||||||
|
#
|
||||||
|
# 11011111 10111 light on/off
|
||||||
|
# 11101111 10111 light dimmer
|
||||||
|
# 11111101 10111 fan button 0
|
||||||
|
# 11111011 10111 fan button 1
|
||||||
|
# 11110111 10111 fan button 2
|
||||||
|
# 10111111 10111 fan button 3
|
||||||
|
#
|
||||||
|
# xxxxxxxx x0xxx dip sw 1
|
||||||
|
# xxxxxxxx xx0xx dip sw 2
|
||||||
|
# xxxxxxxx xxx0x dip sw 3
|
||||||
|
# xxxxxxxx xxxx0 dip sw 4
|
|
@ -22,7 +22,7 @@ decoder {
|
||||||
# Effectively this is 11 bits (starting with 1 bit offset to discard the
|
# Effectively this is 11 bits (starting with 1 bit offset to discard the
|
||||||
# first bit) because the mask is always aligned on the first set bit
|
# first bit) because the mask is always aligned on the first set bit
|
||||||
# (i.e. 555, aaa, 000555, ... are identical).
|
# (i.e. 555, aaa, 000555, ... are identical).
|
||||||
#
|
#
|
||||||
# Imagine the 25 bits of the transmission as:
|
# Imagine the 25 bits of the transmission as:
|
||||||
# 1?1?1?1?1?1?1?1?1?1?1?1?1
|
# 1?1?1?1?1?1?1?1?1?1?1?1?1
|
||||||
# The mask `555` is:
|
# The mask `555` is:
|
||||||
|
@ -35,7 +35,7 @@ decoder {
|
||||||
# ->
|
# ->
|
||||||
# ? ? ? ? ? ?
|
# ? ? ? ? ? ?
|
||||||
# resulting in that 6 bit value `??????`.
|
# resulting in that 6 bit value `??????`.
|
||||||
#
|
#
|
||||||
# The same way 3 bits "sound" is `get=sound:@17:15` (where `15` here is
|
# The same way 3 bits "sound" is `get=sound:@17:15` (where `15` here is
|
||||||
# hex for the 5-bit pattern `10101` -- or use `a8` if you want to left align
|
# hex for the 5-bit pattern `10101` -- or use `a8` if you want to left align
|
||||||
# the pattern in the byte there).
|
# the pattern in the byte there).
|
||||||
|
|
Loading…
Add table
Reference in a new issue