#Email & Matrix notifications

1 messages · Page 1 of 1 (latest)

worn parcel
#

Hi All,
I hope you are well.
Please can someone assist or share his/her configuration for email/Matrix notification.
For email notifications other than Gmail as I deGoogled my life I think!.

`notify:

matrix:
homeserver: "https://server.com"
username: "@user1:server.com"
password: "XXXXXXXXX"
rooms:
- "#misc:server.com"
commands:
- word: my_command
name: my_command`

Thank you

balmy berry
#

Are you experiencing errors? It's not clear what assistance you're after.

rich panther
#

I've had this working with livemail, which is operated by fasthosts in the UK:

  - name: "smtptest5"
    platform: smtp
    sender: !secret myEmail
    recipient: !secret myEmail
    server: "smtp.livemail.co.uk"
    port: 465
    timeout: 20
    username: !secret myEmail
    password: !secret smtpPassword
    encryption: tls
    verify_ssl: false```
worn parcel
#

Hi again, how do you test the email settings?

rich panther
#

Currently I have a debug button. An email is sent when I press it. But you could trigger it by almost anything.

    metadata: {}
    data:
      message: testing via debug button
      title: debug button
rich panther
#

Hmmm ... checking tonight, that's not working and I don't have time tonight to find out why 😦

worn parcel
rich panther
#

No, it's an actual zigbee button which I have on my desk. But the button itself is working -- it also sends a persistent notification, which is being logged.

I had disabled the smtp using enabled: false but that doesn't seem to be the only reason. I think perhaps my mail host is doing maintenance.

Sorry, but I have to leave it there for tonight.

worn parcel
#

I have a Zigbee button I could configure it for that

rich panther
#

The problem I was getting wasn't with the trigger, but with sending the email itself. It did work a month or so ago when I originally tested it. But there have been several core updates since then, which might possibly have affected it.

worn parcel
#

I need to make email notifications to work and Matrix notifications on top as this is to warn me about potential fire - smoke/CO detectors and it could well notify me when some motion is detected while I am away from home

worn parcel
#

ok, I can confirm that the Email and Matrix notifications do work
I have tested them using Developers tools -> Services -> Notifications: Send a notification...
then Call Service

now I have to make this work with the actual devices, ideally group them to send notifications

#

I think I created these notification scripts in a different way because I don't have them under Settings -> Automations & Scenes -> Scripts

worn parcel
#

How do you periodically test that the notifications are working?
For things like smoke alarms I presume that should be done every other month.

Can you have a facility to generate false alarms e.g. once every 2 months to make sure that communication is still working?

little kraken
#

Are you referring to smart smoke alarms?

worn parcel
#

I think any smoke alarm

little kraken
#

All of mine are smart and I "test" them by looking at the time they last checked in (using last_updted). But, if you're speaking to a larger topic of just general testing of safety systems, my opinion is at least once every 2 months. I don't know any "automated" way of doing that though.

worn parcel