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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Test Adapter Awtrix-Light (Awtrix 3)

    This topic has been deleted. Only users with topic management privileges can see it.
    • AtomicIX
      AtomicIX @haus-automatisierung last edited by AtomicIX

      
      awtrix-light.0
      2023-06-09 14:32:50.974	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:32:50.909	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"49°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:32:50.909	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.6 to 49 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:32:50.909	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:32:31.633	debug	received 200 response from "/api/stats" with content: {"bat":65,"bat_raw":600,"lux":"1289","ldr_raw":1019,"ram":150840,"bri":120,"temp":"36","hum":"14","uptime":"2474","wifi_signal":-85,"up_available":false,"messages":0,"version":"0.67","indicator1":false,"indicator2":false,"indicator3":false}
      
      awtrix-light.0
      2023-06-09 14:32:31.559	debug	re-creating refresh state timeout
      
      awtrix-light.0
      2023-06-09 14:32:31.558	debug	sending "GET" request to "/api/stats" without data
      
      awtrix-light.0
      2023-06-09 14:32:31.558	debug	refreshing device state
      
      awtrix-light.0
      2023-06-09 14:31:50.966	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:31:50.852	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"48°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:31:50.851	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.4 to 48 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:31:50.851	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:31:35.915	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:31:35.882	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"49°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:31:35.882	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.5 to 49 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:31:35.881	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:31:31.614	debug	received 200 response from "/api/stats" with content: {"bat":67,"bat_raw":603,"lux":"2814","ldr_raw":1021,"ram":151068,"bri":120,"temp":"36","hum":"14","uptime":"2414","wifi_signal":-82,"up_available":false,"messages":0,"version":"0.67","indicator1":false,"indicator2":false,"indicator3":false}
      
      awtrix-light.0
      2023-06-09 14:31:31.558	debug	re-creating refresh state timeout
      
      awtrix-light.0
      2023-06-09 14:31:31.558	debug	sending "GET" request to "/api/stats" without data
      
      awtrix-light.0
      2023-06-09 14:31:31.557	debug	refreshing device state
      
      awtrix-light.0
      2023-06-09 14:31:03.249	debug	received 200 response from "/api/custom?name=aussen" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:31:03.136	debug	[onStateChange] ignoring customApps state change of "netatmo.0.5f451b174be7c35c0a5ef69f.70-ee-50-5e-d1-d4.02-00-00-8d-d2-46.Temperature.Temperature" to 29.2 - refreshes too fast (within 1 seconds)
      
      awtrix-light.0
      2023-06-09 14:31:03.132	debug	sending "POST" request to "/api/custom?name=aussen" with data: {"text":"undefined °C","icon":"4285","duration":5}
      
      awtrix-light.0
      2023-06-09 14:31:03.132	debug	[refreshCustomApp] Refreshing custom app "aussen" with icon "4285" and text "%s %u"
      
      admin.0
      2023-06-09 14:30:45.262	info	<== Disconnect system.user.admin from ::ffff:192.168.222.155 admin
      
      awtrix-light.0
      2023-06-09 14:30:31.606	debug	received 200 response from "/api/stats" with content: {"bat":66,"bat_raw":601,"lux":"7572","ldr_raw":1022,"ram":150844,"bri":120,"temp":"36","hum":"14","uptime":"2354","wifi_signal":-82,"up_available":false,"messages":0,"version":"0.67","indicator1":false,"indicator2":false,"indicator3":false}
      
      awtrix-light.0
      2023-06-09 14:30:31.557	debug	re-creating refresh state timeout
      
      awtrix-light.0
      2023-06-09 14:30:31.556	debug	sending "GET" request to "/api/stats" without data
      
      awtrix-light.0
      2023-06-09 14:30:31.556	debug	refreshing device state
      
      awtrix-light.0
      2023-06-09 14:30:20.960	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:30:20.858	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"48°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:30:20.858	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.4 to 48 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:30:20.857	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:29:31.604	debug	received 200 response from "/api/stats" with content: {"bat":64,"bat_raw":598,"lux":"7033","ldr_raw":1022,"ram":151112,"bri":120,"temp":"36","hum":"14","uptime":"2294","wifi_signal":-83,"up_available":false,"messages":0,"version":"0.67","indicator1":false,"indicator2":false,"indicator3":false}
      
      awtrix-light.0
      2023-06-09 14:29:31.556	debug	re-creating refresh state timeout
      
      awtrix-light.0
      2023-06-09 14:29:31.555	debug	sending "GET" request to "/api/stats" without data
      
      awtrix-light.0
      2023-06-09 14:29:31.555	debug	refreshing device state
      
      awtrix-light.0
      2023-06-09 14:28:50.947	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:28:50.854	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"48°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:28:50.853	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.3 to 48 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:28:50.853	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:28:35.999	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:28:35.878	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"48°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:28:35.878	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.2 to 48 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:28:35.878	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:28:32.028	debug	re-creating history apps timeout (300 seconds)
      
      awtrix-light.0
      2023-06-09 14:28:31.600	debug	received 200 response from "/api/stats" with content: {"bat":64,"bat_raw":598,"lux":"7572","ldr_raw":1022,"ram":151116,"bri":120,"temp":"36","hum":"14","uptime":"2234","wifi_signal":-83,"up_available":false,"messages":0,"version":"0.67","indicator1":false,"indicator2":false,"indicator3":false}
      
      awtrix-light.0
      2023-06-09 14:28:31.554	debug	re-creating refresh state timeout
      
      awtrix-light.0
      2023-06-09 14:28:31.553	debug	sending "GET" request to "/api/stats" without data
      
      awtrix-light.0
      2023-06-09 14:28:31.553	debug	refreshing device state
      
      awtrix-light.0
      2023-06-09 14:27:31.589	debug	received 200 response from "/api/stats" with content: {"bat":65,"bat_raw":600,"lux":"7572","ldr_raw":1022,"ram":151112,"bri":120,"temp":"36","hum":"14","uptime":"2174","wifi_signal":-81,"up_available":false,"messages":0,"version":"0.67","indicator1":false,"indicator2":false,"indicator3":false}
      
      awtrix-light.0
      2023-06-09 14:27:31.552	debug	re-creating refresh state timeout
      
      awtrix-light.0
      2023-06-09 14:27:31.551	debug	sending "GET" request to "/api/stats" without data
      
      awtrix-light.0
      2023-06-09 14:27:31.551	debug	refreshing device state
      
      awtrix-light.0
      2023-06-09 14:27:20.937	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:27:20.872	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"48°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:27:20.872	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.3 to 48 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:27:20.872	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:27:05.999	debug	received 200 response from "/api/custom?name=dusche" with content: "OK"
      
      awtrix-light.0
      2023-06-09 14:27:05.866	debug	sending "POST" request to "/api/custom?name=dusche" with data: {"text":"48°C","icon":"9840","duration":5}
      
      awtrix-light.0
      2023-06-09 14:27:05.866	debug	[refreshCustomApp] formatted value of "sonoff.0.Dusche.DS18B20_Temperature" from 48.2 to 48 (0 decimals)
      
      awtrix-light.0
      2023-06-09 14:27:05.866	debug	[refreshCustomApp] Refreshing custom app "dusche" with icon "9840" and text "%s%u"
      
      awtrix-light.0
      2023-06-09 14:26:31.695	debug	received 200 response from "/api/stats" with content: {"bat":66,"bat_raw":601,"lux":"7033","ldr_raw":1022,"ram":151564,"bri":120,"temp":"36","hum":"13","uptime":"2114","wifi_signal":-85,"up_available":false,"messages":0,"version":"0.67","indicator1":false,"indicator2":false,"indicator3":false}
      
      awtrix-light.0
      2023-06-09 14:26:31.550	debug	re-creating refresh state timeout
      
      awtrix-light.0
      2023-06-09 14:26:31.549	debug	sending "GET" request to "/api/stats" without data
      
      awtrix-light.0
      2023-06-09 14:26:31.549	debug	refreshing device state```
      haus-automatisierung 1 Reply Last reply Reply Quote 0
      • M
        MCU last edited by MCU

        @nordlicht67 Es gibt trotzdem weiterhin die Möglichkeit die Standard-Apps per javascript auszuschalten, wenn man sie nicht im Menu dauerhaft ausstellen möchte.
        Ein Bespiel:

        let ipaddress = '192.168.178.xxx';
        // show: false -> aus; true -> an
        // name anpassen : time, date, temp, hum, bat, eyes
        exec((['curl -X POST ','-d  "[{ name: \'time\', show: false }]" ','-H \'Content-Type: application/json\' ','\'http://'+ipaddress+'/api/apps\''].join(''))); 
        ```
        1 Reply Last reply Reply Quote 0
        • R
          reini last edited by reini

          würde es noch Sinn machen jeder benutzerdefinierten App einen eigenen Farbcode mitgeben zu können? Kann das der Adapter aussteuern?

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

            @reini sagte in Test Adapter Awtrix-Light:

            würde es noch Sinn machen jeder benutzerdefinierten App einen eigenen Farbcode mitgeben zu können?

            Ich brauche es nicht, daher habe ich die Fleißarbeit erstmal nicht gemacht 🙂 Aber ja, kann ich noch einbauen

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

              @atomicix Mh, das sieht aber erstmal so aus als ob alles klappt? Kam in dem Durchlauf wieder ein "undefined"?

              AtomicIX 2 Replies Last reply Reply Quote 0
              • R
                reini last edited by

                noch ne blöde Frage, was macht Ihr am Abend mit den Ding? Ein setzen von Display/Power auf false hat bei mir keinerlei Auswirkung?! Möchte das Gerät ja nicht die ganze Nacht on haben sondern per Skript steuern..

                DJMarc75 haus-automatisierung 2 Replies Last reply Reply Quote 0
                • AtomicIX
                  AtomicIX @haus-automatisierung last edited by

                  @haus-automatisierung
                  Ja, wenn es erst mal da ist, bleibt es, bis zum Neustart. Dann ist wieder kurz alles gut, und dann bleibt es. Aber nur bei aussen (netatmo), die Dusche (sonoff) ist alles super.

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

                    @reini sagte in Test Adapter Awtrix-Light:

                    Ein setzen von Display/Power auf false hat bei mir keinerlei Auswirkung

                    Dann machst Du halt was falsch. Wie setzt Du den DP genau ?

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

                      @reini sagte in Test Adapter Awtrix-Light:

                      Ein setzen von Display/Power auf false hat bei mir keinerlei Auswirkung?!

                      Auch hier: Debug-Log bitte 🙂 Dass Du States unbestätigt (ack: false) schreiben musst ist hoffentlich klar?

                      1 Reply Last reply Reply Quote 0
                      • E
                        erfggi @Thomas Braun last edited by

                        @thomas-braun sagte in Test Adapter Awtrix-Light:

                        Anrufer auf der FritzBox laufen hier bei mir durch.

                        hast du einen Tipp wie das als App geht? ich bekomme das nicht hin.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @erfggi last edited by

                          @erfggi

                          Nicht als App, sondern als Blockly. Gibt einen passenden Baustein zu awtrix.

                          1 Reply Last reply Reply Quote 0
                          • E
                            erfggi last edited by

                            @thomas-braun sagte in Test Adapter Awtrix-Light:

                            Nicht als App, sondern als Blockly. Gibt einen passenden Baustein zu awtrix.

                            Danke! gefunden und funktioniert.

                            tobasium 1 Reply Last reply Reply Quote 0
                            • AtomicIX
                              AtomicIX @haus-automatisierung last edited by AtomicIX

                              @haus-automatisierung

                              Hier noch mal ein auszug aus dem Log, Also Netatmo aktualisiert alle 10 min
                              Gefiltert nur auf Netatmo

                              
                              awtrix-light.0
                              2023-06-09 21:41:03.042	debug	[onStateChange] ignoring customApps state change of "netatmo.0.5f451b174be7c35c0a5ef69f.70-ee-50-5e-d1-d4.02-00-00-8d-d2-46.Temperature.Temperature" to 21.2 - refreshes too fast (within 1 seconds)
                              
                              awtrix-light.0
                              2023-06-09 21:31:03.010	debug	[onStateChange] ignoring customApps state change of "netatmo.0.5f451b174be7c35c0a5ef69f.70-ee-50-5e-d1-d4.02-00-00-8d-d2-46.Temperature.Temperature" to 21.5 - refreshes too fast (within 1 seconds)
                              
                              awtrix-light.0
                              2023-06-09 21:21:03.005	debug	[onStateChange] ignoring customApps state change of "netatmo.0.5f451b174be7c35c0a5ef69f.70-ee-50-5e-d1-d4.02-00-00-8d-d2-46.Temperature.Temperature" to 21.8 - refreshes too fast (within 1 seconds)
                              

                              EDIT:
                              Also das mit dem zusätzlichen Datenpunkt als Merker, wo die Temperaturen übertragen werden, läuft ohne Probleme. Was mir da nur aufgefallen ist, ich habe die Dezimal Stellen für die Cutom App auf 0 stehen.
                              Wenn ich den original Netatmo Datenpunkt nehme, wird das auch so angezeigt, wenn ich den Merker Datenpunkt nehme, habe ich eine Dezimal Stelle, ohne die Einstellungen zu ändern. Es wird ein "Punkt" angezeigt. Der Netatmo Datenpunkt ein ein Komma

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

                                ich kann die standard apps nicht mehr auschalten..

                                batt, date, eyes brauch ich nicht..

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

                                  @arteck Mach es am besten direkt über die Uhr an den Tasten, funktioniert top.

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

                                    @ben1983 das hab ich gerade auch gemacht.... danke

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

                                      @atomicix sagte in Test Adapter Awtrix-Light:

                                      wenn ich den Merker Datenpunkt nehme, habe ich eine Dezimal Stelle, ohne die Einstellungen zu ändern. Es wird ein "Punkt" angezeigt. Der Netatmo Datenpunkt ein ein Komma

                                      Ich verstehe nicht ganz? Dann ist das eine wohl vom Objekttyp string und das andere eine number? Generell werden numerische Werte immer mit einem Punkt als Trennzeichen gespeichert, aber der Admin zeigt das entsprechend deiner Konfiguration an (also macht aus dem Punkt dann ein Komma falls so in den Einstellungen festgelegt). Zeig mal bitte wie die beiden Objekte definierte sind.

                                      AtomicIX 1 Reply Last reply Reply Quote 0
                                      • C
                                        cacherwolf @mrjeschke last edited by cacherwolf

                                        @mrjeschke

                                        @mrjeschke said in Test Adapter Awtrix-Light:

                                        @atomicix
                                        Ich habe momentan das gleiche Problem. Nach einem Neustart des Adapters funktioniert es.
                                        Sobald der DP das erste mal aktualisiert wird, steht im Display undefined.
                                        Im log sehe ich dann ein refreshes too fast.
                                        Der DP wird bei mir aber nur alle 15 Minuten aktualisiert.
                                        Wenn ich ein alias auf diesen DP erstelle und mir diesen anzeigen lasse funktioniert es komischerweise.

                                        Ich habe auch zwei DP der nicht aktualisiert wird, auch der Umweg über den Alias funktioniert bei mir nicht.
                                        Das sind beides Werte die aus einem JS-Script kommen, die Werte die direkt aus dem Sonoff Adapter kommen werden aktualisiert.

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

                                          @cacherwolf sagte in Test Adapter Awtrix-Light:

                                          Das sind beides Werte die aus einem JS-Script kommen, die Werte die direkt aus dem Sonoff Adapter kommen werden aktualisiert.

                                          Dann sind die Werte wohl nicht bestätigt? Es werden nur states angezeigt, welche ack: true sind. Siehe aktualisiere vs. steuere.

                                          C 1 Reply Last reply Reply Quote 0
                                          • Elektroniker86
                                            Elektroniker86 last edited by

                                            Moin,

                                            hab im Log kontinuierliche warn Logs:

                                            
                                            
                                            awtrix-light.0
                                            2023-06-10 09:44:52.611	warn	(custom?name=entladen) Unable to refresh custom app "entladen": AxiosError: timeout of 3000ms exceeded
                                            
                                            awtrix-light.0
                                            2023-06-10 09:44:51.406	warn	(custom?name=verbrauch) Unable to refresh custom app "verbrauch": AxiosError: timeout of 3000ms exceeded
                                            
                                            awtrix-light.0
                                            2023-06-10 09:44:51.383	warn	(custom?name=verbrauch) Unable to refresh custom app "verbrauch": AxiosError: timeout of 3000ms exceeded
                                            

                                            Was heißt das?

                                            haus-automatisierung 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            501
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            165
                                            2155
                                            883103
                                            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