Coder Social home page Coder Social logo

Comments (8)

pswiatki avatar pswiatki commented on June 2, 2024 1

When you say 99.7 FM is

perfectly centered

what do you mean?
Check the FFT bin size and video bandwidth resolution. Perhaps when you zoom in on the peak you will see some (slight?) offset you could apply in your wmbus tests? Also, I believe wmbus transmissions will not be exactly at the centre frequency and always be offset by a known value (not sure if this may be thought of as a particular channel the device is TXing on) - which is the reason the channel decoder must take a wider chunk of spectrum around the centre freq.

If the above is true, a slight offset of your RX device should not matter much - I am pretty sure the decoder detects and corrects for this offset providing it doesn't exceed some limit (say, channel boundary).

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on June 2, 2024

Hello James.

Well, T1 mode means your device is sending at 868.95M. I suggest you to try with

rtl_sdr -f 868.95M -s 1600000 - 2>/dev/null | build/rtl_wmbus

You probably have to play in 20..25 kHz steps with "-f" option around the center frequency (868.95M) . Some RTL-SDR-Dongles can't tune precisely enough to that freq and must be tuned manually to it.

Xael

from rtl-wmbus.

jamescarter avatar jamescarter commented on June 2, 2024

Hi Xael, thanks a lot for the super quick response! I've been playing around with a few things based on you help

When I check out a public FM frequency 99.7M it's perfectly centered, but perhaps that's because it's a strong signal.

Since you confirmed I should be looking at 868.95M I see literally nothing there, but instead see between:

  • 868.44 - 868.56 (lines)
  • 869.4 - 869.65 (squares)

Screenshot_20220819_200153

I've been playing around with the frequencies (manually) andalso wrote a little script to help test however I'm not getting any success. I'm starting to wonder if these are wmbus signals or not now.

I'm thinking perhaps I need to isolate the problem - create a faraday cage around my antenna and sit on-top of my water meter and see if that picks anything up.

FYI this is the simple script, it listens for 14s before moving onto the next frequency off center (I've tried in 25 and 5kHz steps too)

#!/bin/bash
BASE_FREQ_HZ=868950000
SAMPLE_RATE_HZ=1600000
GAIN_DB=20
STEP_HZ=20000
TIMEOUT=14s

echo "Base:      with frequency      $BASE_FREQ_HZ"
timeout $TIMEOUT rtl_sdr -f $BASE_FREQ_HZ -s $SAMPLE_RATE_HZ -g $GAIN_DB - 2>/dev/null | rtl_wmbus

for i in {1..15}
do
  freq_up=$(($BASE_FREQ_HZ + ($STEP_HZ * $i)))
  freq_dn=$(($BASE_FREQ_HZ - ($STEP_HZ * $i)))

  echo "Step: $i with frequency up   $freq_up"
  timeout $TIMEOUT rtl_sdr -f $freq_up -s $SAMPLE_RATE_HZ -g $GAIN_DB - 2>/dev/null | rtl_wmbus
  
  echo "Step: $i with frequency down $freq_dn"
  timeout $TIMEOUT rtl_sdr -f $freq_dn -s $SAMPLE_RATE_HZ -g $GAIN_DB - 2>/dev/null | rtl_wmbus
done

from rtl-wmbus.

pswiatki avatar pswiatki commented on June 2, 2024

When you say 99.7 FM is

perfectly centered

what do you mean?
Check the FFT bin size and video bandwidth resolution. Perhaps when you zoom in on the peak you will see some (slight?) offset you could apply in your wmbus tests? Also, I believe wmbus transmissions will not be exactly at the centre frequency and always be offset by a known value (not sure if this may be thought of as a particular channel the device is TXing on) - which is the reason the wmbus decoder must take a wider chunk of spectrum around the centre freq.

from rtl-wmbus.

jamescarter avatar jamescarter commented on June 2, 2024

@pswiatki no doubt I'm showing my lack of experience saying perfect centered, but I mean it looks like this:

99 7

I tried putting a big old metal pot over my antenna while on top of my water meter, and while it dimmed most of the signals in my previous comment, I didn't see anything new or continue to be strong. So I am suspecting my meter isn't actually transmitting, or certainly not every 12 seconds like the PDF indicated. I didn't notice anything over several minutes.

I think it may be better to close this ticket until I can try and detect something that I know actually comes from the meter and not elsewhere

from rtl-wmbus.

pswiatki avatar pswiatki commented on June 2, 2024

Yeah, from the picture above it sure looks like nicely centred. Thing is: 1 tick on the freq axis is 100 kHz. If your offset was, say, 5 kHz - could you actually see it (given that it is a live transmission and spectrum is dynamic, changes all the time.
But then again: would such offset matter for the wmbus decoder? I posit: no, it would not.

from rtl-wmbus.

jamescarter avatar jamescarter commented on June 2, 2024

Thank you both for your advice, I am going to close this as I've been unable to determine if there's any signal coming from the meter (or if there is.. which one it is).. I'll do some more testing when I have some more time :)

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on June 2, 2024

Hello James.

  1. Check if the radio is enabled by your water supplier at all. It' s not always the case! Your device has an another (pulse) interface for reading consumption values, but it's unlikely going to be used.

  2. your supplier can still read consumption values just by walk in and writing down the reading value on the paper :) Or you have to tell him values monthly or yearly by phone or via customer portal.

  3. do you have any reading infrastructure there, like data collectors? I have seen use cases, in which water meters have sent data to installed data collectors only twice in a month - on 1th and 16th :)

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.