NEWS
Blockly - Pushover & Attachment
-
Mit Shift F5 Browser refresh UND cahe gelöscht ?
Sent from my iPhone using Tapatalk `
Hat auch keinen Erfolg gebracht.
Was mich auf jeden Fall wundert, ist die Version, die angezeigt.
Per Console uwrde ja Version 1.2.0 installiert.
In der Adapter-Übersicht steht aber immer noch Version 1.1.0
-
Hmm dann ist doch die ältere Version installiert.
Also nochmal per github installieren und dann den Upload Befehl und nicht aus npm (da ist die neuere Version noch nicht bekannt)
Sent from my iPhone using Tapatalk
-
Issues würden geschlossen und gemerged, sollte jetzt gehen:
https://github.com/qbit/node-pushover/b … /README.md
Wer ist so nett und adaptiert die blockly Variante? :oops:
Grüße
Kevin ` Diese Repo hat doch nichts mit iobroker zu tun…
Gesendet von meinem HUAWEI VNS-L31 mit Tapatalk
-
Diese Repo hat doch nichts mit iobroker zu tun… `
Genau. Der Pushover-Adapter 1.1.0 des ioBroker ist etwas anderes, als die npm-Version 1.2.0 der pushover-notifications. Ich befürchte, dass auch die Version 1.1.0 des Pushover-Adapters leider noch nicht mit Attachments umgehen kann.
Würde mich aber auch sehr freuen, wenn das bald mal ginge, damit ich meine mit dem phantomjs-Adapter erstellten Screenshots per Pushover verschicken kann.
-
Ist dazu bereits ein issue erstellt für den ioBroker pushover Adapter?
Sent from my iPhone using Tapatalk
-
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…
-
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
-
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
-
Hängt miteinander zusammen
Sent from my iPhone using Tapatalk
-
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:
Und hier die Ausgabe auf der Watch:
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.
-
Update das bitte Mal im gut issue Holz den Entwickler auch
Sent from my iPhone using Tapatalk
-
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:
-
@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:
-
@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:
Und hier die Ausgabe auf der Watch:
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!
-
@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