rtl_433 icon indicating copy to clipboard operation
rtl_433 copied to clipboard

Handling a new device that is almost the same as an existing one

Open jpmv27 opened this issue 1 year ago • 4 comments
trafficstars

I recently purchased this device from AliExpress. It's not identified with a Make or Model, but seems to be the same as this ORIA WA50 on Amazon.

The sensors are decoded with protocol 47 and recognized as "Conrad-S3318P".

In fact, there are a few differences between my sensors and what is decoded:

  • my sensors only report temperature, not humidity (humidity is reported as 0)
  • my sensors do not have a button
  • the base and sensors do not support a channel selection; sensor 1 reports channel "2" and sensor 2 reports channel "3"

I will probably just live with this, but I was wondering how such a situation could be handled if I wanted to add a custom decoder for these sensors.

jpmv27 avatar May 24 '24 00:05 jpmv27

Salut @jpmv27 : You can add a data condition at the result , since humidity = 0% it's not human or into the desert or no humidity sensor ? Here

"humidity",         "Humidity",    DATA_COND, humidity != 0, DATA_FORMAT, "%u %%", DATA_INT, humidity,

You may have to open the temperature sensor to get a reference on the PCB for this kind of no name / rebrand sensor.

Enrich the comment section and append your reference into the name here, up to you.

ProfBoc75 avatar May 24 '24 07:05 ProfBoc75

Merci @ProfBoc75

Thank you for the hint. This is very clever. I am starting to discover the flexibility of the software.

jpmv27 avatar May 25 '24 14:05 jpmv27

A couple of questions.

  1. What is the relationship between the fields in data_make and those in output_fields? Does it matter that humidity will still be listed in output_fields even though it is conditional in data_make?
  2. I presume there is conversion happening somewhere, since the temperature is received from the sensor in degrees F but is output in degrees C. Correct?

jpmv27 avatar May 25 '24 14:05 jpmv27

The output_fields is just a hint to the CSV output, it defines the possible columns. There is a conversion option -C si (native, customary) or convert si in a conf file.

zuckschwerdt avatar May 25 '24 14:05 zuckschwerdt

@jpmv27 I am going to consider this resolved by the mentioned merge, unless you would like to explain what needs doing still, relative to up-to-date master. Adding feedback tag with 7-day timer.

gdt avatar Jun 23 '24 11:06 gdt

Yes, resolved. Thanks

jpmv27 avatar Jun 23 '24 12:06 jpmv27