Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Neuer Adapter - Android TV & Fire TV Benachrichtigungen

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Neuer Adapter - Android TV & Fire TV Benachrichtigungen

    This topic has been deleted. Only users with topic management privileges can see it.
    • matthsc
      matthsc Developer @stolly82 last edited by

      @stolly82 Cooler Adapter! Hatte ihn schon von Github installiert und jetzt aus dem Stable aktualisiert, läuft einwandfrei. Vielen Dank 🙂

      Einen Vorschlag hätte ich noch: Wäre es möglich, z.B. per zusätzlichem State "messageObject", gleich ein ganzes Json-Objekt mit der Konfiguration zu übergeben? Sobald man abhängig von der anzuzeigenden Notification unterschiedliche Parameter setzen möchte fände ich das so einfacher, als zuerst die verschiedenen States zu setzen. Grundsätzlich ist das mit den States auch anfällig für Race Conditions, falls mal nahezu gleichzeitig unterschiedliche Notifications angezeigt werden sollten.

      stolly82 1 Reply Last reply Reply Quote 1
      • AlexAxel
        AlexAxel last edited by

        Ich glaub, ich bin zu blöd :
        Bildschirmfoto vom 2024-01-05 23-08-26.png

        L DJMarc75 2 Replies Last reply Reply Quote 0
        • L
          Lucky_ESA Developer Most Active @AlexAxel last edited by

          @alexaxel Beim ersten Mal:
          Screenshot 2024-01-05 231816.png

          1 Reply Last reply Reply Quote 1
          • DJMarc75
            DJMarc75 @AlexAxel last edited by

            @alexaxel

            Screenshot 2024-01-05 232016.png

            Oder im Zweifelsfall ganz normal installieren - wenn im stable 😉

            L 1 Reply Last reply Reply Quote 1
            • L
              Lucky_ESA Developer Most Active @DJMarc75 last edited by

              @djmarc75

              Oder im Zweifelsfall ganz normal installieren - wenn im stable 😉

              Ist noch in der Latest Prüfung 🙂

              AlexAxel 1 Reply Last reply Reply Quote 1
              • AlexAxel
                AlexAxel @Lucky_ESA last edited by

                Ist das NICE !!!
                Vielen Dank an diesen Christian oder wer die App und den Adapter geschrieben hat. Tolle Sache!!

                Wäre noch Mega wenn man genauso für bestimmte oder unbestimmte Zeit Teil seiner VIS-View einblenden könnte.
                Hab da eine View mit Pulsoximeterdaten gebaut. Das wäre echt schön, wenn ich meine VIS mit diesen Daten als kleine ausgeschnittene Ecke irgendwie da zeigen könnte.

                Aber auch so ist das Ding ein Hammer.

                1 Reply Last reply Reply Quote 0
                • stolly82
                  stolly82 @matthsc last edited by

                  @matthsc Hey, du willst praktisch ein JSON payload übergeben?

                  {message:"BLA",'image_url:'http://bla.gif''} ?

                  M matthsc 2 Replies Last reply Reply Quote 0
                  • M
                    Marty56 @stolly82 last edited by

                    Super! Funktioniert bei den ersten Tests ohne Probleme.
                    Tolle Arbeit. Danke!

                    1 Reply Last reply Reply Quote 1
                    • matthsc
                      matthsc Developer @stolly82 last edited by

                      @stolly82 said in Neuer Adapter - Android TV & Fire TV Benachrichtigungen:

                      @matthsc Hey, du willst praktisch ein JSON payload übergeben?

                      {message:"BLA",'image_url:'http://bla.gif''} ?

                      Ja, genau 🙂

                      stolly82 1 Reply Last reply Reply Quote 0
                      • stolly82
                        stolly82 @matthsc last edited by

                        @matthsc said in Neuer Adapter - Android TV & Fire TV Benachrichtigungen:

                        @stolly82 said in Neuer Adapter - Android TV & Fire TV Benachrichtigungen:

                        @matthsc Hey, du willst praktisch ein JSON payload übergeben?

                        {message:"BLA",'image_url:'http://bla.gif''} ?

                        Ja, genau 🙂

                        Erledigt!

                        Changelog

                        2.3.0 (2024-01-08)

                        • (DNAngel) extended payload possibility as message object
                        matthsc 1 Reply Last reply Reply Quote 0
                        • Neuschwansteini
                          Neuschwansteini last edited by

                          @stolly82

                          seit V2.3.0, Host Docker V9.0.1, alles latest.

                          2024-01-09 11:03:38.210  - info: host.iobroker "system.adapter.notificationforandroidtv.0" enabled
                          2024-01-09 11:03:38.304  - info: host.iobroker instance system.adapter.notificationforandroidtv.0 started with pid 3609
                          2024-01-09 11:03:39.597  - info: notificationforandroidtv.0 (3609) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v18.19.0, js-controller: 5.0.17
                          2024-01-09 11:03:39.607  - error: notificationforandroidtv.0 (3609) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                          2024-01-09 11:03:39.611  - error: notificationforandroidtv.0 (3609) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                          2024-01-09 11:03:39.612  - error: notificationforandroidtv.0 (3609) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
                          2024-01-09 11:03:39.612  - error: notificationforandroidtv.0 (3609) TypeError: Cannot read properties of undefined (reading 'error')
                              at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
                              at Notificationforandroidtv.emit (node:events:517:28)
                              at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
                              at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
                          2024-01-09 11:03:39.612  - error: notificationforandroidtv.0 (3609) Cannot read properties of undefined (reading 'error')
                          2024-01-09 11:03:39.608  - error: notificationforandroidtv.0 (3609) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
                          2024-01-09 11:03:39.610  - error: notificationforandroidtv.0 (3609) TypeError: Cannot read properties of undefined (reading 'error')
                              at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
                              at Notificationforandroidtv.emit (node:events:517:28)
                              at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
                              at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
                          2024-01-09 11:03:39.610  - error: notificationforandroidtv.0 (3609) Cannot read properties of undefined (reading 'error')
                          2024-01-09 11:03:39.611  - info: notificationforandroidtv.0 (3609) registerNotification not processed because States database not connected
                          2024-01-09 11:03:39.620  - info: notificationforandroidtv.0 (3609) terminating
                          2024-01-09 11:03:39.621  - warn: notificationforandroidtv.0 (3609) Terminated (UNCAUGHT_EXCEPTION): Without reason
                          
                          stolly82 1 Reply Last reply Reply Quote 0
                          • stolly82
                            stolly82 @Neuschwansteini last edited by

                            @ilovegym

                            Hmm, merkwürdig. Ich bekomme den im dev System und live nicht.

                            Ich schaue noch mal

                            Neuschwansteini 1 Reply Last reply Reply Quote 0
                            • Neuschwansteini
                              Neuschwansteini @stolly82 last edited by Neuschwansteini

                              @stolly82

                              hab den Fehler gefunden, ich musste die Konfig neu anlegen, deshalb auch der Fehler im Log mit unexpected json ...

                              Ich habe in der Konfig den Namen mit Leerzeichen versehen, also Fire TV Keller, da tritt der Fehler auf, wenn ich als Name FireTVKeller eintrage, geht alles...

                              🙂

                              Edit:
                              Zu frueh gefreut, hab alle 9 auf einmal angelegt, gleicher Fehler... ((

                              Edit2:
                              Also, ein FireTV angelegt, gespeichert, Adapter laeuft.
                              Naechster Firetv in der Konfig angelegt, gespeichert, Adapter laeuft... so gehts.. beim neunten isser dann wieder abgestuerzt, hab ihn geloescht und nochmal angelegt (also den neunten FireTV), seitdem gehts...

                              Denke, wenn du in der Konfig-Json suchst, biste richtig.. vielleicht kam das ja auch erst mit Admin 6.13.15..

                              stolly82 1 Reply Last reply Reply Quote 1
                              • wendy2702
                                wendy2702 last edited by wendy2702

                                Hi,

                                Geht mit dem Adapter und Notification for Android auch ein Live Stream einer Kamera?

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Lucky_ESA Developer Most Active @wendy2702 last edited by

                                  @wendy2702 sagte in Neuer Adapter - Android TV & Fire TV Benachrichtigungen:

                                  Hi,

                                  Geht mit dem Adapter und Notification for Android auch ein Live Stream einer Kamera?

                                  Dazu müsste noch die APP PiPup implementiert werden.

                                  Gruß//Lucky

                                  wendy2702 1 Reply Last reply Reply Quote 0
                                  • wendy2702
                                    wendy2702 @Lucky_ESA last edited by

                                    @lucky_esa Ja,

                                    Mit Pipup und Blockly mache ich es aktuell.

                                    Dachte es würde hiermit auch schon gehen.

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      Lucky_ESA Developer Most Active @wendy2702 last edited by

                                      @wendy2702 sagte in Neuer Adapter - Android TV & Fire TV Benachrichtigungen:

                                      @lucky_esa Ja,

                                      Mit Pipup und Blockly mache ich es aktuell.

                                      Dachte es würde hiermit auch schon gehen.

                                      Ein Adapter wäre immer die bessere Lösung. Vielleicht implementiert @stolly82 PiPup noch.

                                      Gruß//Lucky

                                      stolly82 1 Reply Last reply Reply Quote 0
                                      • stolly82
                                        stolly82 @Lucky_ESA last edited by

                                        @lucky_esa

                                        HMMMM, gar nicht mal so doof die Idee!

                                        Schon mal, da die Configs ja schon alle da sind, sollte das nicht so schwer sein 😉

                                        Ich schaue mal

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          Lucky_ESA Developer Most Active @stolly82 last edited by

                                          @stolly82 sagte in Neuer Adapter - Android TV & Fire TV Benachrichtigungen:

                                          @lucky_esa

                                          HMMMM, gar nicht mal so doof die Idee!

                                          Schon mal, da die Configs ja schon alle da sind, sollte das nicht so schwer sein 😉

                                          Ich schaue mal

                                          Hier wäre die API
                                          readme.md

                                          Gruß//Lucky

                                          stolly82 1 Reply Last reply Reply Quote 0
                                          • stolly82
                                            stolly82 @Neuschwansteini last edited by

                                            @ilovegym

                                            Objekt payload hatte ich nicht geprüft, wenn "leer" dann war es kein JSON und somit ist der Adapter abgestürzt.

                                            Ist behoben, bekomme den über das DEV Portal nur nicht in add to latest

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            826
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            19
                                            79
                                            5800
                                            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