Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ST389 temperature sensor for ORIA WA50 Wireless Digital Freezer Thermometer #2937

Merged
merged 4 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ See [CONTRIBUTING.md](./docs/CONTRIBUTING.md).
[44] CurrentCost Current Sensor
[45] emonTx OpenEnergyMonitor
[46] HT680 Remote control
[47] Conrad S3318P, FreeTec NC-5849-913 temperature humidity sensor
[47] Conrad S3318P, FreeTec NC-5849-913 temperature humidity sensor, ORIA WA50 ST389 temperature sensor
[48] Akhan 100F14 remote keyless entry
[49] Quhwa
[50] OSv1 Temperature Sensor
Expand Down
5 changes: 3 additions & 2 deletions conf/rtl_433.example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ convert si
protocol 44 # CurrentCost Current Sensor
protocol 45 # emonTx OpenEnergyMonitor
protocol 46 # HT680 Remote control
protocol 47 # Conrad S3318P, FreeTec NC-5849-913 temperature humidity sensor
protocol 47 # Conrad S3318P, FreeTec NC-5849-913 temperature humidity sensor, ORIA WA50 ST389 temperature sensor
protocol 48 # Akhan 100F14 remote keyless entry
protocol 49 # Quhwa
protocol 50 # OSv1 Temperature Sensor
Expand Down Expand Up @@ -478,11 +478,12 @@ convert si
protocol 249 # Bresser lightning
protocol 250 # Schou 72543 Day Rain Gauge, Motonet MTX Rain, MarQuant Rain Gauge, TFA Dostmann 30.3252.01/47.3006.01 Rain Gauge and Thermometer, ADE WS1907
protocol 251 # Fine Offset / Ecowitt WH55 water leak sensor
protocol 252 # BMW Gen5 TPMS, multi-brand HUF, Continental, Schrader/Sensata
protocol 252 # BMW Gen4-Gen5 TPMS and Audi TPMS Pressure Alert, multi-brand HUF/Beru, Continental, Schrader/Sensata, Audi
protocol 253 # Watts WFHT-RF Thermostat
protocol 254 # Thermor DG950 weather station
protocol 255 # Mueller Hot Rod water meter
protocol 256 # ThermoPro TP28b Super Long Range Wireless Meat Thermometer for Smoker BBQ Grill
protocol 257 # BMW Gen3 TPMS

## Flex devices (command line option "-X")

Expand Down
6 changes: 4 additions & 2 deletions src/devices/s3318p.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Largely the same as esperanza_ews, kedsum.

Also NC-5849-913 from Pearl (for FWS-310 station).

Also ST389 sensor for ORIA WA50 Wireless Digital Freezer Thermometer (no humidity)

Transmit Interval: every ~50s.
Message Format: 40 bits (10 nibbles).

Expand Down Expand Up @@ -102,7 +104,7 @@ static int s3318p_callback(r_device *decoder, bitbuffer_t *bitbuffer)
"channel", "Channel", DATA_INT, channel,
"battery_ok", "Battery", DATA_INT, !battery_low,
"temperature_F", "Temperature", DATA_FORMAT, "%.2f F", DATA_DOUBLE, temp_f,
"humidity", "Humidity", DATA_FORMAT, "%u %%", DATA_INT, humidity,
"humidity", "Humidity", DATA_COND, humidity != 0, DATA_FORMAT, "%u %%", DATA_INT, humidity,
"button", "Button", DATA_INT, button,
"mic", "Integrity", DATA_STRING, "CRC",
NULL);
Expand All @@ -125,7 +127,7 @@ static char const *const output_fields[] = {
};

r_device const s3318p = {
.name = "Conrad S3318P, FreeTec NC-5849-913 temperature humidity sensor",
.name = "Conrad S3318P, FreeTec NC-5849-913 temperature humidity sensor, ORIA WA50 ST389 temperature sensor",
.modulation = OOK_PULSE_PPM,
.short_width = 1900,
.long_width = 3800,
Expand Down
Loading