Code Monkey home page Code Monkey logo

meshtastic-same-eas-alerter's Introduction

Meshtastic SAME EAS Alerter

The Meshtastic SAME EAS Alerter is a lightweight tool designed to forward warnings, emergencies, or statements sent over the air to a local Meshtastic network. It operates without needing a WiFi connection. The setup involves connecting the hosting computer to an RTL SDR via USB and to a running Meshtastic node via serial or TCP.

Flood Example

๐Ÿ’ฟ Installation

Installation example for Raspbian

  1. Install rtl_fm.
    follow these instructions

  2. Install Meshtastic-SAME-EAS-Alerter

# Download the updated .deb file
wget https://github.com/RCGV1/Meshtastic-SAME-EAS-Alerter/releases/download/v<VERSION_NUMBER_HERE>/Meshtastic-SAME-EAS-Alerter_<VERSION_NUMBER_HERE>_arm64.deb

# Install the .deb package
sudo dpkg -i Meshtastic-SAME-EAS-Alerter_<VERSION_NUMBER_HERE>_arm64.deb

# Fix any dependency issues
sudo apt-get install -f

Other operating systems may have a different installation

๐Ÿ–‹๏ธ Usage

RTL FM input

  • You must pass in the input from an rtl fm stream
  • For a detailed installation guide of rtl_fm check out the Installation instructions
  • Set the desired frequency to the nearest National Weather Service radio station typically in the 162.40 to 162.55 MHz range
rtl_fm -f <FREQUENCY_IN_HZ_HERE> -s 48000 -r 48000 | Meshtastic-SAME-EAS-Alerter

The frequency input is in Hz not MHz

help

Meshtastic-SAME-EAS-Alerter --help

ports

  • Find all available serial ports
  • Find the port your Meshtastic node is connected to
Meshtastic-SAME-EAS-Alerter --ports

port

Meshtastic-SAME-EAS-Alerter --port <MESHTASTIC_PORT_HERE>

host

  • Enter the address of the TCP host to connect to, in the form of IP:PORT
Meshtastic-SAME-EAS-Alerter --host <TCP_HOST_HERE>

alert channel

  • Input the channel number that alerts will be sent to
  • By default, (if nothing is provided) alerts will be sent to channel number 0
Meshtastic-SAME-EAS-Alerter --alert-channel <CHANNEL_NUMBER_HERE>

test channel

  • Input the channel number that test messages will be sent to
    • Usually test messages are transmitted weekly from the weather service station
    • These messages can help you tell if your system is working but they can be annoying as they happen often
  • By default, (if nothing is provided) test messages will be ignored
Meshtastic-SAME-EAS-Alerter --test-channel <CHANNEL_NUMBER_HERE>

sample rate

  • Input the sampling rate of the input
  • Do not modify this if you do not know what you are doing
  • Default is 48000
Meshtastic-SAME-EAS-Alerter --rate <SAMPLING_RATE_HERE>

Full example

  • You need both a Meshtastic serial port passed as an arg and rtl fm to run this
  • Alert channel and test channel are optional (see above)
rtl_fm -f <FREQUENCY_IN_HZ_HERE> -s 48000 -r 48000 | Meshtastic-SAME-EAS-Alerter --port <MESHTASTIC_PORT_HERE> --alert-channel <CHANNEL_NUMBER_HERE> --test-channel <CHANNEL_NUMBER_HERE>

or

rtl_fm -f <FREQUENCY_IN_HZ_HERE> -s 48000 -r 48000 | Meshtastic-SAME-EAS-Alerter --host <TCP_HOST_HERE> --alert-channel <CHANNEL_NUMBER_HERE> --test-channel <CHANNEL_NUMBER_HERE>

Remember to replace the placeholder values

๐Ÿ““ TODO

PRs are welcome

  • Canadian Location Codes and marine
  • Connect to a node over TCP
  • Live audio to text transcription for forwarding instructions sent after the SAME header

๐Ÿ“‡ Contact

If you need assistance deploying an alerter feel free to contact me

meshtastic-same-eas-alerter's People

Contributors

rcgv1 avatar charlieh0tel avatar petergrace avatar

Stargazers

Henry Estela avatar Daniel DiBenedetto avatar MN01 avatar SudoerWithAnOpinion avatar  avatar  avatar  avatar  avatar Tommy Ekstrand avatar Joe Broxson avatar Ben Meadors avatar

Watchers

Lucian avatar  avatar  avatar Daniel DiBenedetto avatar  avatar

Forkers

charlieh0tel

meshtastic-same-eas-alerter's Issues

Adding support for nodes connected via lan

I can't connect my node via serial because I have to use a PD adapter (Station G2) but if I could use a node connected to my LAN then this program would work for me. If you could add this as an option that would be amazing. Thanks!

Question

I have this program up and running, last night I was able to see all 12 tornado alerts but this was while I was still configuring it so it never sent the messages. My question was how does it read what the weather alerts are? Does the NWS play special tones or does it use voice recognition? Thanks

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.