Giter VIP home page Giter VIP logo

Comments (8)

matthias-bs avatar matthias-bs commented on May 29, 2024

Yes, this is a known bug inherited with the 6-in-1 decoder from the rtl_433 project. There already seems to be a fix:
merbanan/rtl_433#2184

I did not find the time to catch up with it yet. I fear it will have to wait until after christmas...

from bresserweathersensorreceiver.

franki29 avatar franki29 commented on May 29, 2024

Hi @sgtJohnny , a quick fix is to change in WeatherSensor.cpp line 760:

rain_ok = msg[12] <= 0x99 && msg[13] <= 0x99 && msg[14] <= 0x99;
to
rain_ok = msg[12] <= 0x65 && msg[13] <= 0x99 && msg[14] <= 0x99;

from bresserweathersensorreceiver.

matthias-bs avatar matthias-bs commented on May 29, 2024

The maintainers of the rtl433_project are not entirely convinced of this fix, but on the other hand it's better than nothing...

from bresserweathersensorreceiver.

franki29 avatar franki29 commented on May 29, 2024

Hi, yes that is right as we do not know if it works for other version of the Bresser Sensor, but for me and some others that have the same outdoor sensor it is working. There is also a second solution, but than you get a compile error.

from bresserweathersensorreceiver.

MacH-21 avatar MacH-21 commented on May 29, 2024

Sorry do not know how I was linked to this post

from bresserweathersensorreceiver.

matthias-bs avatar matthias-bs commented on May 29, 2024

That's fine - we are watching your efforts in the rtl_433 project with great interest! ;-)

from bresserweathersensorreceiver.

sgtJohnny avatar sgtJohnny commented on May 29, 2024

I have fixed locally, for me both solutions work
rain_ok = msg[12] <= 0x65 && msg[13] <= 0x99 && msg[14] <= 0x99;
of like in the post on rt433:
rain_ok = (msg[16] & 0x01);

from bresserweathersensorreceiver.

matthias-bs avatar matthias-bs commented on May 29, 2024

Still testing, but looks good:
https://github.com/matthias-bs/BresserWeatherSensorReceiver/blob/test-6in1-protocol/src/WeatherSensor.cpp

from bresserweathersensorreceiver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.