Neues Modul FireTVnotify

Begonnen von byterazor, 02 Juni 2017, 22:29:04

Vorheriges Thema - Nächstes Thema

byterazor

Moin,

für den Eigenbedarf habe ich ein kleines Modul geschrieben, um Benachrichtigungen auf dem FireTV anzeigen zu können.
Das Modul findet Ihr unter https://github.com/byterazor/Fhem-Modules .
Auf dem FireTV wird dazu die APP Notifications for FireTV benötigt.

Das Modul ist derzeit noch in einer frühen Entwicklungsphase. Wer Fehler findet darf sie gerne bei Github eintragen.

noch einen schönen Abend
Dominik


Tom71

Es kommt leider nichts am FireTV an:

Internals:
   CFGFN
   DEF        192.168.0.21
   IP         192.168.0.21
   MSG_APP    FireTVnotify
   MSG_BKGCOLOR #607D8B
   MSG_DURATION 9
   MSG_FORCE  true
   MSG_ICON   openautomation/message_attention.svg
   MSG_MSG    HALLO
   MSG_OFFSET 0
   MSG_OFFSETy 5
   MSG_POSITION Bottom Right
   MSG_TITLE  FireTVnotify FHEM
   MSG_TRANSPARENCY 0
   MSG_TYPE   Normal
   NAME       FireTVnotify
   NR         478
   STATE      defined
   TYPE       FireTVnotify
   VERSION    0.0.1
   helper:
     MSG_POSITION 0
     MSG_TYPE   0
     URL        http://192.168.0.21:7676/
Attributes:
   verbose    5

Ich sehe auch leider nichts im fhem log file.
Auf dem FireTV ist die App installiert.
Homematic | RaspberryMatic

CoolTux

Hallo


Du hast 2 oder 3 Funktionen in Deiner Moduldatei welche ohne Modulname als Präfix aufgerufen werden. Das solltest Du bitte ändern.
Sofern noch nicht geschehen ist ein guter Ansatz für FHEM Modulentwicklung das Wiki mit dem Developer Guide.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net