Folgende Parameter gibt es:
Token: Euer App-Token, den ihr im Pushover.net-Portal erhaltet.
UserKey: Eure User-ID ebenfalls aus dem Pushover-Portal.
Message: Eine Nachricht, die via .NET string.Format zusammengefügt werden kann.
VariableCount: Die Anzahl der Variablen in der Nachricht.
Variable1-n: Die Variablen (also bei “0” anfangen zu zählen).
Eine zusammengesetzte Nachricht mit mehreren Variablen kann im Message-Parameter z-B. so aussehen:
“Eingangstür ist {0}.”
Ab Version 1.8.20:
- Device: Name des Gerätes, das benachrichtigt werden soll. Name lässt sich im Pushover-Portal konfigurieren. Wenn leer gelassen (dies ist der Standard), werden alle Geräte benachrichtigt. Mehrere Gerätenamen müssen mit Komma separiert werden.
- Sound: Name des Benachrichtigungston, der verwendet werden soll. Siehe https://pushover.net/api#sounds für die Namen der Sounds. “pushover” heißt der Standard-Ton.
- Priority: Priorität zwischen -2 und 2. Je höher, desto “auffälliger” wird gewarnt. Bei “2” wird Benachrichtigung alle 3 Minuten vorgenommen, bis man das Lesen bestätigt hat. Hier werden die Stufen ausführlich erläutert: https://pushover.net/api#priority. 0 ist die Standardeinstellung.
- Title: Titel der Benachrichtigung
Ab 1.8.22:
- Titel und Message können auch als Input geschaltet werden.
Es können HTML-Tags in der Nachricht (message) verwendet werden; https://pushover.net/api#html
Mehr Infos hier: https://knx-user-forum.de/forum/supportforen/gira-logik-sdk/1314808-pushover-node-push-notifications-via-pushover
Warnung 🙂 : Ich bin kompletter Anfänger, was die Logikbausteinprogrammierung angeht; daher alles auf eigene Gewähr. Bei mir funktioniert scheinbar alles auch nach der Inbetriebnahme.
The MIT License (MIT)
Copyright (c) 2022 Dr. Alexander Zimmerhofer
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The Software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the Software.
clemensroschmann (Verifizierter Besitzer) –
Funktioniert super!