Comments (7)
Let's see what happens if the rain continues and your sensor crosses the 999.9 mm mark.
from bresserweathersensorreceiver.
Hi,
thank you for reporting. The decoder function was taken from the rtl_433 project, i.e. rtl_433/blob/master/src/devices/bresser_5in1.c.
I always wondered why the rain counter has such a small range, but I failed to compare it to the manual.
Considering this and the fact that the upper nibble of msg[24] is currently considered as unused, I'd say you are right!
The following example also gives a hint in the same direction:
https://github.com/merbanan/rtl_433/blob/7d5129786b35287f503a0af1d6243fd59e0db0da/src/devices/bresser_5in1.c#L33
BTW: Which device/manual are you referring to? 2022-04-Manual_7002510_Weather-Center-5in1_de-en_BRESSER_v042022a.pdf states "Rainfall measuring range: 0...9999 mm". So, the rain counter value could in fact extend into msg[25], which also contains the battery state (bit 7) and the temperature sign (bit 3). That would mean that the rain counter MSB would be somewhere in bits 6:4 and 2:0. That seems a little strange...
See https://github.com/merbanan/rtl_433/blob/7d5129786b35287f503a0af1d6243fd59e0db0da/src/devices/bresser_5in1.c#L42
Regards
Matthias
from bresserweathersensorreceiver.
Hi,
thank you for reporting. The decoder function was taken from the rtl_433 project, i.e. rtl_433/blob/master/src/devices/bresser_5in1.c. I always wondered why the rain counter has such a small range, but I failed to compare it to the manual. Considering this and the fact that the upper nibble of msg[24] is currently considered as unused, I'd say you are right! The following example also gives a hint in the same direction: https://github.com/merbanan/rtl_433/blob/7d5129786b35287f503a0af1d6243fd59e0db0da/src/devices/bresser_5in1.c#L33
BTW: Which device/manual are you referring to? 2022-04-Manual_7002510_Weather-Center-5in1_de-en_BRESSER_v042022a.pdf states "Rainfall measuring range: 0...9999 mm". So, the rain counter value could in fact extend into msg[25], which also contains the battery state (bit 7) and the temperature sign (bit 3). That would mean that the rain counter MSB would be somewhere in bits 6:4 and 2:0. That seems a little strange... See https://github.com/merbanan/rtl_433/blob/7d5129786b35287f503a0af1d6243fd59e0db0da/src/devices/bresser_5in1.c#L42
Regards Matthias
OOps, your are right the manual states 9999mm (page 9 in German folder) as max value.
Wert | Bereich |
---|---|
Temperatur - Einheit | °C / °F |
Temperatur-Messbereich | -40 °C ... 60 °C |
Luftfeuchtigkeits_Messbereich | 1% ... 99 % |
Niederschlags-Einheit | mm, inch |
Niederschlags-Messbreich | 0 ... 9999 mm ( 0 ... 397.7 inch) |
Windgeschwindigkeit Einheit | mph, ms/s , km/h , knot |
Windgeschwindigkeit Messbereich | 0...112 mph, 0...50 m/s , 0...180 km/h, 0...97knots |
Windrichtungs-Anzeigen | 16 |
from bresserweathersensorreceiver.
Let's see what happens if the rain continues and your sensor crosses the 999.9 mm mark.
I don't need a flood. Well I think it will take years for the counter to jump to 9999.9mm. Before that surly the battery is low, and then I will see if the counter then starts again at 0.
Cheers Andreas
p.s.
But I am wondering about something else. It is unbelievable how many bytes are wasted for this simple XOR check. Wouldn't it have made more sense to use an error correction like Reed-Solomon instead? As far as I have observed, mostly just single bytes within the frame are broken, which could be easily rescued with an error correction.
OK, actually we have to be glad that the frame was defined super-simple. Only then it was possible to guess the unknown format.
from bresserweathersensorreceiver.
@aanban I created a pull request in the rtl_433 project according to your finding. Hope this is o.k. for you...
from bresserweathersensorreceiver.
@aanban I created a pull request in the rtl_433 project according to your finding. Hope this is o.k. for you...
Everything is perfect, thanks for doing this for me.
I also have a small addendum. Meanwhile, the battery of my 5in1 outdoor station was empty, so I had to replace it some days ago. Doing so, the rainfall counter jumps to 0. Probably we will not get out so easily what happens when the counter jumps from 999.9 mm to 1000.0mm, i.e. where to find it within the frame.
from bresserweathersensorreceiver.
O.k., thank you for your message. My rain gauge is currently at 410mm - let's see if the batteries last until an overflow occurs...
from bresserweathersensorreceiver.
Related Issues (20)
- Upgraded to 0.20.0 from 0.19.5, now no data is received HOT 13
- Compile Error Wemos D1 mini with CC1101 with MQTT custom HOT 8
- Trouble with Heltec ESP32 WiFi LoRa 32(V3) / Wireless shell(V3) / Wireless stick lite (V3) SX1262 HOT 14
- Does it work with Bresser 3in1 as well? HOT 2
- Compatibility RFplayer HOT 1
- Radio sleep before ESP deep sleep to lower Power drain HOT 1
- decodeBresserLightningPayload(): Change counter decoding from binary to BCD
- Rain gauge no hour, day or week rapport HOT 3
- Config isn't saved HOT 4
- Unify RainGauge and Lightning classes
- New library -> adjust examples HOT 5
- MQTT example error affter upgrade
- Board Heltec WiFi Kit 32(V3) will not select SX1262 but SX1276 HOT 1
- Add support for Bresser CO2 PN 7009977 and HCHO/VOC PN 7009978 sensors
- Request for testing with Bresser CO2 sensor (P/N 7009977)
- Request for testing with Bresser HCHO/VOC sensor (P/N 7009978)
- Potential mix of weather sensor data using 6-in-1 decoder
- What receiver do you recommend? HOT 5
- rain implementation -> renew examples HOT 4
- Can't flash on Lilygo T3 V1.6.1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bresserweathersensorreceiver.