Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly - Pushover & Attachment

    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

    Blockly - Pushover & Attachment

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

      Ja, darum habe ich ja gefragt ob jemand das dort implementieren kann.

      https://github.com/ioBroker/ioBroker.pushover/issues/5

      Ist mir schon klar gewesen das die zuvor genannte Repo nicht für iobroker war…

      SebastianSchultz created this issue in ioBroker/ioBroker.pushover

      closed Implement usage of attachments #5

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Dachte mir bereits dass wir hier von 2 verschiedenen Sachen reden.

        Vor 1nem Monat wurde die dependency gelöst im pushover npm Paket, ich habe das in git verlinkt nöste Frage ist wann der Entwickler Zeit hat sich die an zu nehmen 😉

        Sent from my iPhone using Tapatalk

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

          Hängt die Änderung in Blockly direkt mit der Änderung des Pushover-Adapters zusammen? Evtl. könnte man das ja getrennt voneinander machen. Im Pushover-Adapter müsste man ja theoretisch nur das aktuelle npm-Repository von pushover-notifications einbinden, oder? Dann könnten zumindest schon mal die mit Attachments arbeiten, die den Pushover-Adapter direkt per Javaskript aufrufen.

          Oder geht das sogar schon direkt durch Aufruf von

          npm install pushover-notifications
          

          Gruß,

          Thorsten

          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            Hängt miteinander zusammen

            Sent from my iPhone using Tapatalk

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

              Also ohne Blockly funktioniert es auf jeden Fall schon mal mit der Version 1.2.0 von pushover-notifications.

              Hier die Ausgabe auf dem iPhone:
              996_pushover_iphone.png
              Und hier die Ausgabe auf der Watch:
              996_pushover_watch.png

              Hier das zugehörige Javaskript:

              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/phantomjs_images/Gasverbrauch.png', // 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
              });
              

              Der Pfad für die angehängte PNG-Datei ist natürlich an meine Docker-Installation angepasst.

              T 1 Reply Last reply Reply Quote 0
              • Dutchman
                Dutchman Developer Most Active Administrators last edited by

                Update das bitte Mal im gut issue Holz den Entwickler auch 🙂

                Sent from my iPhone using Tapatalk

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

                  Ich habe das jetzt mal https://github.com/ioBroker/ioBroker.pushover/issues/5 hinzugefügt. Das entsprechende Issue besteht allerdings seit Anfang des Jahres. Ob da wirklich noch mal was passiert? :roll:

                  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

                    @dtp:

                    Also ohne Blockly funktioniert es auf jeden Fall schon mal mit der Version 1.2.0 von pushover-notifications. `

                    Vielen Dank für das Script. Als nicht Script mächtiger, kann ich da schon mal etwas rumfummeln. Würde eigentlich gerne mein Klingel Skript anpassen und meine Türkamera einen Snapshot pushen lassen.

                    Hab nur leider keine Ahnung wie ich das ohne Blockly hinbekommen soll.

                    Der Snapshot wird über folgende URL abgerufen:

                    http://192.168.2.119/cgi-bin/api.cgi?cm … ord=123456

                    Wie bekomm ich das nun in ioBroker? :oops:

                    M 1 Reply Last reply Reply Quote 0
                    • T
                      TS @dtp last edited by

                      @dtp said in Blockly - Pushover & Attachment:

                      Also ohne Blockly funktioniert es auf jeden Fall schon mal mit der Version 1.2.0 von pushover-notifications.

                      Hier die Ausgabe auf dem iPhone:
                      996_pushover_iphone.png
                      Und hier die Ausgabe auf der Watch:
                      996_pushover_watch.png

                      Hier das zugehörige Javaskript:

                      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/phantomjs_images/Gasverbrauch.png', // 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
                      });
                      

                      Der Pfad für die angehängte PNG-Datei ist natürlich an meine Docker-Installation angepasst.

                      Hi, ich habe auch probiert, ein Bild zu senden. Die Message ging weg (und kam auch an), allerdings ohne Bild.
                      Ich habe einen rpi 3b+ frisch aufgesetzt (3 Tage alt), JavaScript und der Pushover Adapter sind über die Iobroker Oberfläche installiert.
                      Den Pushover.notifications (Adapter?) habe ich in der Konsole mit npm install pushover.notifications installiert.
                      Lt. Konsole auch erfolgreich.

                      Sollte ich im iob das installierte pushover.notifications irgendwo sehen?
                      Der Pushover Adapter steht wie vom Start weg bei v1.04.

                      Ich habe eins der Beispielscripte von der pushover.notifications github Site probiert- da kommen nur Fehler in der JavaScript Konsole!

                      1 Reply Last reply Reply Quote 0
                      • M
                        Master77 @dan11hh last edited by

                        @dan11hh sagte in Blockly - Pushover & Attachment:

                        @dtp:

                        Also ohne Blockly funktioniert es auf jeden Fall schon mal mit der Version 1.2.0 von pushover-notifications. `

                        Vielen Dank für das Script. Als nicht Script mächtiger, kann ich da schon mal etwas rumfummeln. Würde eigentlich gerne mein Klingel Skript anpassen und meine Türkamera einen Snapshot pushen lassen.

                        Hab nur leider keine Ahnung wie ich das ohne Blockly hinbekommen soll.

                        Der Snapshot wird über folgende URL abgerufen:

                        http://192.168.2.119/cgi-bin/api.cgi?cm … ord=123456

                        Wie bekomm ich das nun in ioBroker? :oops:

                        Hallo. Ich habe bei mir genau das selbe vor. Möchte gern bei auslösen des Bewegungssensor das ein Snapshot per Pushover versendet wird.
                        Bist du mit deinem Vorhaben schon weiter gekommen? Meine Suche im Netz war bisher erfolglos.

                        Gruß Markus

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        787
                        Online

                        31.8k
                        Users

                        79.9k
                        Topics

                        1.3m
                        Posts

                        9
                        45
                        5479
                        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