Giter Site home page Giter Site logo

Comments (3)

xaelsouth avatar xaelsouth commented on September 3, 2024

The idea behind the code snippet you referenced - "if (rssi < PACKET_CAPTURE_THRESHOLD) { reset_t1_c1_packet_decoder(decoder); }" - was as follows:

Stop receiving by resetting the state machine if the signal currently being received gets weaker und falls below a threshold = PACKET_CAPTURE_THRESHOLD. So we don't waste time with a weak signal, which we probably would never have received at good quality, and prepare us to receive the stronger signal instead. It's assumed that the stronger signal could begin even before the weak signal is completely gone!

A collision occurs when a weaker signal is going to be overlapped by a stronger one, not the oher way around.

You can disable this kind of collision detection by setting PACKET_CAPTURE_THRESHOLD = 0.

Collisions should not occure equally often, assuming sending datagrams is correct implemented. Each device maintains a pseudo-random offset to sending time, which should help to eliminate cycling and collisions in sending schemas.

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on September 3, 2024

To device's battery status which is reported to be ok. Batteries embedded in metering devices are often not very powerful to provide enough current to RF transceiver for sending datagrams. A small electrolytic capacitor near to the battery solves the problem with load peaks. May be that the capacity is to small or degrades with time or is too sensitive to external temperature, so that your device is sending with less power?..

from rtl-wmbus.

pswiatki avatar pswiatki commented on September 3, 2024

It is possible, but all water meters in the vicinity come from the same water company - I believe they are the same type (and the mandatory replacement dates are not too far away). So, if there is a hardware malfunction, it is in my own meter, because I can easily pick up other, more distant ones and the reported RSSI is much higher. By the way, I also have the power meter (amiplus) in the basement of the building and its reported RSSI is always well above 130. Must be very strong transmitter (signal goes through a thick, brick/concrete floor and several meters up to the RX antenna (which it hits from a wacky angle of 90 degrees to the boom of the 10-element yagi). Yet, it doesn't affect the RSSI level a single bit. But hey - power is not an issue for.... a power meter, right? ;)

Frankly speaking: I had a plan to make a portable scanner (perhaps the RPi running wmbusmeters and GPS) and somehow conceal the yagi, then go for a walk ;) It would give me a pretty good idea of what I should expect from my own meter (compared to other meters with their known locations and therefore also distances from my original RX rig in the house.

from rtl-wmbus.

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.