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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Tasmota Steckdose > ESP Matrix Display

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                          • Wal
                            Wal Developer last edited by Wal

                            @ralla66 sagte in Tasmota Steckdose > ESP Matrix Display:

                            >BS                                                                                                                                                                                                                                                                                                                                                         script 1
                            

                            Wo hast du das gesehen ?
                            Wie willst du im Script das Script einschalten ? Kann man zwei Scripte laufen lassen ?

                            if SW<1  ; also ist 0
                            ;then
                            =>websend [192.168.2.75] /cm?cmnd=status 10
                            endif
                            

                            Das sind alles Scriptfehler

                            entweder

                            if SW<1  {
                            =>websend [192.168.2.75] /cm?cmnd=status 10
                            }
                            

                            oder

                            if SW<1 
                            then
                            =>websend [192.168.2.75] /cm?cmnd=status 10
                            endif
                            
                            Ralla66 1 Reply Last reply Reply Quote 0
                            • Ralla66
                              Ralla66 Most Active @Wal last edited by

                              @wal

                              nach Doku:
                              Console Commands~
                              script <n> : 0 = switch script off; 1 = switch script on

                              eigentlich sollte das ja in der Console gehen mal abgesehen vom reboot.

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

                                @ralla66 ,
                                Console Command nicht Script command

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

                                  @wal

                                  geht aber in der Console schon nicht.

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

                                    @ralla66 ,
                                    bei mir schon und ich habe die gleiche Firmware denke ich.

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

                                      @ralla66 ,
                                      script 1 geht nur bei Scriptfehlern nicht.

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

                                        @wal

                                        Danke soweit ,
                                        da hab ich als Scripting Beginner 0 Chance den Fehler zu finden mit den ganzen Klammern
                                        gedöns und so.

                                        LCD läuft aber mit script 0 oder 1 🙂

                                        wers brauch, Daten werden abgeholt

                                        >D
                                        Timer=0
                                        Text1="Lumentree"
                                        Wert=0
                                        >S
                                        Timer+=1
                                        ;Executed every second 
                                        if Timer>10
                                        then
                                        =>websend [192.168.2.85] /cm?cmnd=status 10
                                        print Timer %Timer%
                                        Timer=0
                                        ->DisplayText [l1c3] %Text1%
                                        >E
                                        Wert=WebQuery#StatusSNS#ENERGY#Power
                                        >T
                                        ->Display [z]
                                        ->DisplayText [l2c4] %0Wert% Watt
                                        print WertPower %0Wert%
                                        
                                        
                                        
                                        Wal 1 Reply Last reply Reply Quote 0
                                        • Wal
                                          Wal Developer @Ralla66 last edited by

                                          @ralla66,
                                          ist immer noch ein Scriptfehler drin.

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

                                            @wal

                                            Mag ja sein das dieses LCD Script nicht dem Regelwerk entspricht.
                                            Läuft aber, was für mich entscheident ist.
                                            Schöner Wohnen kannst du besser und schneller,
                                            hab auch nichts dagegen wenn du es verbesserst. 🙂

                                            B Ralla66 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            546
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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