-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 support for Bresser 6in1 #1172
Comments
Put the data into a BitBench like this, annotate with the expected readings and find out where the bits for that are. |
hi, i have new model of 5in1 (PN:7002580), which uses protocol of 6in1 . data seem to be ok, but not all strings are decoded. rain info is not true. sometime i received wrong temp and hum info. time : 2020-01-05 12:54:09 |
time : 2020-01-05 12:56:57 time : 2020-01-05 12:56:57 |
i found that temp under zero (-) not showing correctly. temperature -5.2 is received as 94 8a i add this workaround.
|
Thanks. Where did you put that, which decoder are you using? |
i am using modified bresser_5in1.c
|
finally i found, how checksum is calculated, but i dont have skills to programm it. it is computed by CheckSum8 2s Complement ,0x100 - Sum Of Bytes i used online calculator from: https://www.scadacore.com/tools/programming-calculators/online-checksum-calculator/ |
Good work. In other words the chk is a sum-8 remainder:
|
i got parity check working. i am able to receive message every 24sec, because every second message is not decoded. time : 2020-01-07 06:35:32 time : 2020-01-07 06:35:56 time : 2020-01-07 06:36:44 time : 2020-01-07 06:37:08 time : 2020-01-07 06:37:32 |
Hi. The coded chains show the temperature, humidity, wind speed and wind direction information. Undecoded strings show rain, wind speed and wind direction information. The information is transported in two different chains that alternate over and over every 12 seconds. |
i made test :) rain is an summary value since battery was inserted to outdoor unit. bresser_6in1_callback: {160} 55 a7 18 c0 0f 10 10 ff ff ff 24 88 ff ff ed ff 01 64 00 00 |
Valid checksum for both chains can be computed from bytes 2 to 17 and should be equal to: {160} aa 1b 18 c0 0f 10 18 ff bb ff 11 28 96 5a 89 ff f0 96 00 00 |
Yes, 15 bytes from 2 to 17, you can calculate checksum with included function: uint16_t crc = crc16(no_CRC_msg, 15, 0x1021, 0x0000); here no_CRC_msg is the msg array less the 2 first bytes, that are the checksum itself, it is a CRC-16/XMODEM, Poly x1021 and Init 0x0000. Tomorrow will check with s118 this rain decoding, by now we have saw that data with f0 in byte 16 are temperature, humidity and wind info, and those with 01 have wind info and rain info, but the station sends other data too, that we can ignore if we have rain in this 01 line, maybe athmosferical pressure is sent in these others messages or it is meassured in the receptor. Regards |
now i got all parameters , including checksums. hour, day, week and month rain values are computed in home assistant from cumulative rainfall value . bresser_6in1_callback: {160} ea 2c 18 c0 0f 10 18 ff ff ff 02 28 97 0a 92 ff f0 a7 00 00 time : 2020-01-09 10:20:12 time : 2020-01-09 10:20:24 time : 2020-01-09 10:20:36 time : 2020-01-09 10:20:48 time : 2020-01-09 10:21:00 time : 2020-01-09 10:21:24 time : 2020-01-09 10:21:36 |
yes |
Thanks, @rege245. The code that you posted above works for me, but (like you told) I can't get some messages. Could you post the full code, e.g. in a gist, so I can make it works?. Thanks a lot! |
try this with command: rtl_433 -R 119 -f 868.3M |
Thanks, but I meant the source code of the |
|
This is my weather station:
|
Hi @rege245, |
I also own this weather station (the display is a colored one though). Can I do anything to help implementing it? |
Model Number - 7002590 Wholey based on merbanan#1172
@f4gqk , if you still get wrong data , can you retry with latest git? there have been pcm decode improvements about 2 weeks ago, my decode/checksum problems went away with a sensor which is using similar protocol to bresser 5in1 (i pulled my hair out before because i did not get consistent results, i.e. there where bits wrong/shifting) |
Isn't the 5-in-1 code what we have in https://github.com/merbanan/rtl_433/blob/master/src/devices/bresser_5in1.c ? |
No, unfortunately this decoder does not work with the new Bresser 5-in-1 models. The new Bresser 5-in-1 models use the data format comparable to the Bresser 6-in-1 models (see the source code posted by @rege245 ). |
Thanks. So we have
I guess I'll merge all that work in progress in a single branch to test and refine. |
@jesusangel72 CRC is used in the wired communication, for the radio transmission it's an LFSR-16 digest. #1225 should support this now. There are some details open, let's further discuss in #1214. |
@f4gqk @rege245 @s118 @jesusangel72 @m-alzam @level20peon @mvdgrift can you test the code in #1225 and report your exact device name/product number with the ID+Status from the output in #1214? |
Hello,
I bought this weather station:
https://www.bresser.de/en/Weather-Time/Weather-Center/BRESSER-PC-Weather-station-with-6-in-1-outdoor-sensor.html
I managed to decode this:
I would like to decode the information to make it work with weewx.
How to do ?
Thank you
Sebastien
The text was updated successfully, but these errors were encountered: