: weewx-user@googlegroups.com On Behalf Of
Thomas Keffer
Sent: Sunday, January 6, 2019 10:01 AM
To: weewx-user
Subject: Re: [weewx-user] Re: Alarm.py Help
It looks like the problem is that there is no DNS entry for your hostname. This
was causing a socket.gaierror exception to be raised, which
;
>
> Tom
>
>
>
> *From:* weewx-user@googlegroups.com *On
> Behalf Of *Thomas Keffer
> *Sent:* Sunday, January 6, 2019 9:33 AM
> *To:* weewx-user
> *Subject:* Re: [weewx-user] Re: Alarm.py Help
>
>
>
> Possibly, but I don't think so. The library smtplib use
Sent.
Tom
From: weewx-user@googlegroups.com On Behalf Of
Thomas Keffer
Sent: Sunday, January 6, 2019 9:33 AM
To: weewx-user
Subject: Re: [weewx-user] Re: Alarm.py Help
Possibly, but I don't think so. The library smtplib uses a default of 465 for
attempting SSL connections. Also
omas Keffer
> *Sent:* Sunday, January 6, 2019 6:51 AM
> *To:* weewx-user
> *Subject:* Re: [weewx-user] Re: Alarm.py Help
>
>
>
> OK, but I wish we knew what the trouble was.
>
>
>
> The last version had a 20 second 'timeout': if the server didn't respond,
> an exception
:
Outgoing Server: mail.XXX.com SMTP Port: 587
Tom
From: weewx-user@googlegroups.com On Behalf Of
Thomas Keffer
Sent: Sunday, January 6, 2019 6:51 AM
To: weewx-user
Subject: Re: [weewx-user] Re: Alarm.py Help
OK, but I wish we knew what the trouble was.
The last version had a 20 second
*From:* weewx-user@googlegroups.com *On
> Behalf Of *Thomas Keffer
> *Sent:* Saturday, January 5, 2019 8:22 PM
> *To:* weewx-user
> *Subject:* Re: [weewx-user] Re: Alarm.py Help
>
>
>
> Looks like your smtp server hangs if you try to connect to it using SSL.
> Try thi
homas Keffer
> *Sent:* Saturday, January 5, 2019 6:58 PM
> *To:* weewx-user
> *Subject:* Re: [weewx-user] Re: Alarm.py Help
>
>
>
> Hmmm. Try this version. It has been heavily instrumented. Again, run with
> debug=1. Make sure you restart WeeWX.
>
>
>
> -tk
As requested.
Thanks for helping.
Tom
From: weewx-user@googlegroups.com On Behalf Of
Thomas Keffer
Sent: Saturday, January 5, 2019 6:58 PM
To: weewx-user
Subject: Re: [weewx-user] Re: Alarm.py Help
Hmmm. Try this version. It has been heavily instrumented. Again, run with
debug
Hmmm. Try this version. It has been heavily instrumented. Again, run with
debug=1. Make sure you restart WeeWX.
-tk
On Sat, Jan 5, 2019 at 4:46 PM wrote:
> I used the alarm.py version that you sent the link to. I attached it
> along with the syslog. I am not using an SSL connection. Still