-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Is it possible to add support for Inkbird ITH-20R #13
Comments
A couple of comments 1 - My next release will be based on the FSK branch, so any changes will need to be applied their first 2 - The library currently supports only OOK/ASK Modulation do you know what modulation scheme it is using? You can find this in the device decoder file for the device. 3 - If you can submit a pull request against the FSK branch with the device decoder file placed in the contrib directory, I can run the build script that updates the code base for the additional file. My draft update script is here https://github.com/NorthernMan54/rtl_433_ESP/blob/fsk/tools/update_rtl_433_devices.sh If your curious as to what changes are required to add support for additional devices you can look at the update script 4 - As I don't have the physical device I will not be able to perform any testing, so will need your sign off on it working correctly. 5 - What framework are you using with this ? ie OpenMQTTGateway or ? |
Hi, Thank you Thank you in advance. It appears the inkbird ith-20r is FSK_PULSE_PCM i tried to create a pull request in the fsk branch hopefully that worked the code in the decoder file is . `/** @file
*/ /** The compact 3-in-1 multifunction outdoor sensor transmits the data on 433.92 MHz. Decoding borrowed from https://groups.google.com/forum/#!topic/rtl_433/oeExmwoBI0w Total packet length 14563 bits: CRC16 (bytes 0-15), without sync word): To look at unknown data fields run with -vv key. Decoder written by Dmitriy Kozyrev, 2020 #include "decoder.h" static const uint8_t preamble_pattern[] = { 0xaa, 0xaa, 0xaa, 0x2d, 0xd4 }; #define INKBIRD_ITH20R_CRC_POLY 0xA001 // reflected 0x8005 static int inkbird_ith20r_callback(r_device *decoder, bitbuffer_t *bitbuffer)
} static char *output_fields[] = { r_device inkbird_ith20r = { |
HI i tried to attach a copy of the decoder file, Thank you. |
If you look at the decoder file, it is fsk and not ook/ask. At the present time only ook/ask is fully supported, and I don’t have fsk working. And the road map fsk has a fair bit of effort to go, so may not be launched for a few months. |
HI ,
Thank you for the update, I appreciate all you help.
I look forward to this feature being added, I am more than happy to help test with the inkbird ITH-20r device,
Kind Regards
Greg.
From: Northern Man ***@***.***>
Sent: Friday, 21 May 2021 9:46 PM
To: NorthernMan54/rtl_433_ESP ***@***.***>
Cc: gregb79 ***@***.***>; State change ***@***.***>
Subject: Re: [NorthernMan54/rtl_433_ESP] Is it possible to add support for Inkbird ITH-20R (#13)
If you look at the decoder file, it is fsk and not ook/ask. At the present time only ook/ask is fully supported, and I don’t have fsk working. And the road map fsk has a fair bit of effort to go, so may not be launched for a few months.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#13 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPHB3IPSDMEX6ZUS4MOKKTTOZBXZANCNFSM45HCZHZQ> . <https://github.com/notifications/beacon/ABPHB3NDXB73FPPIRZAO2MLTOZBXZA5CNFSM45HCZHZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGJVU6OY.gif>
…--
This email has been checked for viruses by AVG.
https://www.avg.com
|
Would appreciate to have this device supported as well! Regards Christoph |
@riegelbrau FSK is still a future feature. |
I read that, but wanted to give some "pressure" 🙈. |
Hello, I have got a Inkbird IBS-P01R that uses the same protocol as the Inkbird ITH-20R. Now that FSK has been implemented, I thought I would give it a try. I have Lilygo board 433 MHz that works well in OOK. After changing OOK_MODULATION to false, here is what I was able to catch.
Unfortunately it does not decode properly. Any idea of parameters I could change or tests I could perform to go forward ? |
I am not sure I understand. What is providing the rtl_tcp server ? An esp32 ? |
You asked for parameters. Even I don't know how to modify parameters inside the ESP32, I wanted to show, with which parameters rtl_433 running on Linux decodes the sensor quite well. May be that helps, may be not. |
@riegelbrau @seb821 The current release includes support for FSK, so this should be able to push forward. Unfortunately I do not have access to an Inkbird device, so my ability to troubleshoot this further is very limited. |
I was hoping that with raw or unparsed signals something could be done. But I completely understand it is very difficult to troubleshoot remotely. |
Today I've got managed to compile the image for the board "ttgo-lora32-v21" with option -DOOK_MODULATION=false to test my FSK modulated devices. For the Inkbird ITH-20R I did not recognize any mqtt messages, while the sensor did successfully send messages to the native rtl_433 instance. Regards |
I tested again with OMG V1.7 fsk-version, which should have the newest release of RTL_433_ESP integrated. The ITH-20R does not appear at all, while I see the messages in my native rtl_433 instance. |
One thing people have found, is that in FSK mode the frequency setting needs to be more exact. Can you lookup the exact frequency with your rtl_sdr then try using that frequency ? |
There are other FSK related settings that are internal to the code base- rtl_433_ESP/src/rtl_433_ESP.cpp Line 267 in 276bc2c
If you look at the OOK_Receiver example
I had added code to 'twist the knobs' and see if I could get better results during testing. I had tuned the values based on the signal from my FineOffSet WH51. You could try using that against your device to find a better setting. When I was doing the testing, I let it run for about a day for each |
How can I create and run this example on my Lilygo TTGO Lora32 T3 V1.6.1 and produce a log like above? For the test the device needs to be filtered for only the ITH-20R. I saw the my_devices directive, but where must I set the filter? |
The MY_DEVICES directive is in a couple of spots, and you can use it to only include a subset of decoders to use. When I did my testing I did not use a subset but the full list of decoders. I then did some statistical analysis on this log line. Log.notice(F(CR "Finished %s: %s, count: %d" CR), TEST, stepPrint, count); |
I've got managed to compile the OOK_Receiver example only with the compiler settings for setBitrate and -DsetRxBW.
Can you help with this? |
I don't get any steps further. Can anyone help? For details, see above. |
Hello @gregb79 , did you get the ITH-20R sensor running? Do you have any tipps how to get further with this device? |
I refreshed the device decoders from rtl_433 24.10, maybe this is resolved? |
A couple of comments 1 - That issue is triggered by a bad compiler directive in platformio.ini -> change '-DsetFrequencyDeviation' to '-DsetFreqDev' 2 - Those options can only be used one at a time 3 - Check the baud settings in putty, they need to match platformio / the compiled code |
Hi,
is it possible to add support for an Inkbird ITH-20R for esp32 with cc1101 i am not sure how to add additional decoders. a link for it working with rlt_433 is , https://github.com/ehagan/rtl_433
hopefully you can help as i want to log this sensor in home assistant,
thank you in advance.
The text was updated successfully, but these errors were encountered: