rtl433  UNKNOWN
RTL-433 utility
fineoffset_wh1050.c File Reference

Fine Offset WH1050 Weather Station. More...

Functions

static int fineoffset_wh1050_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 This module is a cut-down version of the WH1080 decoder. More...
 

Variables

static char * output_fields []
 
r_device fineoffset_wh1050
 

Detailed Description

Fine Offset WH1050 Weather Station.

2016 Nicola Quiriti ('ovrheat') Modifications 2016 by Don More

Function Documentation

◆ fineoffset_wh1050_callback()

static int fineoffset_wh1050_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

This module is a cut-down version of the WH1080 decoder.

The WH1050 sensor unit is like the WH1080 unit except it has no wind direction sensor or time receiver. Other than omitting the unused code, the differences are the message length and the location of the battery-low bit.

This weather station is based on an indoor touchscreen receiver, and on a 5+1 outdoor wireless sensors group (rain, wind speed, temperature, humidity. See the product page here: http://www.foshk.com/Weather_Professional/WH1070.html (The 1050 model has no radio clock).

Please note that the pressure sensor (barometer) is enclosed in the indoor console unit, NOT in the outdoor wireless sensors group. That's why it's NOT possible to get pressure data by wireless communication. If you need pressure data you should try an Arduino/Raspberry solution wired with a BMP180 or BMP085 sensor.

Data is transmitted in a 48 seconds cycle (data packet, then wait 48 seconds, then data packet...).

The 'Total rainfall' field is a cumulative counter, increased by 0.3 millimeters of rain each step.

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

Variable Documentation

◆ fineoffset_wh1050

r_device fineoffset_wh1050
Initial value:
= {
.name = "Fine Offset WH1050 Weather Station",
.modulation = OOK_PULSE_PWM,
.short_width = 544,
.long_width = 1524,
.reset_limit = 10520,
.disabled = 0,
.fields = output_fields,
}
static int fineoffset_wh1050_callback(r_device *decoder, bitbuffer_t *bitbuffer)
This module is a cut-down version of the WH1080 decoder.
Definition: fineoffset_wh1050.c:30
static char * output_fields[]
Definition: fineoffset_wh1050.c:93
Pulse Width Modulation with precise timing parameters.
Definition: r_device.h:13

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"id",
"temperature_C",
"humidity",
"speed",
"gust",
"wind_avg_km_h",
"wind_max_km_h",
"rain",
"rain_mm",
"battery",
NULL
}