Hi everybody,
I am just trying to find a notification platform that suits my needs.
I can’t expose HASS on the web because my internet provider blocks incoming connections.
So I have to use some external service.
I was thinking about SMTP but looks like google does not like anymore plain connection.
I wrote what’s inside the docs:
notify:
- name: NOTIFIER_NAME
platform: smtp
server: smtp.gmail.com
port: 587
timeout: 15
sender: [email protected]
encryption: starttls
username: [email protected]
password: thePassword
recipient:
- [email protected]
- [email protected]
sender_name: My Home Assistant
Of course I didn’t send any email to James or bob, and I am no john.
The error that I see in the log is:
[homeassistant.components.notify.smtp] SMTP server not found (smtp.gmail.com:465).
I changed the port to the tls one but also with the default one the message is the same.
I was thinking about IFTTT but for some reason the error that I receive is similar to the one posted for SMTP
[homeassistant.components.ifttt] Error communicating with IFTTT
...
<urllib3.connection.VerifiedHTTPSConnection object at 0x728968f0>: Failed to establish a new connection: [Errno -3] Try again
It looks like home assistant is unable to contact the servers. From ssh I can ping both hosts.
Some idea about where to investigate?
I am using dhcp plugin of Hass.io and PiHole pluging as domain provider. But I can reach both services from multiple points inside my local network.
Thank you for reading and for the suggestion that I will receive.
Andrea