rtl433  UNKNOWN
RTL-433 utility
gt_wt_02.c File Reference

GT-WT-02 sensor on 433.92MHz. More...

Functions

static int gt_wt_02_process_row (r_device *decoder, bitbuffer_t *bitbuffer, int row)
 GT-WT-02 sensor on 433.92MHz. More...
 
static int gt_wt_02_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static char * output_fields []
 
r_device gt_wt_02
 

Detailed Description

GT-WT-02 sensor on 433.92MHz.

Copyright (C) 2015 Paul Ortyl

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

Function Documentation

◆ gt_wt_02_callback()

static int gt_wt_02_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

◆ gt_wt_02_process_row()

static int gt_wt_02_process_row ( r_device decoder,
bitbuffer_t bitbuffer,
int  row 
)
static

GT-WT-02 sensor on 433.92MHz.

Example and frame description provided by https://github.com/ludwich66

[01] {37} 34 00 ed 47 60 : 00110100 00000000 11101101 01000111 01100000 code, BatOK,not-man-send, Channel1, +23,7°C, 35%

[01] {37} 34 8f 87 15 90 : 00110100 10001111 10000111 00010101 10010000 code, BatOK,not-man-send, Channel1,-12,1°C, 10%

Humidity:

  • the working range is 20-90 %
  • if "LL" in display view it sends 10 %
  • if "HH" in display view it sends 110%

SENSOR: GT-WT-02 (ALDI Globaltronics..)

TYP IIIIIIII BMCCTTTT TTTTTTTT HHHHHHHX XXXXX

TYPE Description:

  • I = Random Device Code, changes with battery reset
  • B = Battery 0=OK 1=LOW
  • M = Manual Send Button Pressed 0=not pressed 1=pressed
  • C = Channel 00=CH1, 01=CH2, 10=CH3
  • T = Temperature, 12 Bit 2's complement, scaled by 10
  • H = Humidity = 7 Bit bin2dez 00-99, Display LL=10%, Display HH=110% (Range 20-90%)
  • X = Checksum, sum modulo 64

A Lidl AURIO (from 12/2018) with PCB marking YJ-T12 V02 has two extra bits in front.

References bitbuffer::bb, bitbuffer_extract_bytes(), bitbuffer::bits_per_row, DATA_DOUBLE, DATA_FORMAT, DATA_INT, data_make(), DATA_STRING, and decoder_output_data().

Referenced by gt_wt_02_callback().

Variable Documentation

◆ gt_wt_02

r_device gt_wt_02
Initial value:
= {
.name = "GT-WT-02 Sensor",
.modulation = OOK_PULSE_PPM,
.short_width = 2500,
.long_width = 5000,
.gap_limit = 8000,
.reset_limit = 12000,
.decode_fn = &gt_wt_02_callback,
.disabled = 0,
.fields = output_fields,
}
Pulse Position Modulation. Short gap = 0, Long = 1.
Definition: r_device.h:12
static int gt_wt_02_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: gt_wt_02.c:106
static char * output_fields[]
Definition: gt_wt_02.c:115

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"id",
"channel",
"battery",
"button",
"temperature_C",
"humidity",
"mic",
NULL,
}