Code Monkey home page Code Monkey logo

Comments (16)

jamesb2147 avatar jamesb2147 commented on July 17, 2024

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.

SgtBatten avatar SgtBatten commented on July 17, 2024

Can you give an example of how you would send an image link if not using the blueprint

from ha_blueprints.

jamesb2147 avatar jamesb2147 commented on July 17, 2024

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

from ha_blueprints.

SgtBatten avatar SgtBatten commented on July 17, 2024

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.

SgtBatten avatar SgtBatten commented on July 17, 2024

Please try this specific branch and file https://github.com/SgtBatten/HA_blueprints/blob/smtp/Frigate%20Camera%20Notifications/Beta

from ha_blueprints.

SgtBatten avatar SgtBatten commented on July 17, 2024

@jamesb2147 any word?

from ha_blueprints.

jamesb2147 avatar jamesb2147 commented on July 17, 2024

Just put it into testing. Should be able to get back to you this week.

from ha_blueprints.

jamesb2147 avatar jamesb2147 commented on July 17, 2024

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:
image
Not sure how/where that's breaking though. You're confident the URL is valid?

from ha_blueprints.

SgtBatten avatar SgtBatten commented on July 17, 2024

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.

SgtBatten avatar SgtBatten commented on July 17, 2024

any luck @jamesb2147

from ha_blueprints.

sm0keKings avatar sm0keKings commented on July 17, 2024

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.

SgtBatten avatar SgtBatten commented on July 17, 2024

The SMTP things are win a seperate branch to keep them seperate during testing. Did you want to try it?

from ha_blueprints.

sm0keKings avatar sm0keKings commented on July 17, 2024

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.

SgtBatten avatar SgtBatten commented on July 17, 2024

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.

sm0keKings avatar sm0keKings commented on July 17, 2024

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.

SgtBatten avatar SgtBatten commented on July 17, 2024

Please let me know how it works for you

from ha_blueprints.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.