chuot / rdio-scanner

Rdio Scanner is an open source software that ingest and distribute audio files generated by various software-defined radio recorders. Its interface tries to reproduce the user experience of a real police scanner, while adding its own touch.
GNU General Public License v3.0
422 stars 60 forks source link

Run custom command if system has not ingested a call in X hours #276

Open robertlynch3 opened 1 year ago

robertlynch3 commented 1 year ago

Similar to how Broadcastify sends emails that a node is offline, it would be nice if Rdio-Scanner could send a notification that a System has not received a call in X amount of time. This should be configurable and optional.

It would be great if Rdio-Scanner could connect to a SMTP server, but I see the easiest way to achieve this would be running a script. That way the user could build a custom script to send an email, push notification, etc.

One additional implementation would be to connect Trunk-Recorder to Rdio-Scanner via a web socket (possibly via Trunk-Recorder’s Status-Server) to check for Control Channel decode errors of a p25 system. This implementation is probably out-of-scope, but is worth mentioning.

chuot commented 1 year ago

I'll see want in can implement in v7, which is due early 2023. Some kind of a watchdog feature could be nice indeeed.

Thanks for submiting the idea.

tadscottsmith commented 1 year ago

Great idea!

Clark985 commented 1 year ago

If this could also fire off commands, that would be awesome. SDRTrunk seems to glitch after a while (known memory leak issue), this could be another method to self-heal.