Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. JPEG per Mail versenden per NodeRED

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    JPEG per Mail versenden per NodeRED

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hotspot_2 last edited by

      Hallo zusammen,

      ich habe einen Flow der mir eine Mail schickt wenn die Türklingel betätigt wurde gleichzeitig wird auch eine Pushover Meldung verschickt.

      Ich habe nun eine Kamera die es erlaubt JPEGs abzurufen installiert. Das klappt einwandfrei mit Pushover. Ich würde die Bilder nun auch gerne per Mail schicken. Wie kann ich den das Bild abrufen und in eine Mail einfügen?

      mickym OliverIO 2 Replies Last reply Reply Quote 0
      • mickym
        mickym Most Active @hotspot_2 last edited by

        @hotspot_2 Ich habs noch nicht gemacht - aber sowohl mit Pushover oder Mail kannst doch Anhänge verschicken. Musst halt das Bild irgendwo im Dateisystem zugänglich machen. Mehr kann ich dazu leider nicht sagen.

        1 Reply Last reply Reply Quote 0
        • OliverIO
          OliverIO @hotspot_2 last edited by

          @hotspot_2

          Wie man Anhänge, im speziellen Bilder anhängt ist in der Dokumentation direkt beschrieben

          https://github.com/iobroker-community-adapters/ioBroker.email

          H 1 Reply Last reply Reply Quote 0
          • H
            hotspot_2 @OliverIO last edited by hotspot_2

            Hallo zusammen,

            Copilot hat mir dann doch eine echt gute Anleitung gegeben wie ich das machen kann. Hat auch auf Anhieb geklappt.

            8692588c-44aa-467f-997b-f96f750c82c5-image.png

            [
                {
                    "id": "2e52f8bd9893fecb",
                    "type": "inject",
                    "z": "720ce6e5283f280f",
                    "name": "",
                    "props": [
                        {
                            "p": "payload"
                        },
                        {
                            "p": "topic",
                            "vt": "str"
                        }
                    ],
                    "repeat": "",
                    "crontab": "",
                    "once": false,
                    "onceDelay": 0.1,
                    "topic": "",
                    "payload": "\"Es wurde oben geklingelt.\"",
                    "payloadType": "jsonata",
                    "x": 1510,
                    "y": 1040,
                    "wires": [
                        [
                            "06cf330ccc449aa4"
                        ]
                    ]
                },
                {
                    "id": "1c3e4675d2c16acc",
                    "type": "http request",
                    "z": "720ce6e5283f280f",
                    "name": "",
                    "method": "GET",
                    "ret": "bin",
                    "paytoqs": "ignore",
                    "url": "http://192.168.1.1/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=123&user=benutzer&password=passwort",
                    "tls": "",
                    "persist": false,
                    "proxy": "",
                    "insecureHTTPParser": false,
                    "authType": "",
                    "senderr": false,
                    "headers": [],
                    "x": 1830,
                    "y": 1040,
                    "wires": [
                        [
                            "3d4d8c0e4e5f49d1"
                        ]
                    ]
                },
                {
                    "id": "3d4d8c0e4e5f49d1",
                    "type": "base64",
                    "z": "720ce6e5283f280f",
                    "name": "",
                    "action": "",
                    "property": "payload",
                    "x": 1980,
                    "y": 1040,
                    "wires": [
                        [
                            "70c9b8297eb79933"
                        ]
                    ]
                },
                {
                    "id": "70c9b8297eb79933",
                    "type": "template",
                    "z": "720ce6e5283f280f",
                    "name": "",
                    "field": "payload",
                    "fieldType": "msg",
                    "format": "handlebars",
                    "syntax": "mustache",
                    "template": "<p>{{{topic2}}}<br></p>\n<p>Hier ist das Bild:</p>\n<img src=\"data:image/jpeg;base64,{{{payload}}}\" />",
                    "output": "str",
                    "x": 2120,
                    "y": 1040,
                    "wires": [
                        [
                            "a1640be82c20c050"
                        ]
                    ]
                },
                {
                    "id": "06cf330ccc449aa4",
                    "type": "change",
                    "z": "720ce6e5283f280f",
                    "name": "Betreff - Klingel",
                    "rules": [
                        {
                            "t": "set",
                            "p": "topic",
                            "pt": "msg",
                            "to": "\"[HOME] \"&payload",
                            "tot": "jsonata"
                        },
                        {
                            "t": "set",
                            "p": "topic2",
                            "pt": "msg",
                            "to": "payload",
                            "tot": "jsonata"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 1660,
                    "y": 1040,
                    "wires": [
                        [
                            "1c3e4675d2c16acc"
                        ]
                    ]
                }
            ]
            

            Hier mal als Export wenn es vielleicht jemand anderem hilft.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            685
            Online

            31.7k
            Users

            79.7k
            Topics

            1.3m
            Posts

            3
            4
            136
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo