Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Awtrix-Light (Awtrix 3)

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Awtrix-Light (Awtrix 3)

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Michaelnorge @MCU last edited by

      @mcu Genial, hat geklappt! 1000 Dank :-))))

      K 1 Reply Last reply Reply Quote 0
      • JB_Sullivan
        JB_Sullivan last edited by

        Uiiii - mit der 0.71 Firmware kann man auch Ringtone Dateien abspielen. Wird das der Adapter ggf. auch unterstützen?

        haus-automatisierung 1 Reply Last reply Reply Quote 0
        • Bravestarr
          Bravestarr last edited by

          Hi!

          Now that I can show any information from ioBroker I fell in love with this adapter. This works great for "apps" But what is the idea to display "notifications" with e.g. "Spotify"? I have the current playing song in spotify in spotify-premium.0.player.trackName But when I use your adapter in "App mode" this will always be displayed. But I need this only when the value in spotify-premium.0.player.trackName changes and only one time. What is the best way to do this with your adapter? I saw "blocky" in your documentation. Is this the way to go?

          DJMarc75 1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @Bravestarr last edited by DJMarc75

            @bravestarr sagte in Test Adapter Awtrix-Light:

            I saw "blocky" in your documentation. Is this the way to go?

            Yes

            example:

            Screenshot 2023-07-26 190704.png

            C 1 Reply Last reply Reply Quote 0
            • C
              Czarno13 @DJMarc75 last edited by Czarno13

              @djmarc75
              Aber es geht auch mit App:

              Screenshot_2023-07-26 19.12.23_k3LIYP.jpg

              wird nur dann angezeigt, wenn Spotify läuft

              Bravestarr 1 Reply Last reply Reply Quote 0
              • Bravestarr
                Bravestarr @Czarno13 last edited by Bravestarr

                @czarno13 No the app is always active and does not disapear or appear when a song is played.

                What works is this:

                // Create a state change listener for spotify-premium.0.player.trackName
                on({ id: 'spotify-premium.0.player.trackName', change: 'ne', ack: true }, function (obj) {
                    if (!obj || !obj.state || obj.state.val === null) {
                        console.warn('Invalid trackName state object or null value.');
                        return;
                    }
                
                    const newTrackName = obj.state.val;
                    const notificationText = `Now playing: ${newTrackName}`;
                
                    if (newTrackName.trim() === '') {
                        console.warn('Track name is empty.');
                        return;
                    }
                
                    // Send the notification to Awtrix display
                    sendTo('awtrix-light', 'notification', { text: notificationText, repeat: 1, duration: 5, stack: true, wakeup: true }, (res) => {
                        if (res && res.error) {
                            console.error(res.error);
                        }
                    });
                });
                
                C M 2 Replies Last reply Reply Quote 1
                • C
                  Czarno13 @Bravestarr last edited by Czarno13

                  @bravestarr
                  no, for me it works exactly like that, it only displays something when spotify is playing

                  Bravestarr 1 Reply Last reply Reply Quote 0
                  • M
                    MCU @Bravestarr last edited by

                    @bravestarr Please set all of Code in Code Tags. Thanks.

                    Bravestarr 1 Reply Last reply Reply Quote 0
                    • Bravestarr
                      Bravestarr @Czarno13 last edited by

                      @czarno13 said in Test Adapter Awtrix-Light:

                      @bravestarr
                      no, for me it works exactly like that, it only displays something when spotify is playing

                      Yes, but what I wanted and accomplished with the notice triggered by the js adapter is when a songs starts its name is briefly displayed and disappears after 3 seconds. I do not want to keep the song visible while spotify is playing.

                      BTW: how can I display an icon cia id in the js notice?

                      1 Reply Last reply Reply Quote 0
                      • Bravestarr
                        Bravestarr @MCU last edited by

                        @mcu done

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

                          @bravestarr Warum eigentlich auf englisch ??? Du hast in Deinen vergangenen Beiträgen in deutsch geschrieben.... ist das Schikane oder ein Scherz ??

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

                            @djmarc75 ich kann auch deutsch, aber so verstehen es mehr Leute. Das hilft ja auch anderen wenn ich dumme Fragen stelle

                            DJMarc75 1 Reply Last reply Reply Quote 0
                            • DJMarc75
                              DJMarc75 @Bravestarr last edited by

                              @bravestarr sagte in Test Adapter Awtrix-Light:

                              so verstehen es mehr Leute

                              definitiv nicht - im deutschen Forum 😉

                              Das Blockly schon probiert ?
                              Das ist nämlich genau für so was vorgesehen.

                              Bravestarr 1 Reply Last reply Reply Quote 3
                              • haus-automatisierung
                                haus-automatisierung Developer Most Active @JB_Sullivan last edited by

                                @jb_sullivan sagte in Test Adapter Awtrix-Light:

                                Uiiii - mit der 0.71 Firmware kann man auch Ringtone Dateien abspielen.

                                Was ist daran neu in der Version?

                                1 Reply Last reply Reply Quote 0
                                • haus-automatisierung
                                  haus-automatisierung Developer Most Active @JB_Sullivan last edited by

                                  @jb_sullivan sagte in Test Adapter Awtrix-Light:

                                  Mir persönlich kommt es so vor, als ob der Adapter eine Art Datenbank nutzt, welche im Hintergrund eingelesen wird.

                                  Ich hab Dir das doch schon öfter hier erklärt: Der Adapter selbst macht hier gar nichts. Die komplette Konfigurationsseite kommt so aus dem Admin-Adapter. Also: Keine "Datenbank" o.ä. Das ist pures JavaScript im Frontend auf dem Client.

                                  Du hast ja richtig viele Apps eingerichtet, oder? Ich könnte mir vorstellen, dass die Validierung der Felder nie für hunderte Felder getestet wurde. Eventuell ist das nicht sehr performant. Das wäre auch ein Issue für den Admin-Adapter und man müsste das mal genau untersuchen mit verschiedenen Clients/Browsern usw.

                                  1 Reply Last reply Reply Quote 0
                                  • Ben1983
                                    Ben1983 last edited by

                                    @haus-automatisierung bei mir tritt folgendes Verhalten manchmal auf:

                                    Abends wird das Display mit power = false deaktivert.

                                    der Adapter meldet ca. 2-4 min später:

                                    2023-07-26 22:04:55.074 - warn: awtrix-light.0 (802) (custom?name=gridpower) Unable to update custom app "gridpower": AxiosError: timeout of 3000ms exceeded
                                    2023-07-26 22:14:39.220 - error: awtrix-light.0 (802) Unable to perform action for indicator.1.active - API is not connected (device not reachable?)
                                    2023-07-26 22:14:39.224 - error: awtrix-light.0 (802) Unable to perform action for indicator.3.active - API is not connected (device not reachable?)
                                    2023-07-26 22:14:39.228 - error: awtrix-light.0 (802) Unable to perform action for apps.storagepower.visible - API is not connected (device not reachable?)
                                    

                                    danach keine Fehlermeldung mehr.

                                    Das Gerät wird morgens wieder aktiviert (display.power = true)

                                    Daraufhin ca. 30s später:

                                    2023-07-27 06:00:36.240 - error: awtrix-light.0 (802) Unable to perform action for display.power - API is not connected (device not reachable?)
                                    

                                    dann ist ca. 30min Ruhe und dann fängt es so an:

                                    2023-07-27 06:30:50.152 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:30:52.194 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:30:58.149 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:00.169 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:02.068 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:04.126 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:06.184 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:08.198 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:10.228 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:14.182 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    2023-07-27 06:31:16.174 - error: awtrix-light.0 (802) Unable to perform action for apps.pvpower.visible - API is not connected (device not reachable?)
                                    

                                    Das Gerät ist aus.
                                    Neustart und alles läuft einwandfrei.
                                    Die Meldung, dass nicht conected ist, scheint also zu stimmen, aber keine Ahnung, ob das Gerät auch startet durch display.power = true
                                    (Mit meinen manuellen Versuchen hat es bis jetzt geklappt, allerdings ist morgens das display, wenn ich ins Büro komme manchmal dunkel)=>(Geräthängt dauerhaft am USB)

                                    arteck NWH 2 Replies Last reply Reply Quote 0
                                    • arteck
                                      arteck Developer Most Active @Ben1983 last edited by arteck

                                      @ben1983 sagte in Test Adapter Awtrix-Light:

                                      display.power = true

                                      damit hängt es zusammen.... habs auch .. ich mach die dann auf brightness 0 ..
                                      dann macht die kein disco.. scheint als ob die in Batterie schonmodus geht .. und macht das WIFI aus..
                                      reconnected sich dann aber nicht

                                      Ben1983 1 Reply Last reply Reply Quote 0
                                      • Ben1983
                                        Ben1983 @arteck last edited by

                                        @arteck OK, allerdings ist dien "Brightness" ja nur readable.

                                        1cca15f4-37d8-4533-933f-607c0c70b4f1-image.png

                                        arteck 1 Reply Last reply Reply Quote 0
                                        • arteck
                                          arteck Developer Most Active @Ben1983 last edited by arteck

                                          @ben1983 dann nimm den richtigen

                                          ea5e042a-fb94-4c2c-9fad-2ba72408fd65-grafik.png

                                          Ben1983 1 Reply Last reply Reply Quote 1
                                          • Ben1983
                                            Ben1983 @arteck last edited by

                                            @arteck Danke. Werde es umstellen und beobachten.
                                            Scheint als dann wirklich ein sporadisches "Fehlverhalten" der Uhr zu sein, denn jeden Tag ist es nicht.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            993
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            165
                                            2158
                                            912462
                                            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