Comments (11)
Ah, I think I got it now...
from rtl_433.
Example:
Byte #: 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Raw Data: 7E E0 6E BB AA FA 81 AA FA AA FA AA CA AA 2A A9 AA A9 2A AE AA 92 FA AA AA 00
De-whitened Data: D4 4A C4 11 00 50 2B 00 50 00 50 00 60 00 80 03 00 03 80 04 00 38 50 00 00 AA
^^ ^^ ID
^ SENSOR_TYPE=8 (raw)
^ STARTUP | CH=1 (raw)
^ ^^ ^ PM2.5=6
^ ^^ ^ PM10=8
^ BATT
from rtl_433.
Is it the same CRC? Then I'd use the sensor_type (b[6]
?) and split the output with an if
from rtl_433.
Yes, same CRC. Could you please give a little more detail on how to split the output? Is there an existing decoder which I could use as an example?
from rtl_433.
Hi Can we not use one CRC calc for most Bresser Stations /Sensors?
FYI way back in Issue 1214 feb 12 2021
(For Digest I use CCIT-16 :X16+X12+X5+1 CRCseed = All 0's) which is
CRC-16/XMODEM check-0x31C3 poly-0x1021 init-0x0000 false false 0x0000
You can use https://crccalc.com to test
Raw Data: 7E E0 6E BB AA FA 81 AA FA AA FA AA CA AA 2A A9 AA A9 2A AE AA 92 FA AA AA 00
CRC over 22 bytes 6E BB AA FA 81 AA FA AA FA AA CA AA 2A A9 AA A9 2A AE AA 92 FA AA
7ee0 > CRC = ok
De-whitened Data:D4 4A C4 11 00 50 2B 00 50 00 50 00 60 00 80 03 00 03 80 04 00 38 50 00 00 AA
FROM rtl_433/src/devices/bresser_7in1.c
631d 5c 09 e9 a1 8a ba ab aa aa aa aa a8 ad ac ba cf f9 ca fc aa aa aa a000000000000000000
631d > CRC = INVALID should be f05c
10b8 b4 a5 a3 ca 10 aa aa aa aa aa aa aa 8b ca cb aa aa 2a aa aa aa aa aa0000000000000000 [0.08 klx]
10b8 > CRC = ok
543b b4 a5 a3 ca 10 aa aa aa aa aa aa aa 8b ca cb aa aa 28 aa aa aa aa aa00000 [0.08 klx]
543b > CRC = ok
2492 b4 a5 a3 ca 10 aa aa aa aa aa aa aa 8b da cb aa aa 2d aa aa aa aa aa0000000000000000000 [0.08klx]
2492 > CRC = ok
9a59 b4 a5 a3 da 10 aa aa aa aa aa aa aa 8b da c8 af ea 28 a8 ca aa aa aa000000000000000000 [54.0 klx UV=2.6]
9a59 > CRC = ok
fe15 b4 a5 a3 da 10 aa aa aa aa aa aa aa 8b da cb ba 38 2a ac da aa aa aa00000000 [109.2klx UV=6.7]
fe15 > CRC = ok
2544 b4 a5 a3 2a 10 aa aa aa aa aa aa aa 8b da c8 8a aa aa be aa aa aa aa00000000000000 [200.000 klx UV=14
2544 > CRC = ok
7in1 outdoor = CRC-16/XMODEM over 22 bytes
Lightning = CRC-16/XMODEM over 7 bytes
Leakage = CRC-16/XMODEM over 5 bytes
PM2.5/PM10 = CRC-16/XMODEM over 22 bytes
6in1 outdoor = CRC-16/XMODEM over 15 bytes
F043 19 10 00 0F 18 FF FF FF 20 98 FF FF FF FF 01 FD
f043 > CRC = ok
from rtl_433.
The Bresser-7in1 works with CRC-16 of 0x1021? We found it to be a LFSR-16 generator 0x8810 -- but of course that could be wrong.
from rtl_433.
It makes sense to unify the checksum calculation across decoders if possible. There doesn't seem to be much different in terms of computation effort, though.
from rtl_433.
@matthias-bs If there is a PR that captures all the useful information in the issue, please close the issue. Otherwise, please add a comment summarizing what's in the issue and not the PR, why, and what you think the way forward is. Thanks!
from rtl_433.
See #2698
from rtl_433.
I have a Bresser air quality sensor and a rte-sdr v3 dongle. The PM10 value from the decoder seems to be wrong. The value on my lcd-display with the sensor gives other values. I tried to get some examples but the -vvv gives a lot of output so when I figured out how to catch only the air quality I will post an example
from rtl_433.
the -vvv gives a lot of output so when I figured out how to catch only the air quality
Try -R 173:vvv
from rtl_433.
Related Issues (20)
- mqtt connect: possible name resolution problem (unclear; needs actual debugging which is not happening) HOT 11
- [rtl_433_mqtt_hass.py] Topic prefix with slashes HOT 5
- DSC PG 9945 Contact Sensor HOT 6
- Not able to install last version on Pi 3 64 bits HOT 3
- Support for Ecowitt WH51 @868MHz HOT 1
- Enhance README to address messy librtlsdr situation HOT 6
- On ARMv71, crashes with first http connection HOT 4
- RTL-SDR Blog V4 HOT 10
- rtl_433 not recognizing Oregon Scientific PCR800 packets HOT 4
- Time for a new tag? HOT 1
- Wireless M-Bus length problem HOT 2
- Help decoding doorbell Wireless WiFi Tuya HOT 3
- Revolt-NC5462 has too many false decodes HOT 1
- Fineoffset-WH0290 Produces Duplicate Messages to the same MQTT Topic HOT 2
- Decoder desired for Mueller Systems Hot Rod transmitter (water meter) HOT 16
- Different data for Apollo Ultrasonic Oil Tank Sensor HOT 5
- Add ability to specify git version manually (when wanting git version but having deleted .git) HOT 8
- List of protocols/devices HOT 1
- Abode/AbodeRF 433Mhz sensors support (possible Climax rebrand) HOT 11
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 rtl_433.