rtl433  UNKNOWN
RTL-433 utility
infactory.c File Reference

inFactory outdoor temperature and humidity sensor. More...

Functions

static int infactory_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 inFactory Outdoor sensor transmits data temperature, humidity. More...
 

Variables

static char * output_fields []
 
r_device infactory
 

Detailed Description

inFactory outdoor temperature and humidity sensor.

Copyright (C) 2017 Sirius Weiß siriu.nosp@m.z@gm.nosp@m.x.net Copyright (C) 2017 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

Function Documentation

◆ infactory_callback()

static int infactory_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

inFactory Outdoor sensor transmits data temperature, humidity.

Transmissions also includes an id. The sensor transmits every 60 seconds 6 packets.

0000 1111 | 0011 0000 | 0101 1100 | 1110 0111 | 0110 0001
xxxx xxxx | cccc cccc | tttt tttt | tttt hhhh | hhhh ??nn
  • x: ID // changes on battery switch
  • c: Unknown Checksum (changes on every transmit if the other values are different)
  • h: Humidity // BCD-encoded, each nibble is one digit
  • t: Temperature // in °F as binary number with one decimal place + 90 °F offset
  • n: Channel // Channel number 1 - 3

Usage:

# rtl_433 -f 434052000 -R 91 -F json:log.json

Payload looks like this:

[00] { 4} 00             : 0000
[01] {40} 0f 30 5c e7 61 : 00001111 00110000 01011100 11100111 01100001

First row is actually the preamble part. This is added to make the signal more unique.

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

Variable Documentation

◆ infactory

r_device infactory
Initial value:
= {
.name = "inFactory",
.modulation = OOK_PULSE_PPM,
.short_width = 1850,
.long_width = 4050,
.gap_limit = 4000,
.reset_limit = 8500,
.tolerance = 1000,
.decode_fn = &infactory_callback,
.disabled = 0,
.fields = output_fields,
}
Pulse Position Modulation. Short gap = 0, Long = 1.
Definition: r_device.h:12
static int infactory_callback(r_device *decoder, bitbuffer_t *bitbuffer)
inFactory Outdoor sensor transmits data temperature, humidity.
Definition: infactory.c:39
static char * output_fields[]
Definition: infactory.c:85

◆ output_fields

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