Update for new plugin interface. Add Notify plugin

This patch adds the notify plugin to be used with the new
notification plugins interface for aprsd.  This sends a notification
to a slack channel when a HAM callsign is seen on the APRS-IS network
after a specified timeout/age.
This commit is contained in:
2021-07-15 20:34:51 -04:00
parent d983e1a824
commit 0a1d2b3e0e
3 changed files with 81 additions and 3 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import logging
from aprsd import plugin
from aprsd import utils as aprsd_utils
from slack_sdk import WebClient
@@ -9,7 +8,7 @@ import aprsd_slack_plugin
LOG = logging.getLogger("APRSD")
class SlackPluginBase(plugin.APRSDPluginBase):
class SlackPluginBase:
"""SlackCommandPlugin.
This APRSD plugin looks for the location command comming in