Closed f4gqk closed 1 year ago
Hello,
Bresser 6in1 was added yesterday in rtl433_tests. https://github.com/merbanan/rtl_433_tests/tree/master/tests/bresser_6in1
How will the protocol be added in rtl_433?
Need some information? If so why ?
Or do we have to wait a while to add other protocols in the update?
I am ready to do the required manipulations if necessary.
Thanks Seb
Can you run rtl_433 -s 1M -X 'n=Bresser-6in1,m=FSK_PCM,s=100,l=100,r=2000'
and send us:
{240}d5552aaaaa859ea17d54184000260e30fd21ffdc8f6402182203fffc0f20 [Hum 10% Temp 12.3 C Wind 4.2 m/s ...]
{246}5555552aaa859ea2bd9086100009838c3f4867f3918f87fffffffff00b33fc [Hum 20% Temp 7.8 C Wind 2.3 m/s ...]
{"time" : "2019-12-03 14:29:58", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 192, "data" : "9555552a9542cf50cfe503080004c1c61f00000000000000"}], "codes" : ["{192}9555552a9542cf50cfe503080004c1c61f00000000000000"]} {"time" : "2019-12-03 14:29:58", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 17, "data" : "00000"}], "codes" : ["{17}00000"]} {"time" : "2019-12-03 14:30:10", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 169, "data" : "aaaa552aaa859ea0000000000000000000000000000"}], "codes" : ["{169}aaaa552aaa859ea0000000000000000000000000000"]} {"time" : "2019-12-03 14:30:10", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 45, "data" : "000000000000"}], "codes" : ["{45}000000000000"]} {"time" : "2019-12-03 14:30:10", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 17, "data" : "00000"}], "codes" : ["{17}00000"]} {"time" : "2019-12-03 14:30:22", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 245, "data" : "aa552a954aa167a83e5443080004c1c61fe67bff18eb0fffffffffe01147f8"}], "codes" : ["{245}aa552a954aa167a83e5443080004c1c61fe67bff18eb0fffffffffe01147f8"]} {"time" : "2019-12-03 14:30:34", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 246, "data" : "54aa55552a859ea1e40806100009838c3ff7bffe31d9003d887bfffc0663fc"}], "codes" : ["{246}54aa55552a859ea1e40806100009838c3ff7bffe31d9003d887bfffc0663fc"]} {"time" : "2019-12-03 14:30:46", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 244, "data" : "55555554aa167a8fcb32184000260e30ffdefff8c7443fffffffff8031eff"}], "codes" : ["{244}55555554aa167a8fcb32184000260e30ffdefff8c7443fffffffff8031eff"]} {"time" : "2019-12-03 14:30:58", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 248, "data" : "54aa552a9542cf50322fc3080004c1c61fe799ff9908801ec43e1ffe0108ff"}], "codes" : ["{248}54aa552a9542cf50322fc3080004c1c61fe799ff9908801ec43e1ffe0108ff"]}
[Hum 78% Temp 7.7 C Wind 0.8 m/s ...]
{"time" : "2019-12-03 14:33:22", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 248, "data" : "aa552a954aa167a8432210c20001307187f7bdff4020400f7a1ecfff00fcff"}], "codes" : ["{248}aa552a954aa167a8432210c20001307187f7bdff4020400f7a1ecfff00fcff"]}
[Hum 77% Temp 7.8 C Wind 2.2 m/s ...]
{"time" : "2019-12-03 14:35:46", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 246, "data" : "952a95554aa167a8c20f2184000260e30fef61fe1963003e087cfff8011ff8"}], "codes" : ["{246}952a95554aa167a8c20f2184000260e30fef61fe1963003e087cfff8011ff8"]} {"time" : "2019-12-03 14:35:58", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 244, "data" : "54aa55552a859ea3f84006100009838c3ff633ff32230fffffffffe015eff"}], "codes" : ["{244}54aa55552a859ea3f84006100009838c3ff633ff32230fffffffffe015eff"]} {"time" : "2019-12-03 14:36:10", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 248, "data" : "54aa552a9542cf5108467184000260e30ff32cffc045801f043e1ffe0119ff"}], "codes" : ["{248}54aa552a9542cf5108467184000260e30ff32cffc045801f043e1ffe0119ff"]} {"time" : "2019-12-03 14:36:22", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 244, "data" : "5554aa552a859ea0075f86100009838c3fcacffc657c3fffffffff80467fe"}], "codes" : ["{244}5554aa552a859ea0075f86100009838c3fcacffc657c3fffffffff80467fe"]}
[Hum 79% Temp 7.9 C Wind 1.5 m/s ...]
{"time" : "2019-12-03 15:36:34", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 241, "data" : "5554000000000000000000000000000000000000000000000000000000000"}], "codes" : ["{241}5554000000000000000000000000000000000000000000000000000000000"]} {"time" : "2019-12-03 15:36:46", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 244, "data" : "aa55552a9542cf507d7f06100009838c3ff63ffe311f0fffffffffe017f00"}], "codes" : ["{244}aa55552a9542cf507d7f06100009838c3ff63ffe311f0fffffffffe017f00"]}
[Hum 76% Temp 8.0 C Wind 0.9 m/s ...]
{"time" : "2019-12-03 15:38:34", "model" : "bresser", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 243, "data" : "5554aaaaaa167a81f620184000260e30ff32cffc0a88020043d9fffc1f9fe"}], "codes" : ["{243}5554aaaaaa167a81f620184000260e30ff32cffc0a88020043d9fffc1f9fe"]}
[Hum 76% Temp 8.0 C Wind 1.2 m/s ...]
Your data in a BitBench looks like this. I can't see the values.
Oh, it's actually (120µs not 100µs):
rtl_433 -s 1M -X 'n=Bresser-6in1,m=FSK_PCM,s=120,l=120,r=2500'
Can you again get data? Should look much better, like this:
{204}d55555555516ea2f550c4001618c7d47fd93b408c240fff8390
{208}555555555516ea57688c4001618c7d46fd933c7fffffffc05b7f
{207}d55555555516ea7c170c4001618c7e637e931c08c240fff83400
{208}555555555516ea623e8c4001618c7e3c7e94947fffffffc072ff
{208}555555555516ea140f0c4001618c7ddbfe132c7fffffffc0587f
{207}d55555555516ea10f40c4001618c7dce7e198408c240fff85bfe
{208}d55555555516ea41d70c4001618c7e3c7e14947fffffffc07300
{207}555555555516ea2e720c4001618c7ddd7e134c08c240fff80b00
{208}555555555516ea685e8c4001618c7cd6fd13247fffffffc05fff
But we need: [Hum 76% Temp 8.0 C Wind 1.2 m/s] :)
2019-12-03 18:57:35 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 206 data : 55555555545ba83e803100058631ff11fe6611ffffffff01cc00 codes : {206}55555555545ba83e803100058631ff11fe6611ffffffff01cc00
[Hum 96% Temp 3.8 C Wind 0.7 m/s ...]
time : 2019-12-03 20:34:12 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 205 data : 55555555545ba999263100058631fffffe66d006092bffe0cff8 codes : {205}55555555545ba999263100058631fffffe66d006092bffe0cff8
[Hum 95% Temp 3.0 C Wind 0.0 m/s ...]
time : 2019-12-03 20:35:48 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 199 data : 55555555545ba840523100058631ff77fe668000495fff0bbe codes : {199}55555555545ba840523100058631ff77fe668000495fff0bbe
[Hum 95% Temp 3.0 C Wind 0.4 m/s ...]
time : 2019-12-03 20:44:12 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 205 data : 55555555545ba94d063100058631fffffe665006092bffe14ff8 codes : {205}55555555545ba94d063100058631fffffe665006092bffe14ff8
time : 2019-12-03 20:44:24 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 206 data : 55555555545ba860703100058631fffffe6651ffffffff0135fc codes : {206}55555555545ba860703100058631fffffe6651ffffffff0135fc
[Hum 95% Temp 3.0 C Wind 0.0 m/s ...]
time : 2019-12-03 21:07:00 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 205 data : 55555555545ba924d23100058631ff99fe68b004e92dffe073f8 codes : {205}55555555545ba924d23100058631ff99fe68b004e92dffe073f8
[Hum 96% Temp 2.7 C Wind 0.4 m/s ...]
time : 2019-12-03 22:33:49 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 202 data : 55555555545ba813403100058631ff77fe6810050929ffe1180 codes : {202}55555555545ba813403100058631ff77fe6810050929ffe1180 [Hum 94% Temp 2.8 C Wind 0.4 m/s ...]
time : 2019-12-03 22:37:01 model : Bresser-6in1 count : 1 num_rows : 1 rows : len : 205 data : 55555555545ba98be83100058631fffffe6130050929ffe17800 codes : {205}55555555545ba98be83100058631fffffe6130050929ffe17800
[Hum 95% Temp 2.8 C Wind 0.8 m/s ...]
Here is a BitBench with the data collected.
Try out the PR #1225 for Temp and Hum so far.
I do not understand.
Do you have the information you were looking for or do you want something else?
Do you want me to enter data in BITCHEN format?
Thanks,
All is well. The BitBench is just to play and understand. Try https://github.com/merbanan/rtl_433/archive/feat-bresser6in1.zip
hello
Little question
Will the Bresser 6in1 protocol add to the list of protocols so that I can use the weather station with weewx.
Thanks
Yes. But it will take some time.
Do you use Windows or Linux? Can you test the code? Use #1225 or download the zip, then compile and run.
Ok for the developpement . I use Linux on Raspberry. I will test the code.
Thanks
HI,
any news with this device? Do you need data? How can we help?
BR Nikos
The solution but it's simple for me.
Would make RTL433 compatible with this weather station so that I can send the data on WEEWX because it is not recognized by the cable.
Thanks
Hi,
I also need the RTL decoding to feed the WEEWX. BR Nikos
I also own this weather station (the display is a colored one though). Can I do anything to help implementing it?
@f4gqk your recent data looks good in a BitBench
Shift by one bit and the expected sync word 2dd4
is visible.
The branch from #1225 does work, yes? We just need to figure out where the wind etc. data is.
We need annotated codes like this:
2dd4 30 38 18 80 02 c3 18 ff ff ff 33 28 ff ff ff ff 80 9a 7f [Hum 95% Temp 3.0 C Wind 0.0 m/s]
or this
{147} 5e aa 18 80 02 c3 18 fa 8f fb 27 68 11 84 81 ff f0 72 00 [Temp 11.8 C Hum 81%]
with which command line? because for now I only have code
git clone https://github.com/merbanan/rtl_433.git
cd rtl_433
git checkout feat-bresser6in1
mkdir build ; cd build ; cmake .. && make
./src/rtl_433
I am also hoping to get this working for the bresser 5-in-1 model 7002580, which I believe is the same as the 6-in-1
If there is any thing I can do to help, please let me know
I installed the latest version I get
time : 2020-08-15 09:50:30 model : Bresser-6in1 Temperature: 28.8 C Humidity : 36 Integrity : CHECKSUM bresser_6in1_callback: {147} 31 48 18 b0 08 87 18 ff ff ff 26 58 ff ff ff ff 01 18 00 bresser_6in1_callback: {149} 86 ee 18 b0 08 87 18 ff ff ff 26 58 28 80 36 ff c0 78 00
except of Temperature and Humidity no other readings are decoded. Did I miss something?
Nikos
Work in progress. So far nobody found other values in that data.
@nkpap can you log some of that data and annotate with the expected readings (see my 26 Feb comment)? Perhaps we can spot and add more fields.
Sure,
here are some data. Do you need more? Temperature: 29.5 C Humidity 52% Wdir 262 Wind 0 UV 0 Baro 990 Rain 0
time : 2020-08-20 09:40:03 model : Bresser-6in1 Temperature: 29.5 C Humidity : 52 Integrity : CHECKSUM bresser_6in1_callback: {149} 74 d4 18 b0 08 87 18 ff ff ff 26 28 ff ff ff ff 01 48 00 bresser_6in1callback: {150} 7a 29 18 b0 08 87 18 ff ff ff 26 28 29 54 52 ff f0 87 f8 _
Temperature: 29.5 C Humidity 52% Wdir 359 Wind 1.1 UV 0 Baro 990 Rain 0 time : 2020-08-20 09:43:39 model : Bresser-6in1 Temperature: 29.5 C Humidity : 52 Integrity : CHECKSUM bresser_6in1_callback: {150} 7a 05 18 b0 08 87 18 ff ff ff 35 88 ff ff ff ff 01 d9 f8 bresser_6in1_callback: {149} 63 9e 18 b0 08 87 18 fb ae fe 35 98 29 54 52 ff f0 5e 00
Temperature: 29.5 C Humidity 52% Wdir 84 Wind 0.9 UV 0 Baro 990 Rain 0
time : 2020-08-20 09:46:03 model : Bresser-6in1 Temperature: 29.5 C Humidity : 52 Integrity : CHECKSUM bresser_6in1_callback: {149} 34 3d 18 b0 08 87 18 fd b6 ff 08 48 ff ff ff ff 01 91 f8 bresser_6in1_callback: {149} 66 e9 18 b0 08 87 18 fe ff fe 08 48 29 54 53 ff f0 86 00
Temperature: 29.6 C Humidity 53% Wdir 269 Wind 0 UV 2.1 Baro 990 Rain 0.7
time : 2020-08-20 09:49:18 model : Bresser-6in1 Temperature: 29.6 C Humidity : 53 Integrity : CHECKSUM bresser_6in1_callback: {150} 22 d9 18 b0 08 87 10 ff ff ff 28 68 ff ff fd ab 01 64 00 bresser_6in1_callback: {149} da bd 18 b0 08 87 10 ff ff ff 28 48 29 64 53 fd e0 6e 00
Temperature: 29.7 C Humidity 53% Wdir 269 Wind 0 UV 2.1 Baro 990 Rain 1.2
time : 2020-08-20 09:53:18 model : Bresser-6in1 Temperature: 29.7 C Humidity : 53 Integrity : CHECKSUM bresser_6in1_callback: {150} 99 10 18 b0 08 87 10 ff ff ff 26 68 ff ff ed 8f 01 92 00 bresser_6in1_callback: {150} 43 53 18 b0 08 87 10 ff ff ff 26 78 29 84 53 fd e0 20 00
N.-
Hi all,
is there any progress on the Bresser 6in1? Here https://www.mail-archive.com/search?l=weewx-user@googlegroups.com&q=subject:%22%5C%5Bweewx%5C-user%5C%5D+Re%5C%3A+Bresser+6in1%22&o=newest&f=1 they claim to have a solution for weather stations with PC connected consoles. But what about radio?
BR Nikos
I could find wind dir and perhaps UV in the data, see this BitBench.
CHK?8h8h ID?8h8h8h8h8h 8h8h8h WDIR:12h 4h TEMP8h.4h ?4h HUM8h UV?~12h 4h 8h8h
The barometric pressure is likly not measured remote. Haven't spotted Wind speed or rain yet. Can you perhaps add more codes with interesting readings for wind and rain (paste here or link to a BitBench)?
I'll update the decoder later today
Rain is likely measured in "bucket tips" and accumulated, we are looking for a field with some value that increases when rain is reported.
Ideally to find the missing values you need to get the sensor indoors then tip the rain bucket by hand and observe which number in the codes increases. Slowly add single bucket tips to confirm. Maybe then pour a measured amount of water in and see how much water is one bucket tip or compare a counted number of tips to the console readout. For wind speed maybe rotate the sensor a different fixed speeds and observe where there is a matching number in the codes. I expect there to be two fields: gust (maximum) speed and average speed.
Still trying to learn how to read the code on BitBench. But like an earlyer comment will use this for my weewx
For weewx there is an extension and Bob that decode this has this information in py file there is some codes to read in this .py file
[https://github.com/BobAtchley/weewx-ws6in1/blob/master/bin/user/ws6in1.py ] (https://github.com/BobAtchley/weewx-ws6in1/blob/master/bin/user/ws6in1.py)
I have find wind speed and wind gust in the code. I have dubblecheck it to.
I have ventus w835 6in1 and is a copy of Bresser 6in1
In bitbench i used:
SYNC16h CHK?8h8h ID?8h8h8h8h8h SOME VALUE? 8h8h8h WIND DIR 8h4h ?4h TEMP8h.4h ?4h HUM8h RAIN?8h WIND SPEED / GUST 8h 8h 8h
The result is in this BitBench.
Thanks! I'Ve updated your format string to SYNC16h DIGEST:8h8h ID?8h8h8h8h FLAGS:4h BATT:1b CH:3d WSPEED:~8h~4h ~4h~8h WDIR 8h.4h ?4h TEMP8h.4h ?4h HUM8h UV/RAIN?8h8h CHKSUM:8h TRAILER:8h
.
"Trailer" is invalid, the 6-in-1 message is 18 bytes long, the last byte is a checksum, the last 16-bit before the checksum is known to be UV (and maybe rain?).
The wind speed is in byte 7-9 but inverted! So we known most of the fields now :)
Thanks! I'Ve updated your format string to
SYNC16h DIGEST:8h8h ID?8h8h8h8h FLAGS:4h BATT:1b CH:3d WSPEED:~8h~4h ~4h~8h WDIR 8h.4h ?4h TEMP8h.4h ?4h HUM8h UV/RAIN?8h8h CHKSUM:8h TRAILER:8h
. "Trailer" is invalid, the 6-in-1 message is 18 bytes long, the last byte is a checksum, the last 16-bit before the checksum is known to be UV (and maybe rain?).The wind speed is in byte 7-9 but inverted! So we known most of the fields now :)
I updated for what is correct for my code and i find specifik WSPEED and WGUST and added it i bitbench
The rain or uv is hard for me i have no uv recorded today because of dark and rainy weather in sweden so my uv is only 0 my rain today is 0,5 in mm as rain rate so i cant se if its uv or rain value because i only have 0 in the code or 0,1
But i added this in bitbench and synced it and for my code this is correct for me
SYNC16h DIGEST:8h8h ID?8h8h8h8h FLAGS:4h BATT:1b CH:3d WSPEED:~8h,~4h / WGUST ~4h,~8h WDIR 8h4h ?4h TEMP8h.4h ?4h HUM8h RAIN/UV? ~8h,8h CHKSUM:8h TRAILER:~8h
I think it's WGUST:~8h,~4h / WSPEED ~4h,~8h
not WSPEED:~8h,~4h / WGUST ~4h,~8h
. Otherwise looks good!
You can try #1225 which now includes these fields.
I think it's
WGUST:~8h,~4h / WSPEED ~4h,~8h
notWSPEED:~8h,~4h / WGUST ~4h,~8h
. Otherwise looks good! You can try #1225 which now includes these fields.
I tested it but the wind value goes wrong and for me the windspeed calculate gust and wind gust calculate windspeed 🤔
Strange. Gust is the bigger value and Average Speed the smaller one, right? Like in:
model : Bresser-6in1 id : 411042499
channel : 0 Battery : 0 Temperature: 11.8 C Humidity : 81 Wind Gust : 4.4 m/s Wind Speed: 3.5 m/s
Direction : 269 Rain? : 165 Flags : 1 Integrity : CRC
and
model : Bresser-6in1 id : 411042499
channel : 0 Battery : 0 Wind Gust : 6.5 m/s Wind Speed: 5.2 m/s Direction : 264 Rain : 0.0 mm
UV : 165.0 Flags : 1 Integrity : CRC
Strange. In bitbench for my codeing for Ventus 6in1 the value and wind check is avg speed first and then gust 🤔
I can check tomorrow again. But before i tested when i touch the wind pointer outside and same time decode it gave me the value like i wrote in bitbench 1,1 wspeed and 9,3 wgust in m/s mabey i need to change something in the bitbench code.
Check my codeing here, if i change to gust first and then avg speed it gives wrong value for me.
I see. the digits in the transmission are in a strange order: if you see 022 900
you need to read that as 02,2 and 00,9 -- that's what the decoder currently does.
I see. the digits in the transmission are in a strange order: if you see
022 900
you need to read that as 02,2 and 00,9 -- that's what the decoder currently does.
Ohh i see, I was confused at first but now i understand how i need to read it. So i change it to this now like what you described before with the wind.
I hope this is right now :)
The protocol named "6-in-1" (18 bytes data, digest+checksum) is used by multiple sensors. At least:
We need to figure out if there are flags in the data indicating the sensor type. Can everybody please report each of your exact sensor models with the ID from current #1225 output. ID should be like ID "1880 02c3 18" Exact model should include the branded name a product code (some longer number) and what type of sensor it is.
You can also analyze the data yourself, there are two different messages, one with temp/hum and one with rain:
bresser_6in1_decode: {144} 83 ae 18 80 02 c3 18 fc 78 fc 29 28 ff ff ff ff 01 cc
bresser_6in1_decode: {144} 5c e4 18 80 02 c3 18 fb ba fc 26 98 11 84 81 ff f0 16
^^^^^digest ^-.. wind ..-^ ^^^^^^^^ temp/hum or 0xff,rain
^^^^^^^^^^^^^^ id and flags ^^^^^ UV or unknown
I also checked wich stations are 6in1 and those who has same outdata:
Ventus w835 My Ventus w835 has data for Barometer Winddir 360° Windspeed Windgust Beaufort Temp Hum Dewpoint Heatindex Windchill UV Rain with raintipper Solarpanel/power for battery And my Ventus transmissions interval: 12 seconds for vind data 24 seconds for temperatur, hum, UV and rain dat
The other station with or close same output is Youshiko YC9388 Bresser 6in1 Garni 935PC
I still figuring out uv and rain
My uv is on 0 now and rainrate is 0 for specific today. My total rain is 5,8 mm and highest rain rait is 4,1 mm/hour
My id i got in code is 1910084d
Hmm i dont know how to find the specifik productcode
I checked my box that my station come with and it only have VENTUS W835 as name and what the station can do. Cant find any other number more then this number from the brand site
Sorry for spamming. Bur i mabey figuring out the last in the code. My rain rate check is 4,1 and the code shows when seperated uv and rain i got 014 in code.
Check my picture. Mabey is right mabey is wrong.
It's UV:8h 8h CHK:8h
-- your code is too long.
Rain is encoded in the temp/hum field.
179466
: 17.9 C, 66%ffedcb
: edcb ^ ffff = 1234
123.4 mmIt's
UV:8h 8h CHK:8h
-- your code is too long. Rain is encoded in the temp/hum field.
- with temp/hum
179466
: 17.9 C, 66%- with temp/hum
ffedcb
:edcb ^ ffff = 1234
123.4 mm
Thanks, yes UV is 0 here, then i remove rainrate 👍
Data of Weather Station Bresser 6in1 https://www.bresser.de/en/Weather-Time/Weather-Center/BRESSER-PC-Weather-station-with-6-in-1-outdoor-sensor.html
Frequency : 868.300 Mhz
decoding,pictures.... here Bresser6in1.zip