RTL-SDR EAS Monitoring Help

itsj4y

Member
Premium Subscriber
Joined
Sep 25, 2024
Messages
12
Just received my RTL-SDR v3. I'm wanting to receive and decode EAS S.A.M.E. alerts in near real time. From my research it looks like I will need to use multimon-ng and dsame but I'm not clear on how to set this up. Ideally end goal would be receive the alerts decode the message and use it in Node-RED for some home automation routines. I've currently got the dongle setup to monitor local EMS and have that working with SDRTrunk and I presume I will need a second to be able to monitor both. But I would like to get the EAS working before I purchase a second dongle.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,580
Location
Massachusetts
Have you considered using InteractiveNWS as your source for alerts in node-red? Probably not as satisfying as getting it set up using an rtl-sdr, but perhaps lots easier.

use N-R to monitor for the alert emails, then parse them for the appropriate info to trigger the home automation.
 

itsj4y

Member
Premium Subscriber
Joined
Sep 25, 2024
Messages
12
Look at the sample script here:

Unclear as to where exactly that is to be used. I am not a CLI expert by any stretch of the imagination. Seems like this would more than likely be a Linux use case?
Have you considered using InteractiveNWS as your source for alerts in node-red? Probably not as satisfying as getting it set up using an rtl-sdr, but perhaps lots easier.

use N-R to monitor for the alert emails, then parse them for the appropriate info to trigger the home automation.
I currently have NodeRed polling the NWS API but its a rather convoluted process requires internet and can take up to 2 minutes to actually deliver the alert. My thinking is with the rtl-sdr I could still receive the alerts even if the internet is down and it would be more real time than polling the API.
 

dickie757

Wired
Joined
Apr 25, 2017
Messages
439
Location
Out of range
Look here for Windows stuff....the zip includes a .dll, a readme, and .exe

Python isnt as daunting as it seems. I think the hardest part is including the installed location into PATH. So, it looks like Windows may work.
 

itsj4y

Member
Premium Subscriber
Joined
Sep 25, 2024
Messages
12
Look here for Windows stuff....the zip includes a .dll, a readme, and .exe

Python isnt as daunting as it seems. I think the hardest part is including the installed location into PATH. So, it looks like Windows may work.
That repository seems to be quite outdated. The active repository GitHub - EliasOenal/multimon-ng does not have the Windows files. I am fine with using a Linux system.

I have a few raspberry Pi's, a server that I can run multiple VMs and several older systems I can dedicate. I'm just having a time figuring out exactly where to start.

I currently have DragonOS on a Pi4. I'm running:
Code:
python /home/ubuntu/Downloads/dsame-master/dsame.py --source /home/ubuntu/Downloads/dsame-master/shource.sh --text > /home/ubuntu/Downloads/dsame-master/Alerts.txt
source.sh
Code:
#!/bin/sh
echo INPUT: rtl_fm Device 1>&2
PPM=0
FREQ=162.550M
GAIN=42
until rtl_fm -f ${FREQ} -M fm -s 22050 -E dc -p ${PPM} -g ${GAIN}  -|  multimon-ng -t raw -a EAS /dev/stdin; do
    echo Restarting... >&2
    sleep 2
done

Terminal output is:
Code:
INPUT: rtl_fm Device
multimon-ng 1.1.9
  (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA
  (C) 2012-2020 by Elias Oenal
Available demodulators: POCSAG512 POCSAG1200 POCSAG2400 FLEX EAS UFSK1200 CLIPFSK FMSFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW DUMPCSV X10 SCOPE
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
Tuner gain set to 42.10 dB.
Tuned to 162803575 Hz.
Oversampling input by: 46x.
Oversampling output by: 1x.
Buffer size: 8.08ms
Exact sample rate is: 1014300.020041 Hz
Sampling at 1014300 S/s.
Output at 22050 Hz.

Does this look correct?
 

itsj4y

Member
Premium Subscriber
Joined
Sep 25, 2024
Messages
12
Well after storms came through last night I got no output from this so obviously something is wrong
 

dickie757

Wired
Joined
Apr 25, 2017
Messages
439
Location
Out of range
Then what is that frequency? I dont have the NOAA channels memorized, but I think they start around 162.400 and go up to 162.550 in 25 kHz increments.

Edit...
For grins, subtract 162.55 from 162.803575, then subtract the difference from 162.55 and enter that as freq in source.sh
 

itsj4y

Member
Premium Subscriber
Joined
Sep 25, 2024
Messages
12
Then what is that frequency? I dont have the NOAA channels memorized, but I think they start around 162.400 and go up to 162.550 in 25 kHz increments.

Edit...
For grins, subtract 162.55 from 162.803575, then subtract the difference from 162.55 and enter that as freq in source.sh
Yes it was supposed to be 162.550Mhz not really sure why it would tune to another frequency.. I have noticed in SDRTrunk it tunes to a little off of the control frequency as well but that still works.

I see what you’re saying I’ll give that a try and see what it tunes to.
 
Top