New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No bits decoded from wmbus T1 Message #2861
Comments
The triq.org viewer seems to be sensible to the filename and gets slow, so this is another try |
You need to set the correct frequency and sample rate also. (-f and -s) |
I took a look at this but I don't understand why -R 104 isn't picking this up either. Am I doing something wrong? Renaming either sample to something more normalized, I can do:
and get data like:
But this doesn't seem to return anything:
Even though, -R 104 is:
and its code seems to look for that same modulation and symbol width: Lines 1201 to 1209 in afb5b34
Is something forcing that this decoder will only work for "(-f 868.95M -s 1200k)"? |
The data bits seem broken, try |
Ah, thanks, I figured I now see the second 12-bit grouping in the data after the preamble is Lines 32 to 56 in afb5b34
|
Or maybe that's a typo? Would case 28 be I'll see if I can poke around a bit more later. |
Surprising find. I guess that is really a typo. Hard to find second-hand sources for EN-13757-4 Three-out-of-Six encoding as the original is proprietary and paid-only. |
Case 28 has a typo in the comment. The actual table matches the specs. |
I do not agree: |
Right. I had initially just compared my bitbench decode as 6-bit hex values to the comments in I assume that |
I get a fail with the value 0x24. rtl_433 -r 2861_sample2.cu8 -s 2400k -f 868.95M -R 104:vv [m_bus_mode_c_t_callback] M-Bus: Mode T |
I think the
|
My guess is that it's trying to look at the 'garbage' at the end and fails trying to decode that. |
I am quite sure the demodulation code messed up the bitstream. -s 2400 also imply that we increase the band-width to 2.4MHz. So now we have like a 100 times larger window then we actually need. And most likely other signals are visible in this band. We should enable the 300MHz bandwidth filter parameter for the R820t when possible. |
I think the demodulation only messed up the bitstream by decoding a sample recorded at frequency 868.625M with forcing it read it back as frequency 868.95M.
And I see what looks like valid data where the first 48 12-bit-groups are valid decodable data. I can manually decode this to:
It's just that the next and last 12 bits of the demodulation is |
Omitting -f > 800M will run the classic fsk demodulator code. It seems to work better with this sample. |
time : @0.030594s |
Ah, that makes sense. Anyway, can you confirm my suspicions as to why the |
|
If we dont check the 3of6 output the decoder will pass it to the bytestream decoder and crc code for validation. |
The extra data at the end will then not matter. @klohner can you also test and send a PR as you found the solution to the issue? |
Is there something else I need to do to help with this PR? |
The following capture is decoded quite nicely with
cat <file> | rtl_wmbus -d 3 -s
and yields one T1 Message starting with0x294468506...
. However that message looks strange to me (some repeating fffffff inside...) so I wanted to decode it with rtl_433.I tried
rtl_433 -r <file> -R 105 -vvv
or-R 0 -A
but got no demodulation (nor with R 104).I know this packet is potentially encrypted. But I had no luck specifying the decoder with -X "n=a,m=FSK_PCM,short=10,long=10,reset=500"
rtl_sdr_f868.625M_s2400000_onesampleMbusT1.cu8.zip
The text was updated successfully, but these errors were encountered: