RCGV1 / Meshtastic-SAME-EAS-Alerter

MIT License
18 stars 1 forks source link

Question #7

Closed ddthekidd closed 1 month ago

ddthekidd commented 1 month ago

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

RCGV1 commented 1 month ago

It reads alerts from your local weather station frequency which you configure. Special tones are played, SAME is a encoding protocol that the government uses to encode information about alerts. You can double-check that the software works correctly by listening to a radio on the same frequency you set the alerter. https://en.wikipedia.org/wiki/Specific_Area_Message_Encoding

ddthekidd commented 1 month ago

Thanks for the info. Just noticed this error, how do I fix it?

2024-07-17T16:05:11.859Z INFO [Meshtastic_SAME_EAS_Alerter] Begin SAME voice message: MessageHeader { message: "ZCZC-WXR-RWT-017031-017097-017043-018089-018127+0015-1991604-KLOT/NWS-", offset_time: 47, parity_error_count: 0, voting_byte_count: 70 } 2024-07-17T16:05:11.859Z INFO [Meshtastic_SAME_EAS_Alerter] Attempting to send message over the mesh: 📖Received Required Weekly Test from KLOT/NWS, Issued By: National Weather Service, Locations: Cook, Lake, DuPage, Lake, Porter 2024-07-17T16:05:11.859Z ERROR [Meshtastic_SAME_EAS_Alerter] Error sending message: channel closed 2024-07-17T16:06:28.838Z INFO [Meshtastic_SAME_EAS_Alerter] End SAME voice message

RCGV1 commented 1 month ago

Is the channel that you deleted for test alerts configured on your node?

ddthekidd commented 1 month ago

I set the test channel to Primary (0)

RCGV1 commented 1 month ago

Could you send all the arguments you passed in to get the program running

ddthekidd commented 1 month ago

rtl_fm -d 0 -f 162550000 -s 48000 -r 48000 | Meshtastic-SAME-EAS-Alerter --host 10.0.0.25:80 --test-channel 0

RCGV1 commented 1 month ago

My only theory is that at some point your TCP connection got broken and you were no longer connected to the radio.

ddthekidd commented 1 month ago

Hmm, The TC2-bbs-mesh seems to have the same problem. Thanks

RCGV1 commented 1 month ago

What role is your device?