-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add support for TFA Dostmann 14.1504 Radio-controlled grill and meat thermometer (#2288) #2296
Conversation
That checksum looks accidental. A wide enough CRC can always be produced for just a few bits. |
I know, I can tell you that I tried a few exhaustive searches with the 16-bit LFSR functions from util.c (rtl_433), more precisely the lfsr_digest16() function with all possible combinations for "gen" and "key", and applied that to all possible substrings... with no success there. I was very surprised/frustrated too, but maybe I missed something obvious. Sure, here are all samples along with the tool to compare the computed CRCs against them. You can simply clone this and run "./build.sh": |
Did you try our revdgst16? It finds gen 8810 key 93ad final xor d17c when you omit the preamble. |
Aah awesome, thanks a lot! No I didn't know that tool, works great indeed. The reason my prior brute force attempts didn't work out, was that final XOR. I've tried a few things but no zero final XOR so far - - so I've updated my PR with the LSFR and the values that you mentioned - which I think are the most suitable so far. |
If possible I wouldn't use the full preamble but just a tail portion. This will improve reception if the signal isn't immediatly demodulated perfectly, how typical receivers work to "tune-in". That scheme needs a "sync" at the end to known when data starts, could be a single bit, but is usually aligned. So if |
Good point thanks, I will do that! Question about the Probe status: currently I set it to "Connected" / "Disconnected", is this good? Or should I use a different upper/lowercase convention, or an int (0/1) for that? |
I would use a 0/1 int for easier transfer into databases (int supports aggregation), like the common |
Good point! I think probe_fail is the best option, and pushed the change now! |
Battery flag implemented yesterday evening and works well. No more changes planned, so if you can consider it for inclusion, it would be great 😉 Edit: Renamed to TFA-14.1504.V2 to perfectly match the manufacturer's model number, and because the older 14.1504 had a completely different protocol. |
Hi @zuckschwerdt, What do you think about merging my PR? I'm also looking forward to getting feedback from other owners of this device, to validate whether all LSFR params are identical or not. If they are not, then I have some ideas on how to address it. |
Yes, looks good. The "mic" should be "CRC" as it's the same strength. |
6184c88
to
93578c1
Compare
|
Hi @zuckschwerdt , |
Hi @zuckschwerdt, |
LGTM, but I think we we need docs and config changes also. And then some sample signals. |
@joel-bourquard |
In this commit you can see the needed config and documentation changes. |
Indeed. Run |
@merbanan not yet, but I will definitely do it! I'll fork that repo and do a PR. |
Hi @zuckschwerdt , @merbanan , So I have created a PR with documentation+samples on the rtl_433_tests side: |
7e49f26
to
8ea0807
Compare
Rebased on latest master. |
8ea0807
to
bf301b2
Compare
Hi @zuckschwerdt , |
Just a few other (~3) merges first. |
bf301b2
to
f621826
Compare
…thermometer (merbanan#2296) Co-authored-by: root@rpi <[email protected]>
…thermometer (merbanan#2296) Co-authored-by: root@rpi <[email protected]>
No description provided.