Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Bild von Kamera per Pushover senden

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Bild von Kamera per Pushover senden

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by

      Pushover kann noch keine Bilder per Blockly versenden. Siehe GitHub https://github.com/ioBroker/ioBroker.pushover/issues/5

      SebastianSchultz created this issue in ioBroker/ioBroker.pushover

      closed Implement usage of attachments #5

      1 Reply Last reply Reply Quote 0
      • D
        dan11hh last edited by

        Ich weiß. Danke. Aber ich dachte an eine Skript Lösung.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          Hast du gesehen was dort verlinkt ist? viewtopic.php?f=21&t=13287&hilit=Pushov … 20#p198733

          1 Reply Last reply Reply Quote 0
          • D
            dan11hh last edited by

            Ja, Danke. Das hab ich nicht umgemodelt bekommen. Meist klappt das ja, aber so ganz ohne JScript Kenntnisse…<emoji seq="1f62c">😬</emoji>

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User last edited by

              Ich hab das jetzt mal getestet. Mit dem Code aus dem Beitrag habe ich ein JS Script angelegt. file Pfad an deine gespeicherte Datei anpassen!

              sendTo("pushover", {
                message: 'Dies ist eine Test-Nachricht', // mandatory - your text message
                title: 'ioBroker', // optional - your message's title, otherwise your app's name is used
                sound: 'magic', // optional - the name of one of the sounds supported by device clients to override the user's default sound choice
                                // pushover, bike, bugle, cashregister, classical, cosmic, falling,
                                // gamelan, incoming, intermission, magic, mechanical, pianobar, siren,
                                // spacealarm, tugboat, alien, climb, persistent, echo, updown, none
                priority: 0, // optional (-2, -1, 0, 1, 2)
                                // -2 to always send as a quiet notification,
                                // 1 to display as high-priority and bypass the user's quiet hours, or
                                // 2 to also require confirmation from the user
                file: '/opt/iobroker/alarm.jpg', // optional - attachment
                //token: 'API/KEY token', // optional - add other than configurated token to the call
                //url: , // optional - a supplementary URL to show with your message
                //url_title: , // optional - a title for your supplementary URL, otherwise just the URL is shown
                //device: , // optional - your user's device name to send the message directly to that device, rather than all of the user's devices
                //timestamp // optional - a Unix timestamp of your message's date and time to display to the user, rather than the time your message is received by our API
              });
              

              Anstatt den Block pushover nimmst du dann steuere und wählst dort unter Javascript usw bis zum Objekt des Script und steuerst mit wahr. Ein paar ms später steuerst du es wieder mit false. Und vor dem versenden noch ein Timeout damit das Bild auch komplett gespeichert wird. Speichern und gleich versenden geht nicht. Und ein paar Sekunden später wird das Bild mit pushover gesendet.
              6779_pushover.jpg

              jogge N 2 Replies Last reply Reply Quote 1
              • D
                dan11hh last edited by

                Wie cool ist DAS denn? Vielen, viele Dank. Ich probier das morgen mal aus, heute hab ich dazu leider keine Zeit. Wollte aber auf jeden Fall schon einmal DANKE! sagen. Danke 😉

                1 Reply Last reply Reply Quote 0
                • S
                  stimezo Forum Testing last edited by

                  @Brainbug:

                  Ich hab das jetzt mal getestet. Mit dem Code aus dem Beitrag habe ich ein JS Script angelegt. file Pfad an deine gespeicherte Datei anpassen!

                  sendTo("pushover", {
                    message: 'Dies ist eine Test-Nachricht', // mandatory - your text message
                    title: 'ioBroker', // optional - your message's title, otherwise your app's name is used
                    sound: 'magic', // optional - the name of one of the sounds supported by device clients to override the user's default sound choice
                                    // pushover, bike, bugle, cashregister, classical, cosmic, falling,
                                    // gamelan, incoming, intermission, magic, mechanical, pianobar, siren,
                                    // spacealarm, tugboat, alien, climb, persistent, echo, updown, none
                    priority: 0, // optional (-2, -1, 0, 1, 2)
                                    // -2 to always send as a quiet notification,
                                    // 1 to display as high-priority and bypass the user's quiet hours, or
                                    // 2 to also require confirmation from the user
                    file: '/opt/iobroker/alarm.jpg', // optional - attachment
                    //token: 'API/KEY token', // optional - add other than configurated token to the call
                    //url: , // optional - a supplementary URL to show with your message
                    //url_title: , // optional - a title for your supplementary URL, otherwise just the URL is shown
                    //device: , // optional - your user's device name to send the message directly to that device, rather than all of the user's devices
                    //timestamp // optional - a Unix timestamp of your message's date and time to display to the user, rather than the time your message is received by our API
                  });
                  

                  Danke für das Script,

                  habe es ausprobiert, leider wird mein Bild nicht mitgesendet.

                  irgendeine Idee warum?

                  Viele Grüße

                  Christian `

                  1 Reply Last reply Reply Quote 0
                  • D
                    dan11hh last edited by

                    Bei mir klappt es! Super. @brainbug Vielen Dank dafür.

                    @stimezo

                    Wird dein Bild abgespeichert?

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User last edited by

                      @stimezo:

                      irgendeine Idee warum? `

                      Erstmal kontrollieren ob das Bild auch lokal vorhanden ist an dem Pfad den du angibst!

                      1 Reply Last reply Reply Quote 0
                      • S
                        stimezo Forum Testing last edited by

                        @Brainbug:

                        @stimezo:

                        irgendeine Idee warum? `

                        Erstmal kontrollieren ob das Bild auch lokal vorhanden ist an dem Pfad den du angibst! `

                        Gebe zum Testen ein bereits bestehendes Bild an, bei mir:

                        /opt/iobroker/iobroker-data/files/eigene/Wohnzimmer_0.jpg
                        

                        Mit meinem Telegram-Script funktioniert es, würde es aber lieber per Pushover machen.

                        Danke

                        Christian

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User last edited by

                          Wenn du den Pushover Adapter eingerichtet hast und das Script bei file an deinen Pfad angepasst hast sollte ein Bild gesendet werden.

                          1 Reply Last reply Reply Quote 0
                          • D
                            der-eine last edited by

                            Hallo zusammen,

                            ich häng mich hier mal dran. Habe das Problem, dass mir Telegram nur den Pfad zum Bild schickt und nicht das Bild.

                            wenn ich es lösche und den wget Befehl erneut ausführe, bekomme ich nur den Link.

                            Jemand eine Idee wieso?

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User last edited by

                              Zeig doch mal ein Bild von deinem Blockly?

                              Und hast du deinen Link zum Bild im Browser gestartet?

                              1 Reply Last reply Reply Quote -1
                              • D
                                der-eine last edited by

                                Hier mal das Blockly.

                                Das ganze hat mit 4 verschiedenen Auslösern funktioniert mit genau diesem Pfad. Hab den Pfad nochmal geprüft, im Browser kann ich das Bild aufrufen und im angegebenen Ordner wird auch ein neues Bild erstellt. Es wird nur nicht versendet.

                                Seit der Umstellung auf den Multihost gehen diese Skripte nicht mehr. Bzw das Bilder versenden.
                                10117_2758fa1e-fd8d-4585-aeed-9a66e879c96a.jpeg

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User last edited by

                                  Dann liegt es wohl am Multihost, dass das Bild nicht dort gespeichert wird wo es wieder versendet werden soll?

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    der-eine last edited by

                                    Wenn ich das Bild am Speicherort lösche und das Skript neu Anstoße legt er das Bild wieder genau da hin…

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      der-eine last edited by

                                      @Brainbug:

                                      Dann liegt es wohl am Multihost, dass das Bild nicht dort gespeichert wird wo es wieder versendet werden soll? `

                                      Du hast recht, dass Foto war wo anders bzw Telegram war auf dem Slave und ich dachte sie wären beide auf dem Master. Somit sucht er wohl auf dem Slave nach dem Bild das aber auf dem Master liegt. <emoji seq="1f926-1f3fb-2642">🤦🏻‍♂️</emoji>

                                      Danke Dir!

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dan11hh last edited by

                                        Das Problem welches in nun noch mit meinem Blockly Skript habe, ist dass nur unregelmäßig ein Bild geschickt wird. Ich vermute, dass liegt daran, dass sobald öfter die Klingel gedrückt wird (man hört sie nicht wirklich), das Skript über den Trigger erneut durchgeführt wird und es dadurch zu Verzögerungen bei der Abspeicherung des BIlds kommt. Wie kann ich den Trigger beenden? Oder kann ich irgendwie eine Variable hochzählen, sodass der Trigger nur einmalig innerhalb einer X Zeit ausgeführt wird. Also bspw. nur alle 10 Sekunden geklingelt werden kann? 17266_bildschirmfoto_2019-01-29_um_22.45.54.png

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          homecineplexx last edited by

                                          Ich bin im Besitz einer hikam a7 die allerdings keinen snapshot kann.

                                          Besteht die Möglichkeit mit einem Tool den stream abzugreifen und davon einen Snapshot zu machen um das Bild zu verschicken?

                                          Jemand eine Idee?

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User last edited by

                                            @dan11hh

                                            Deine Lösung nennt sich entprellen: viewtopic.php?p=219749&sid=a8441d41af5f … 6f#p219749

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            446
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            54
                                            11827
                                            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