rtl433  UNKNOWN
RTL-433 utility
kedsum.c File Reference

Kedsum temperature and humidity sensor (http://amzn.to/25IXeng). More...

Functions

static int kedsum_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 Largely the same as esperanza_ews, s3318p. More...
 

Variables

static char * output_fields []
 
r_device kedsum
 

Detailed Description

Kedsum temperature and humidity sensor (http://amzn.to/25IXeng).

My models transmit at a bit lower freq. of around 433.71 Mhz. Also NC-7415 from Pearl.

Copyright (C) 2016 John Lifsey Enhanced (C) 2019 Christian W. Zuckschwerdt zany@.nosp@m.triq.nosp@m..net

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

Function Documentation

◆ kedsum_callback()

static int kedsum_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

Largely the same as esperanza_ews, s3318p.

See also
esperanza_ews.c s3318p.c

Frame structure:

Byte:      0        1        2        3        4
Nibble:    1   2    3   4    5   6    7   8    9   10
Type:   00 IIIIIIII BBCC++++ ttttTTTT hhhhHHHH FFFFXXXX
  • I: unique id. changes on powercycle
  • B: Battery state 10 = Ok, 01 = weak, 00 = bad
  • C: channel, 00 = ch1, 10=ch3
  • + low temp nibble
  • t: med temp nibble
  • T: high temp nibble
  • h: humidity low nibble
  • H: humidity high nibble
  • F: flags
  • X: CRC-4 poly 0x3 init 0x0 xor last 4 bits

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

Variable Documentation

◆ kedsum

r_device kedsum
Initial value:
= {
.name = "Kedsum Temperature & Humidity Sensor, Pearl NC-7415",
.modulation = OOK_PULSE_PPM,
.short_width = 2000,
.long_width = 4000,
.gap_limit = 4400,
.reset_limit = 9400,
.decode_fn = &kedsum_callback,
.disabled = 0,
.fields = output_fields
}
Pulse Position Modulation. Short gap = 0, Long = 1.
Definition: r_device.h:12
static int kedsum_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Largely the same as esperanza_ews, s3318p.
Definition: kedsum.c:38
static char * output_fields[]
Definition: kedsum.c:92

◆ output_fields

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