Comments (16)
LMK if you need the full automation config or anything. Here's the SMTP config, in case it helps:
notify:
- name: "email"
platform: smtp
server: "smtp.mailgun.org"
port: 587
timeout: 15
sender: "[email protected]"
encryption: starttls
username: "[email protected]"
password: "foo-bar"
recipient:
- "[email protected]"
sender_name: "Home Assistant"
from ha_blueprints.
Can you give an example of how you would send an image link if not using the blueprint
from ha_blueprints.
Per the docs ( https://www.home-assistant.io/integrations/smtp ) and a quick test in the dev tools, you set it in the data section as "images".
![image](https://private-user-images.githubusercontent.com/6633330/246322918-ca0da03d-4502-46cf-987a-a889cb3d1ba5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMDcxMDgsIm5iZiI6MTcyMTIwNjgwOCwicGF0aCI6Ii82NjMzMzMwLzI0NjMyMjkxOC1jYTBkYTAzZC00NTAyLTQ2Y2YtOTg3YS1hODg5Y2IzZDFiYTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMDkwMDA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTVkYzZiMmY0ZTk4YTllNmE5YzZlYWE1MzcyYzFmNjE2YTNmMmI3NjZiNTM3ODNhMzg5YjgwMGE3MzJjMTJhZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.uBFF6mqB6y91SbjJCVgoEHgyN13SgckoLIFFhSrKYsY)
from ha_blueprints.
Okay so we probably just need to add a images line to the data block in each notify section 6 or 8 places or something. Should be simple. If you have a moment so do a pull request that would be great. Otherwise I'll get to it when I can
from ha_blueprints.
Please try this specific branch and file https://github.com/SgtBatten/HA_blueprints/blob/smtp/Frigate%20Camera%20Notifications/Beta
from ha_blueprints.
@jamesb2147 any word?
from ha_blueprints.
Just put it into testing. Should be able to get back to you this week.
from ha_blueprints.
Unfortunately, that doesn't seem to have made the images available. On the web, I don't see any indication of a picture in the email or attachment, but on mobile I get a "broken image" icon in the Gmail app. Looking at the "original message" on the web, I do spot it trying to do something:
Not sure how/where that's breaking though. You're confident the URL is valid?
from ha_blueprints.
Two thoughts. Try with attachment set to thumbnail instead.
If no good, try the latest version on the smtp branch where i have added a baseurl to the url.
The url is the same as we use for all other notifications, so it is valid, but maybe not compatible with smtp.
from ha_blueprints.
any luck @jamesb2147
from ha_blueprints.
Hi SgtBatten. I was reading this thread as I would like to use your blueprint to notify by email. Have you had any progress? When I look at your beta it only has Notification to Mobile Device and Android TV / Group. Thanks
from ha_blueprints.
The SMTP things are win a seperate branch to keep them seperate during testing. Did you want to try it?
from ha_blueprints.
The SMTP things are win a seperate branch to keep them seperate during testing. Did you want to try it?
Yes please i would love too!
from ha_blueprints.
Sorry I don't need to do anything, it's just there, you need to change the branch to SMTP, or click this link https://github.com/SgtBatten/HA_blueprints/tree/smtp
You'll need to manually copy the blueprint into home assistant
from ha_blueprints.
Sorry I don't need to do anything, it's just there, you need to change the branch to SMTP, or click this link https://github.com/SgtBatten/HA_blueprints/tree/smtp
You'll need to manually copy the blueprint into home assistant
Got it working! Thanks heaps for your help.
from ha_blueprints.
Please let me know how it works for you
from ha_blueprints.
Related Issues (20)
- [Feature Request]: Frigate 0.14 released. MQTT notifications have completely changed and vastly improved. New version of Blueprint? HOT 12
- Cool down is applied even though previous event did not trigger notification HOT 5
- [Config Support]: Automation not triggering HOT 2
- [Config Support]: Conditional alerts based on time and camera location HOT 1
- [Feature Request]: Ability to Alert on Double Take Results (including unknown)
- [Feature Request]: Notification Sound - Android HOT 4
- [Feature Request]: Trigger not by motion, but solely by a binary sensor - Reolink Doorbell - Visitor
- [Config Support]: group notifications HOT 3
- [Config Support]: Automation not triggered HOT 1
- [Feature Request]: Loitering notification for packages HOT 2
- [Issue]: Automations not loading with HA 2024.7 HOT 3
- Multi-Zone - From and To HOT 1
- [Issue]: Automation not triggering HOT 2
- no longer getting notifications HOT 1
- [Issue]: websocket notifications no message HOT 6
- [Issue]: `custom_action_auto` never triggers HOT 8
- [Config Support]: Completely lost on how to create a notification group HOT 10
- [Feature Request]: Variable support in Title, Notification Message, and Subtitle HOT 5
- [Feature Request]: Different design of video notifications or (better) an optional choice
- Notification snapshots are visible and accessible but clips not at all HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_blueprints.