Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Tasmota Steckdose > ESP Matrix Display

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Tasmota Steckdose > ESP Matrix Display

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Wal last edited by

      @wal z.b.

      https://de.aliexpress.com/item/32808274553.html?spm=a2g0o.productlist.main.7.54b0RdIARdIA9P&algo_pvid=3bd9a70e-fb21-4689-877c-6274a45534a8&algo_exp_id=3bd9a70e-fb21-4689-877c-6274a45534a8-3&pdp_npi=4%40dis!EUR!2.92!2.68!!!3.00!!%40211b446516965080476396927e8e45!67117848425!sea!DE!1722631984!&curPageLogUid=hKpYWFPEiJUP

      Wal 1 Reply Last reply Reply Quote 0
      • Wal
        Wal Developer @liv-in-sky last edited by

        @liv-in-sky ,
        bis 4.Dezember wollte ich nicht unbedingt warten. 😉

        Ralla66 1 Reply Last reply Reply Quote 0
        • Ralla66
          Ralla66 Most Active @Wal last edited by Ralla66

          @wal
          Mahlzeit,

          Esp32S ist nun da, bekomme aber eine mit Tasmocompiler erzeugte Display/Scripting.bin
          nicht ans laufen. Display/Berry geht aber.
          Ideen wo der Fehler liegen könnte ?

          Wal 1 Reply Last reply Reply Quote 0
          • Wal
            Wal Developer @Ralla66 last edited by

            @ralla66 ,
            habe das alles drin:

            #define USE_UTF8_LATIN1
            #define USE_TIMERS
            #define USE_DISPLAY
            #define USE_DISPLAY_MAX7219_MATRIX
            #define USE_SCRIPT
            #define USE_SCRIPT_GLOBVARS
            #define USE_SCRIPT_STATUS
            #define USE_SCRIPT_WEB_DISPLAY
            #define USE_WEBSEND_RESPONSE
            #define USE_SCRIPT_STATUS
            #define USE_SCRIPT_FULL_JSON_PARSER
            #define SUPPORT_MQTT_EVENT
            #define USE_SML_M
            
            Ralla66 1 Reply Last reply Reply Quote 0
            • Ralla66
              Ralla66 Most Active @Wal last edited by Ralla66

              @wal

              danke, Tasmocompiler .bin nur mit define scheint zu laufen.
              Diplay will nicht mit

              Display Model 19
              Display Mode 0
              DisplayWidth 8
              DisplayHeight 8
              DisplayText
              DisplayDimmer
              DisplayClear
              DisplayScrollDelay
              DisplayClock
              Power 1

              welche GPIO hast du gewählt für Data, Clock, CS

              Max Settings.jpg

              Wal 1 Reply Last reply Reply Quote 0
              • Wal
                Wal Developer @Ralla66 last edited by Wal

                @ralla66 ,
                gpio 0,gpio 2, gpio 4

                DisplayWidth 32 für ein Modul, 64 für zwei

                edit:

                18:00:40.235 RSL: RESULT = {"Display":{"Model":19,"Type":0,"Width":64,"Height":8,"Mode":0,"Dimmer":5,"Size":1,"Font":1,"Rotate":0,"Invert":0,"Refresh":2,"Cols":[8,1],"Rows":1}}
                
                B 1 Reply Last reply Reply Quote 0
                • B
                  berndsolar13 @Wal last edited by

                  @wal

                  du musst wieder helfen 😉
                  Hab alles bekommen, zusammengebaut, geflasht aber ich seh nix.
                  Unter Generic18 steht bei allen GPIO überall None.
                  Was muss ich wohl einstellen, das mein Display was ausspuckt.
                  Angestöpselt hab ich es nach dem Bild

                  verkabelung-tasmota-dispay.jpg

                  Wal 1 Reply Last reply Reply Quote 0
                  • Wal
                    Wal Developer @berndsolar13 last edited by

                    @berndsolar13 ,
                    falls du das nicht zur Auswahl hast, ist die Firmware falsch.
                    display.jpg

                    Ralla66 1 Reply Last reply Reply Quote 0
                    • Ralla66
                      Ralla66 Most Active @Wal last edited by

                      @wal
                      Danke läuft jetzt
                      @berndsolar13
                      hast ja ein ESP8266, schau mal unter den GPIO / D in Generic ob da etwas mit Max7219 steht.

                      1 Reply Last reply Reply Quote 0
                      • B
                        berndsolar13 last edited by

                        @wal sagte in Tasmota Steckdose > ESP Matrix Display:

                        @berndsolar13 ,
                        nimm für das Display ein ESP32 falls das Script mal grösser wird, da kann ich dir auch die

                        ich glaube das Problem ist, deine verlinkte FW ist ja nur für den großen ESP oder ?
                        Denn wenn ich die mit Tasmozizer draufspiele erscheint kein AP zum verbinden.
                        Spiele ich die Tamsota Display drauf, dann geht es. Dann sind alle LED rot, aber die Konsole fürs Script fehlt. Die Tasmota bin ist im übrigen nur 418k, würde es gehen wenn ich die + eine angehängte Script Konsole nehmen würde ?

                        Wal 1 Reply Last reply Reply Quote 0
                        • Wal
                          Wal Developer @berndsolar13 last edited by

                          @berndsolar13 ,
                          habe heute neue Wemos D1 mini bekommen und die ESP8266 Firmware getestet.
                          tasmota.bin.gz
                          Diese funktioniert, du wirst aber vorher die tasmota-minimal flashen müssen und dann diese.
                          display2.jpg
                          Weiter oben stehen die Konsolenbefehle für das Einrichten.

                          1 Reply Last reply Reply Quote 0
                          • B
                            berndsolar13 last edited by

                            @wal
                            danke, die gesendeten Werte von der Steckdose werden in der Weboberfläche angezeigt.
                            Die Konsolen sind da, und klappen, da die Werte ja ankommen.
                            Nach dem Neustart des Wemos sind kurz alle LEDs rot, dann fängt er an etwas anzuzeigen.

                            Komischerweise sieht man nur bewegungen in der 1. Zeile oben.,
                            Vermutlich muss ich noch irgendwo einstellen, wie viele Displays angeschlossen sind.
                            Aktuell ist es nur eines.

                            Wal liv-in-sky 2 Replies Last reply Reply Quote 0
                            • Wal
                              Wal Developer @berndsolar13 last edited by Wal

                              @berndsolar13 ,
                              bei einem in die Konsole eingeben:
                              DisplayWidth 32
                              DisplayHeight 8
                              DisplayMode 19
                              DisplayDimmer 5
                              DisplayClear

                              Ralla66 1 Reply Last reply Reply Quote 0
                              • Ralla66
                                Ralla66 Most Active @Wal last edited by Ralla66

                                @wal

                                Läuft jetzt auf dem ESP8266 , ich dummerchen hatte Model und Mode vertauscht 🙂
                                Once the GPIO configuration is saved and the ESP8266/ESP32 module restarts, set the Display Model to 19 and
                                Display Mode to 0

                                Display console.jpg

                                Ralla66 1 Reply Last reply Reply Quote 0
                                • Ralla66
                                  Ralla66 Most Active @Ralla66 last edited by Ralla66

                                  @ralla66

                                  Hab grad nen run,
                                  wers brauch mit LCD 16x2
                                  .bin ist die von wal

                                  LCD 16x2 mit I2C IIC Adapter serielle Schnittstelle für LCD Display 1602

                                  Video dazu

                                  Wemos
                                  D6 ist SDA
                                  D5 ist SCL

                                  i2cscan // soll 0x27 Adresse LCD

                                  DisplayModel 1
                                  DisplayMode 0
                                  DisplayRefresh 2
                                  DisplayAddress // soll 39
                                  DisplayRows 2
                                  DisplayCols 16

                                  DisplayMode 0 // 0 umschalten Text Modus, 1 ist Uhrzeit und Datum, 2 ESP Info
                                  DisplayText [l1c1] LCD 16x2 //l ist Line, c ist Col
                                  DisplayText [l2c1] I2C Adapter //l ist Line, c ist Col
                                  DisplayClear // Text Löschen

                                  Uhrzeit / Datum setzen per Console : Timezone 99

                                  LCD 2.jpg

                                  L 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @berndsolar13 last edited by

                                    @berndsolar13 hast du bei 2 mal 4er displays eine eigene 5Volt stromversorgung angeschlossen ? könnte nötig sein - mache das bei meinen 7219ern

                                    Wal 1 Reply Last reply Reply Quote 0
                                    • Wal
                                      Wal Developer @liv-in-sky last edited by

                                      @liv-in-sky ,
                                      ich habe sie direkt angeschlossen, meine ESP machen 1A und pro Modul sind laut Spec. 500mA fällig.

                                      Ralla66 1 Reply Last reply Reply Quote 1
                                      • Ralla66
                                        Ralla66 Most Active @Wal last edited by Ralla66

                                        @wal

                                        Morgen, bei mir ist nach dem reboot das Script inaktiv.
                                        Kennst du den Consolenbefehl um das Script per Command zu starten
                                        für >B oder >BS.
                                        script 1 geht nicht.
                                        Gibt es fürs 8x8 Befehle fürs rechts Bündig schreiben.

                                        Wal 1 Reply Last reply Reply Quote 0
                                        • Wal
                                          Wal Developer @Ralla66 last edited by

                                          @ralla66 ,
                                          das Script wird im Normalfall inaktiv, wenn ein Scriptfehler vorhanden ist sonst nicht.

                                          Ralla66 1 Reply Last reply Reply Quote 0
                                          • Ralla66
                                            Ralla66 Most Active @Wal last edited by Ralla66

                                            @wal

                                            Das script läuft sauber durch wenn aktiv.
                                            Nur halt nach dem reboot ist es inaktiv.
                                            Eigentlich müßte ja der Consolenbefehl gehen.
                                            Ich Teste mal ein anderes script.

                                            script 1.jpg

                                            Code, oder ist das If endif falsch ?

                                            >D
                                            
                                            ;a valid script must start with >D in the first line
                                            
                                            
                                            Timer=0
                                            
                                            WEBQ=5
                                            
                                            SP1W=0
                                            
                                            SP1V=0
                                            
                                            SP1C=0
                                            
                                            LOA1=0
                                            
                                            SP2W=0
                                            
                                            SP2V=0
                                            
                                            SP2C=0
                                            
                                            LOA2=0
                                            
                                            SW=0
                                            
                                            >BS
                                            
                                            script 1
                                            
                                            >S
                                            
                                            Timer+=1
                                            
                                            ;Executed every second 
                                            
                                            ;toggeln Switch
                                            
                                            if Timer>10
                                            
                                            
                                            ->DisplayText %0WEBQ% W
                                            
                                            print Ralla DisplayText %WEBQ%
                                            
                                            
                                            if chg[SW]>0  ; also ist 1
                                            ;then
                                            SW=0
                                            endif
                                            
                                            if chg[SW]<1  ; also ist 0
                                            ;then
                                            SW=1
                                            endif
                                            
                                            --------------------------------------------
                                            
                                            =>websend [192.168.2.85] /cm?cmnd=status 10
                                            
                                            if SW<1  ; also ist 0
                                            ;then
                                            =>websend [192.168.2.75] /cm?cmnd=status 10
                                            endif
                                            
                                            if SW>0  ; also ist 1
                                            ;then
                                            =>websend [192.168.2.72] /cm?cmnd=status 10
                                            endif
                                            
                                            Timer=0
                                            
                                            ---------------------------------------------
                                            ---------------------------------------------
                                            
                                            >E
                                            
                                            ;Executed when a Tasmota MQTT RESULT message is received
                                            
                                            ------------------------------------------
                                            
                                            WEBQ=WebQuery#StatusSNS#ENERGY#Power
                                            
                                            ;print WertPower %WEBQ%
                                            
                                            ------------------------------------------
                                            
                                            
                                            if SW<1 ; also ist 0
                                            
                                            print Ralla SP1 SW %SW%
                                            
                                            SP1V=WebQuery#StatusSNS#pylon#Voltage
                                            print Wert SP1 Volt %SP1V%
                                            
                                            SP1C=WebQuery#StatusSNS#pylon#Current/1000
                                            print Wert SP1 Current %SP1C%
                                            
                                            SP1W=SP1V*SP1C /1000
                                            
                                            LOA1=WebQuery#StatusSNS#pylon#Coulomb
                                            print Wert SP1 Load %LOA1%
                                            
                                            endif
                                            
                                            -------------------------------------------
                                            
                                            if SW>0  ; also ist 1
                                            
                                            ;then
                                            
                                            print Ralla SP2 SW %SW%
                                            
                                            SP2V=WebQuery#StatusSNS#pylon#Voltage
                                            print Wert SP2 Volt %SP2V%
                                            
                                            SP2C=WebQuery#StatusSNS#pylon#Current/1000
                                            print Wert SP2 Current %SP2C%
                                            
                                            SP2W=SP2V*SP2C /1000
                                            
                                            LOA2=WebQuery#StatusSNS#pylon#Coulomb
                                            print Wert SP2 Load %LOA2%
                                            
                                            endif
                                            
                                            -------------------------------------------------
                                            
                                            >W
                                            
                                            ;The lines in this section are displayed in the web UI main page
                                            
                                            bu(SW "Speicher 1 Data update" "Speicher 2 Data update")
                                            
                                            Sonoff Elite Watt{m} %0WEBQ% W
                                            
                                                           Speicher 1
                                            Watt{m} %0SP1W% W
                                            Volt{m} %2SP1V% V
                                            Ampere{m} %2SP1C% A
                                            Load{m} %0LOA1% 
                                                          Speicher 2 
                                            Watt{m} %0SP2W% W
                                            Volt{m} %2SP2V% V
                                            Ampere{m} %2SP2C% A
                                            Load{m} %0LOA2% 
                                            
                                            #
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            802
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            178
                                            15593
                                            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