My deployment = Home Assistant running as a container on a Synology NAS.
So far so good … expect that I can’t get an SMTP integration to work for the life of me seemingly.
The ones I’ve tried:
Google Workspace (through the whole app creation process). I get:
“This service requires field message, which must be provided under data”
(but … populating some dummy text after data doesn’t help).
Mailgun: Thought this would be easy as it’s just an SMTP server. Added the credentials into configuration.yaml. Unfortunately the notifier doesn’t seem to register (can’t be called from services under dev tools).
Sendgrid … followed the instructions to integrate the service via the API key. This one gives me:
Failed to call service notify.sendgrid. expected dict for dictionary value @ data[‘data’]. Got None
Is there any way one that’s relatively dummy-proof (as apparently that’s what I am!). Everything looks great but getting any kind of email notification is integral to the automations I’m trying to set up.
(ETA: As so many different services are refusing to work, I’m beginning to wonder whether the issue has to do with something fundamental to my config or some other factor, which is why I’m posting!)
i’m not clear on why you need homeassistant to send emails for recording nfc tags. i haven’t done nfc on homeassisant, but looking at the docs, it looks like just another trigger.
if you don’t care where that goes, you could use homeassistant’s “todo” list feature to track… essentially use the todo as a hasdone list instead
however i do have both sendgrid and google workspace working and sending email to me. happy to help if i can. it was several years ago tho so my memory is fuzzy… sendgrid was easier, and google is in the middle of changing their policies, so i might be grandfathered in such that a new config done the way i did might not work (and might break in the fall).
but if you’d like… post what you’ve got so far so that we can try to debug it…
SMTP at HA is not realy working. Some time it goes, than the service is missing. After reboot of HA smtp is working - some times. smtp at HA is very unstable, do not rely on it.
With domoticz I had not one error over the years with smtp.
I wondering too - i am using smtp on different devices like qnap nas, android, windows (even with outlook:-), debian … since years - only HA must have a reboot ~ all 2 weeks to working again with smpt. I will look to make a cronjob to reboot the HA on raspi every night - its like windows server
I hope the code will in the feature be improved or HA is more gmail optimized. But I will not use the evil google inc. to send mails.