I have the following recording of an 868.350 MHz ESA2000WZ-LED energy monitor transmission. (file esa_perfect.cu8).
Detected OOK package
@6.135356s
Analyzing pulses...
Total count: 130, width: 80.55 ms
(20138 S)
Pulse width distribution:
[ 0] count: 100, width: 228 us [220;236]
( 57 S)
[ 1] count: 30, width: 484 us [476;492]
( 121 S)
Gap width distribution:
[ 0] count: 99, width: 272 us [268;284]
( 68 S)
[ 1] count: 30, width: 528 us [524;536]
( 132 S)
Pulse period distribution:
[ 0] count: 80, width: 500 us [492;512]
( 125 S)
[ 1] count: 38, width: 760 us [748;772]
( 190 S)
[ 2] count: 11, width: 1016 us [1008;1024]
( 254 S)
Pulse timing distribution:
[ 0] count: 199, width: 248 us [220;284]
( 62 S)
[ 1] count: 60, width: 508 us [476;536]
( 127 S)
[ 2] count: 1, width: 10004 us [10004;10004]
(2501 S)
Level estimates [high, low]: 1000, 7
RSSI: -12.1 dB SNR: 21.5 dB Noise: -33.7 dB
Frequency offsets [F1, F2]: -15989, 0
(-61.0 kHz, +0.0 kHz)
Guessing modulation: Manchester coding
view at
https://triq.org/pdv/#AAB10300F801FC27148080808080808080808080808080819191809180918080908080808080818080908180808080908180809081918080919081808080908190808080819180808090818080809080808191919080808180808080809080808180809081809081808080808090819180809080808080819180908180908080819080808080818090808255Attempting demodulation... short_width: 228, long_width: 0, reset_limit: 540, sync_width: 0
Use a flex decoder with -X 'n=name,m=OOK_MC_ZEROBIT,s=228,l=0,r=540'
pulse_demod_manchester_zerobit(): Analyzer Device
bitbuffer:: Number of rows: 1
[00] {160} 00 00 a4 8f e3 06 34 58 6f a1 87 ab c0 f1 98 1a 3f 4c f7 e7
Opening the link above gives me immediately the perfect decode of this message
The expected message starts with 0xfffe as decoded here.
When I try to mimick the same parameters in the CLI (s=248,l=248,r=609) I just don´t get that exact result, no matter what I try:
As the web UI telle me it's actually 168 bits and here I have only 160 it seems rtl_433 is interpreting the input somewhat differently.
What would the perfect flex decoder look like which produces this output from the cu8 file please?