What are we Reverse Engineering?
Inkbird ITH-20R provides direct and accurate display of humidity and temperature.You can choose Fahrenheit or Celsius according to your personal preference.
Specs
Spec | Value |
---|---|
Make | Inkbird |
Model | ITH-20R |
User Manual | https://pmod79883-pic31.websiteonline.cn/upload/ITH-2011.pdf |
Sampling Period | 10s |
Transmission Frequency | 433MHz |
Transmission Distance | ≈300 Feet |
Building RTL-433 on Mac
Clone repository
> git clone https://github.com/merbanan/rtl_433.git
Install rtl-sdr and cmake using brew
> brew install rtl-sdr cmake
Build
cd rtl_433/ mkdir build cd build cmake .. make make install
For more details see: https://github.com/merbanan/rtl_433/blob/master/docs/BUILDING.md
Running RTL_433
> rtl_433 -v
rtl_433 version 19.08-18-g8eecdbb branch master at 201909241811 inputs file rtl_tcp RTL-SDR Use -h for usage help and see https://triq.org/ for documentation. Trying conf file at "rtl_433.conf"... Trying conf file at "/Users/john.mehan/.config/rtl_433/rtl_433.conf"... Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"... Trying conf file at "/etc/rtl_433/rtl_433.conf"... Consider using "-M newmodel" to transition to new model keys. This will become the default someday. A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986. Registering protocol [1] "Silvercrest Remote Control" Registering protocol [2] "Rubicson Temperature Sensor" Registering protocol [3] "Prologue Temperature Sensor" Registering protocol [4] "Waveman Switch Transmitter" Registering protocol [8] "LaCrosse TX Temperature / Humidity Sensor" Registering protocol [11] "Acurite 609TXC Temperature and Humidity Sensor" Registering protocol [12] "Oregon Scientific Weather Sensor" Registering protocol [15] "KlikAanKlikUit Wireless Switch" Registering protocol [16] "AlectoV1 Weather Sensor (Alecto WS3500 WS4500 Ventus W155/W044 Oregon)" Registering protocol [17] "Cardin S466-TX2" Registering protocol [18] "Fine Offset Electronics, WH2, WH5, Telldus Temperature/Humidity/Rain Sensor" Registering protocol [19] "Nexus Temperature & Humidity Sensor" Registering protocol [20] "Ambient Weather Temperature Sensor" Registering protocol [21] "Calibeur RF-104 Sensor" Registering protocol [23] "DSC Security Contact" Registering protocol [25] "Globaltronics GT-WT-02 Sensor" Registering protocol [26] "Danfoss CFR Thermostat" Registering protocol [29] "Chuango Security Technology" Registering protocol [30] "Generic Remote SC226x EV1527" Registering protocol [31] "TFA-Twin-Plus-30.3049, Conrad KW9010, Ea2 BL999" Registering protocol [32] "Fine Offset Electronics WH1080/WH3080 Weather Station" Registering protocol [33] "WT450, WT260H, WT405H" Registering protocol [34] "LaCrosse WS-2310 / WS-3600 Weather Station" Registering protocol [35] "Esperanza EWS" Registering protocol [36] "Efergy e2 classic" Registering protocol [38] "Generic temperature sensor 1" Registering protocol [39] "WG-PB12V1 Temperature Sensor" Registering protocol [40] "Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning" Registering protocol [41] "Acurite 986 Refrigerator / Freezer Thermometer" Registering protocol [42] "HIDEKI TS04 Temperature, Humidity, Wind and Rain Sensor" Registering protocol [43] "Watchman Sonic / Apollo Ultrasonic / Beckett Rocket oil tank monitor" Registering protocol [44] "CurrentCost Current Sensor" Registering protocol [45] "emonTx OpenEnergyMonitor" Registering protocol [46] "HT680 Remote control" Registering protocol [47] "Conrad S3318P Temperature & Humidity Sensor" Registering protocol [48] "Akhan 100F14 remote keyless entry" Registering protocol [49] "Quhwa" Registering protocol [50] "OSv1 Temperature Sensor" Registering protocol [51] "Proove / Nexa / KlikAanKlikUit Wireless Switch" Registering protocol [52] "Bresser Thermo-/Hygro-Sensor 3CH" Registering protocol [53] "Springfield Temperature and Soil Moisture" Registering protocol [54] "Oregon Scientific SL109H Remote Thermal Hygro Sensor" Registering protocol [55] "Acurite 606TX Temperature Sensor" Registering protocol [56] "TFA pool temperature sensor" Registering protocol [57] "Kedsum Temperature & Humidity Sensor, Pearl NC-7415" Registering protocol [58] "Blyss DC5-UK-WH" Registering protocol [59] "Steelmate TPMS" Registering protocol [60] "Schrader TPMS" Registering protocol [63] "Efergy Optical" Registering protocol [67] "Radiohead ASK" Registering protocol [68] "Kerui PIR / Contact Sensor" Registering protocol [69] "Fine Offset WH1050 Weather Station" Registering protocol [70] "Honeywell Door/Window Sensor" Registering protocol [71] "Maverick ET-732/733 BBQ Sensor" Registering protocol [73] "LaCrosse TX141-Bv2, TX141TH-Bv2, TX141-Bv3 sensor" Registering protocol [74] "Acurite 00275rm,00276rm Temp/Humidity with optional probe" Registering protocol [75] "LaCrosse TX35DTH-IT, TFA Dostmann 30.3155 Temperature/Humidity sensor" Registering protocol [76] "LaCrosse TX29IT Temperature sensor" Registering protocol [77] "Vaillant calorMatic VRT340f Central Heating Control" Registering protocol [78] "Fine Offset Electronics, WH25, WH32B, WH24, WH65B, HP1000 Temperature/Humidity/Pressure Sensor" Registering protocol [79] "Fine Offset Electronics, WH0530 Temperature/Rain Sensor" Registering protocol [80] "IBIS beacon" Registering protocol [81] "Oil Ultrasonic STANDARD FSK" Registering protocol [82] "Citroen TPMS" Registering protocol [83] "Oil Ultrasonic STANDARD ASK" Registering protocol [84] "Thermopro TP11 Thermometer" Registering protocol [85] "Solight TE44" Registering protocol [86] "Wireless Smoke and Heat Detector GS 558" Registering protocol [87] "Generic wireless motion sensor" Registering protocol [88] "Toyota TPMS" Registering protocol [89] "Ford TPMS" Registering protocol [90] "Renault TPMS" Registering protocol [91] "inFactory" Registering protocol [92] "FT-004-B Temperature Sensor" Registering protocol [93] "Ford Car Key" Registering protocol [94] "Philips outdoor temperature sensor (type AJ3650)" Registering protocol [95] "Schrader TPMS EG53MA4, PA66GF35" Registering protocol [96] "Nexa" Registering protocol [97] "Thermopro TP08/TP12/TP20 thermometer" Registering protocol [98] "GE Color Effects" Registering protocol [99] "X10 Security" Registering protocol [100] "Interlogix GE UTC Security Devices" Registering protocol [102] "SimpliSafe Home Security System (May require disabling automatic gain for KeyPad decodes)" Registering protocol [103] "Sensible Living Mini-Plant Moisture Sensor" Registering protocol [108] "Hyundai WS SENZOR Remote Temperature Sensor" Registering protocol [109] "WT0124 Pool Thermometer" Registering protocol [110] "PMV-107J (Toyota) TPMS" Registering protocol [111] "Emos TTX201 Temperature Sensor" Registering protocol [112] "Ambient Weather TX-8300 Temperature/Humidity Sensor" Registering protocol [113] "Ambient Weather WH31E Thermo-Hygrometer Sensor" Registering protocol [114] "Maverick et73" Registering protocol [115] "Honeywell ActivLink, Wireless Doorbell" Registering protocol [116] "Honeywell ActivLink, Wireless Doorbell (FSK)" Registering protocol [119] "Bresser Weather Center 5-in-1" Registering protocol [121] "Opus/Imagintronix XT300 Soil Moisture" Registering protocol [124] "LaCrosse/ELV/Conrad WS7000/WS2500 weather sensors" Registering protocol [125] "TS-FT002 Wireless Ultrasonic Tank Liquid Level Meter With Temperature Sensor" Registering protocol [126] "Companion WTR001 Temperature Sensor" Registering protocol [127] "Ecowitt Wireless Outdoor Thermometer WH53/WH0280/WH0281A" Registering protocol [128] "DirecTV RC66RX Remote Control" Registering protocol [131] "Microchip HCS200 KeeLoq Hopping Encoder based remotes" Registering protocol [132] "TFA Dostmann 30.3196 T/H outdoor sensor" Registering protocol [133] "Rubicson 48659 Thermometer" Registering protocol [134] "Holman Industries WS5029 weather station" Registering protocol [135] "Philips outdoor temperature sensor (type AJ7010)" Registering protocol [136] "ESIC EMT7110 power meter" Registering protocol [137] "Globaltronics QUIGG GT-TMBBQ-05" Registering protocol [138] "Globaltronics GT-WT-03 Sensor" Registered 108 out of 138 device decoding protocols Found 1 device(s) trying device 0: Realtek, RTL2838UHIDIR, SN: 00000001 Found Rafael Micro R820T tuner Using device 0: Generic RTL2832U OEM Exact sample rate is: 250000.000414 Hz [R82XX] PLL not locked! Sample rate set to 250000 S/s. Bit detection level set to 0 (Auto). Tuner gain set to Auto. Reading samples in async mode... Tuned to 433.920MHz.
Other Tests of RTL_433
RadioHead ASK code on ESP8266 Board (Lolin/Wemos mini)
Code
// ask_transmitter.pde #include <RH_ASK.h> #ifdef RH_HAVE_HARDWARE_SPI #include <SPI.h> // Not actually used but needed to compile #endif RH_ASK driver(2000, D4, D2, D1); // (bps, RX, TX, PTT) void setup() { Serial.begin(115200); // Debugging only Serial.println("\n\nask_transmitter"); } void loop() { const char *msg = "hello"; driver.send((uint8_t *)msg, strlen(msg)); driver.waitPacketSent(); delay(200); }
Results:
$ rtl_433 rtl_433 version 19.08-18-g8eecdbb branch master at 201909241811 inputs file rtl_tcp RTL-SDR Use -h for usage help and see https://triq.org/ for documentation. Trying conf file at "rtl_433.conf"... Trying conf file at "/Users/john.mehan/.config/rtl_433/rtl_433.conf"... Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"... Trying conf file at "/etc/rtl_433/rtl_433.conf"... Consider using "-M newmodel" to transition to new model keys. This will become the default someday. A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986. Registered 108 out of 138 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-103 108-116 119 121 124-128 131-138 ] Found Rafael Micro R820T tuner Exact sample rate is: 250000.000414 Hz [R82XX] PLL not locked! Sample rate set to 250000 S/s. Tuner gain set to Auto. Tuned to 433.920MHz. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 08:36:26 model : RadioHead ASK Data len : 5 To : 255 From : 255 Id : 0 Flags : 0 Payload : 104, 101, 108, 108, 111 Integrity : CRC _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
RCSwitch code on ESP8266 Board (Lolin/Wemos mini)
Code:
#include <RCSwitch.h> RCSwitch mySwitch = RCSwitch(); void setup() { Serial.begin(115200); // Transmitter is connected to Arduino Pin #10 mySwitch.enableTransmit(D2); Serial.println("\n\nSender Started"); // Optional set protocol (default is 1, will work for most outlets) // mySwitch.setProtocol(2); // Optional set pulse length. // mySwitch.setPulseLength(320); // Optional set number of transmission repetitions. // mySwitch.setRepeatTransmit(15); } void loop() { Serial.print("."); mySwitch.switchOn("11111", "00010"); delay(10000); }
Results:
Tuned to 433.920MHz. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:58 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Waveman Switch Transmitter id : A channel : 4 button : 3 state : off _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ time : 2019-10-02 09:13:59 model : Akhan 100F14 remote keyless entry ID (20bit): 0x151 Data (4bit): 0x1 (Lock)
References
Reference | URL |
---|---|
RTL-SDR: 433.92Mhz ASK/OOK Decoding of Various Devices with rtl_433 | https://goughlui.com/2013/12/20/rtl-sdr-433-92mhz-askook-decoding-of-various-devices-with-rtl_433/ |
RTL_433 | https://github.com/merbanan/rtl_433 |
Building RTL_433 | https://github.com/merbanan/rtl_433/blob/master/docs/BUILDING.md |