On Sat, 9 Jan 2021 09:53:00 -0800 Michael Barnes <[email protected]> wrote:
> Here's an interesting challenge. Another no-budget project. I have > some remote equipment that I need to occasionally receive an alarm > alert from. The equipment provides a contact closure in an alarm > condition. In the past for this type of thing, I used an old > autodialer that simply picked up a phone line, dialed a number, and > played a recorded message. > > In this situation, I do not have access to an old style POTS line. I > would prefer a text message, potentially to multiple recipients. > There is a local network with Internet available. I know there are > services like Google voice that can send text messages over the > Internet. I do not have access to an SMTP server that can send > external email. > > I was thinking of something like a Raspberry Pi to detect the contact > closure and make the notification. I'm just not sure of the software > mechanism to do so. > > Any ideas appreciated. > > Michael > _______________________________________________ > PLUG: https://pdxlinux.org > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug If you have internet you can use a utility like sendxmpp. It's a small perl script that does what sendmail does, but for XMPP. https://sendxmpp.hostname.sk/ There are lots of volunteer run open registration XMPP servers out there, a good list of them is https://compliance.conversations.im. Keep in mind most XMPP registration is done in-band so you'll register in a client like Gajim or something. You can send the notification as a simple headline with that utility, or if you wanted to implement a XMPP bot which is really simple to do (ask and i'll send some example code) you could use publish subscribe https://xmpp.org/extensions/xep-0060.html, and ad-hoc commands https://xmpp.org/extensions/xep-0050.html to control the thing. -- _______________________________________ < You will be run over by a beer truck. > --------------------------------------- \ \ /\ /\ //\\_//\\ ____ \_ _/ / / / * * \ /^^^] \_\O/_/ [ ] / \_ [ / \ \_ / / [ [ / \/ _/ _[ [ \ /_/ _______________________________________________ PLUG: https://pdxlinux.org PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
