Hinweis: Kostenlose iPhone notification (eine Art SMS) mit Prowl

Begonnen von Guest, 08 Oktober 2011, 23:03:47

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Hallo,

es gibt für iOS die Applikation Prowl, welche die Apple-Notifications
benutzt. Entgegen SMS kosten die nichts.

Normal wird Prowl zusammen mit Growl genutzt, aber man kann es auch
direkt ansteuern.
Auf der Webseite www.prowlapp.com gibt es u.a. ein Perl-Script. Hierzu
muss man sich nur einen API-Key erzeugen, welcher zur Authorisierung
dient.

Das sieht mit FHEM dann so aus:

define WatchdogNotify_check notify (Watchdog:off) { \
        system("perl prowl.pl " . \
                "-apikey=0bc3f30d....1c87c5 " . \
                "-application=FHEM " . \
                "-event=Watchdog " . \
                "-notification='Watchdog time out!' &");; \
        0;; \
}

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

eppi

                                               

Hallo FHEM-Softie
coole Sache, habe das gleich eingerichtet. Ich möchte nur kurz zwei
Inputs dazu geben.

1.
> define WatchdogNotify_check notify (Watchdog:off) { \
>         system("perl prowl.pl " . \
>                 "-apikey=0bc3f30d....1c87c5 " . \
>                 "-application=FHEM " . \
>                 "-event=Watchdog " . \
>                 "-notification='Watchdog time out!' &");; \
>         0;; \

Hier fehlt noch die abschliessende }... also:

define WatchdogNotify_check notify (Watchdog:off) { \
        system("perl /pfad/zu/Datei/prowl.pl " . \
                "-apikey=0bc3f30d....1c87c5 " . \
                "-application=FHEM " . \
                "-event=Watchdog " . \
                "-notification='Watchdog time out!' &");; \
        0;; \
}

2.
Auf  Debian / Ubuntu müssen zusätzlich folgende Packete installiert
sein.
libcrypt-ssleay-perl liblwp-useragent-determined-perl

Nochmals Danke für den coolen Beitrag.
Gruss Dani

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com