[PLUG] Sending notifications from remote equipment

2021-01-09 Thread Michael Barnes
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
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sending notifications from remote equipment

2021-01-09 Thread Bill Barry
On Sat, Jan 9, 2021 at 11:53 AM Michael Barnes  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

A Raspberry Pi, a Google Fi data only sim card and a compatible 4G USB
modem could work. If you are already using Fi for your phone service
you can get the data only sim card for free.

Bill Barry
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sending notifications from remote equipment

2021-01-09 Thread John Sechrest
There was a guy that I ran across who was doing an IOT sensor that was
essentially a little tiny cell phone (no keyboard/display), which had a
prepurchased agreement for a certain number of SMS messages.  It was an
interesting solution for this type of thing.

The name of the company he was working on is http://geotraq.com , I think
that it has been through a few pivots since I last engaged with them, but
the idea of a small box that can SMS is interesting.

I understand No-Budget projects. I am the kind of person who avoids the $10
yard ornament, to spend $1000 on tools so I can make the $0 yard
ornament So while my yard ornament might look like it was $0, it was
really $1000

So perhaps it would be worth exploring if you can find the $50 IOT solution
that solves the problem.



On Sat, Jan 9, 2021 at 9:53 AM Michael Barnes  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
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>


-- 
[image: www.seattleangelconference.com]


*JOHN SECHREST*
*Founder, *Seattle Angel Conference
TEL  (541) 250-0844EMAIL  sechr...@seattleangel.com
Schedule A Meeting 

http://seattleangelconference.com
@sechrest
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sending notifications from remote equipment

2021-01-09 Thread wes
On Sat, Jan 9, 2021 at 9:53 AM Michael Barnes  wrote:

> There is a local network with Internet available.
> ...
> I do not have access to an SMTP server that can send external email.
>
>
These two statements seem paradoxical to me. In the worst case, you should
be able to submit an email directly to $cell_carrier's public email-to-SMS
gateway MTA.

Preferably you would use a hosted email account (even if it's gmail) to
authenticate outgoing emails, but there are many degrees of "correct ways"
to accomplish your goal.

-wes
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sending notifications from remote equipment

2021-01-12 Thread Tom
On Sat, 9 Jan 2021 09:53:00 -0800
Michael Barnes  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
> PLUG@pdxlinux.org
> 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
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sending notifications from remote equipment

2021-01-12 Thread Tom
On Tue, 12 Jan 2021 14:43:36 -0800
Tom  wrote:

> 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.
In addition, if you wanted to bridge it to the SMS network all you'd
have to do is get a subscription at https://jmp.chat/ for your JID and
send the sms to their XMPP network transport

-- 
 ___ 
< You will be run over by a beer truck. >
 --- 
\
 \
   /\   /\   
  //\\_//\\ 
  \_ _//   /
   / * * \/^^^]
   \_\O/_/[   ]
/   \_[   /
\ \_  /  /
 [ [ /  \/ _/
_[ [ \  /_/
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug