rtl_433 icon indicating copy to clipboard operation
rtl_433 copied to clipboard

old tiny AVIDSEN Weather station

Open jcmichot opened this issue 2 years ago • 1 comments

I have a very old AVIDSEN Weather station, the temperature and battery decoded by generic_temperature_sensor.c is fully false.

If that may be usefull to someone, after few log analyze, i'm able to decode the right values with:

temp_raw = (int16_t)(((b[1] & 0x3f) * 10) | (b[2] & 0xf));
battery = (b[2] & 0x80) ? 1:0;
if ( b[1] & 0x80 ) // temperature negative
    temp_f = (float) temp_raw*-0.1f;
else
    temp_f = (float) temp_raw*0.1f;

Regards, JC

jcmichot avatar Mar 21 '22 22:03 jcmichot

The * 10 seems to indicate that it's BCD? Then you should use +. But it's only BCD on the decimal, right? With 0x3f on the integer part that allows up to +/-63 C, which seems reasonable. But is it really not 0x7f with +/- 127 C?

If you could provide more details on what model that is and a sample .cu8 we can add that decoder.

zuckschwerdt avatar Mar 23 '22 10:03 zuckschwerdt

@jcmichot Are you up for figuring this out more fully and submitting a PR?

gdt avatar Sep 30 '23 22:09 gdt

I have lost this old AVIDSEN Weather stations during a move, so I can no longer provide any information. Maybe it's at the bottom of a box that I'll find next time I move ;-)

jcmichot avatar Oct 01 '23 17:10 jcmichot