Open puterboy opened 1 month ago
It's extremely unlikely that your R900 is transmitting enough that rtlamr can't receive anything from your power meter. I'd fire up an application like SDR# and have a look at the spectrum between 902 and 928 MHz.
I am 99% sure it is the problem.
So pretty near certain problem is the R900.
One possibility is that the signal from the R900 is high enough power it's overloading the receiver, even though it's not within the sampled bandwidth, try reducing the dongle's gain.
I'd still recommend having a look at the received spectrum with something like SDR# before messing with rtlamr's settings.
If I am understanding things correctly, I think this rtl-sdr spectrum analyzer picture explains the problem... There seems to be a constant ~-44dB SNR signal at 912.040 MHz. Since the default center frequency for rtlamr is 912.6 MHz, this could explain the interference and why setting the center frequency to 911MHz seems to help a little.
Other than the coincidence of the R900 Neptune device being installed just when I started having trouble grabbing rtlamr signals, I don't know what else has changed around my house that would account for such a strong, new signal.
Any thoughts on what to troubleshoot and/or do beyond moving the center frequency of rtlamr away from 912MHz?
That is the DC offset of the receiver, it will always be present at 0 Hz (relative to the sampled spectrum), you'll find no matter where you tune, it'll follow you around.
In any case, rtlamr is immune to that spike because manchester coding has odd symmetry and it cancels out.
Can you provide a screenshot of the full 2.4 MHz of spectrum?
2.4MHz from where to where?
Set the receiver to 2.4 MHz sample rate, and tune to 912.6 MHz.
OK - meanwhile, btw, here is the spectrum from 911 to 913 MHz -- and you can see a clear spike at 912.04 MHz that is -53dB relative to the background of about -85dB
OK here is with 2.4MHz sample rate and tuned to 912.6 MHz
That looks suspiciously empty. What is the gain set to, and is AGC enabled?
Do you have another known-good receiver you can test with?
Sorry, I must have taken a bad snapshot. Here btw is one from another rtl_sdr dongle showing the same 912.04 MHz peak as in comment https://github.com/bemasher/rtlamr/issues/305#issuecomment-2270263681
Still suspiciously empty. I'd expect to see a much wider signal causing interference, or a lot of short bursts all over the spectrum.
What is your gain set to?
My gain is set to the default for Airspy-SDR. OK - maybe the problem is that I was using "Direct Sampling (I Branch)." When I switch to "Direct Sampling (Q Branch)" I get:
Is this more like what you would expect?
I should also note that the interference is less late at night -- as evidenced by the fact that in the past hour I have been able to pick up my electric meter even with the default center frequency. So the interference is presumably less at this hour.
You'll want quadrature sampling and max out the RF Gain slider, should be near 50dB. You're looking for short bursts like this, if you don't see any, I'm not sure what your specific problem is.
Ahhh... I had gain set to 0 (default) and I was not using quadrature samplling Here is what it looks like with Quadrature Sampling and AGC:
I assume those brief horizontal lines are what you are talking about... and that they correspond to AMR messages
And here it is with gain set to 30:
And here with gain set to 40:
But is it normal to have the more prominent, relatively constant noise centered at 912.04???
Now here is something really weird.. Correlating the "blackout" periods when I had trouble with reading my electric meter with the temperature, I found that the blackout periods were substantially hotter than the non-blackout periods -- this would explain why I rarely had blackouts during the late night (like last night) except during the most extreme heat spells. Conversely, today it is quite cool out (about low 70's) and the signal has been strong all day.
Some possibilities could include:
Given the key symptoms:
This has become quite the mystery for me...
I'm thinking more and more that you are right and that it's not the R900 -- indeed, I spoke to the city engineer and the R900 cellular unit doesn't broadcast anything in the 900MHz band but rather via an LTE network.
The strong temperature correlation has me suspecting our neighbors' AC (indeed with it being cool for the past 36 hours, I have consistently gotten an average of 3 readings per SECOND (12000+ plus per hour) from the electric meter vs. no signals for hours at a time during high outside temps.
Will know for sure soon since I got the city to swap out the LTE anyway for a 900MHz packet version -- it works for me since then I can read the packets using your rtlamr code and they get to redeploy the scarce cellular transmitters elsewhere where they need it.
I'll post back to confirm when I am certain.
Just a correction to my previous post - even the LTE device does have a 900MHz transmitter though it seems to transmit readings about every 2 hours This compares with up to about once per minute for standard packet R900 -- though the consumption data only changes at most once every 15 minutes (which is how often I believe it queries the register). I guess the city engineers don't even know the capabilities of the devices they are installing...
Also, it reports in 100ths of a cubic foot of water -- or just under 10oz which is not bad...
I have been using rltamr to read my electric meter for many months now without issue -- the meter transmits a message every couple of seconds.
About a month ago, I stopped receiving regular messages from the electric meter. Sometimes no messages would be sent for a day or more. When messages were sent, it was mostly for a couple of hours at night.
At first, I thought there was an issue with my electric meter signal transmission. Maybe the transmitter was getting flakey? Maybe it relied on a battery that was running low (though that seemed unlikely for an electric meter). Maybe the incredibly hot weather was causing the transmitter to fail during the hot days but worked a little during the cooler nights?
Then I remembered that our water company installed a new meter and transmitter. In particular, they moved from a local transponder to an LTE cellular one -- specifically a Neptune R900 -- which happens to operate in the 910-920 MHz range.
Unfortunately, the transmitter is only inches away from the electric meter. Using my laptop with an RTL-SDR dongle and antenna, I verified, that I could only get rtlamr packets) from in front of the meter or on the side opposite the Neptune R900. I couldn't get any signal in my house.
So it seems like the R900 transmission is almost completely blocking the electric meter rtlamr messages.
Given that the R900 uses a battery, I am surprised that it transmits seemingly constantly given that it essentially totally blocks the electric meter rtlamr signals that I know are transmitted about every 2 seconds. Perhaps it's faulty?
Alternatively, I will try to get the water company to move the transmitter further away from the electric meter.
Is there any way though to filter out the R900 signal?
Any other suggestions????