Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. MQTT und Tasmota

    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

    MQTT und Tasmota

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jan1 @ecki945 last edited by

      @ecki945
      Warum so ne alte Tasmota und hast mal Dein Flashspeicher gesehen? 4MB, allerdings nur 3MB verfügbar, wobei ein Sonoff Basic normal eh nur 1MB hat.

      E 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @ecki945 last edited by Glasfaser

        @ecki945

        Hast du im Log kein STATE. ,

        @ecki945 sagte in MQTT und Tasmota:

        `
        15:56:33 RSL: tele/IskraMT175/SENSOR = {"Time":"2019-08-11T15:56:33","SML":{"Total_in":1633.9575,"Total_out":17787.5186,"Power_curr":-551,"Meter_number":"0649534b011073747990"}})

        Zeig mal den gesamten Log vom ESP. Ab Neustart und wo ein paar daten gesendet werden .

        1 Reply Last reply Reply Quote 0
        • E
          ecki945 @Jan1 last edited by

          @Jan1 said in MQTT und Tasmota:

          @ecki945
          Warum so ne alte Tasmota und hast mal Dein Flashspeicher gesehen? 4MB, allerdings nur 3MB verfügbar, wobei ein Sonoff Basic normal eh nur 1MB hat.

          Mit dieser Tasmota Version habe ich schon einige Projekte realisert. Die NodeMCU Lua Lolin V3 hat nun mal 4MByte Flasch Speicher. (Natürlich wird "nur" 1MByte verwendet)

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan1 @ecki945 last edited by Jan1

            @ecki945
            eben nicht, es werden 3MB verwendet und warum auf Basic und nicht auf generic?
            f92a9b3c-bd05-4f3f-b1aa-73c5e4078b46-grafik.png

            OK, wenn bei der 6.6.0.4 nichts für Dich relevant dabei istr kannst auch bei der 6.5 bleiben wobei da nach Changelog schon einige Bugfix drin sind.

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

              00:00:00 CFG: Loaded from flash at 3F6, Count 6
              00:00:00 Project sonoff Sonoff Version 6.5.0.16(sonoff)-2_5_2
              00:00:00 SNS: Hardware Serial
              00:00:00 WIF: Connecting to AP1 FRITZ!Box 7490 in mode 11N as sonoff-3209...
              00:00:04 WIF: Connected
              00:00:04 HTP: Web server active on sonoff-3209 with IP address 192.168.178.45
              19:02:08 RSL: tele/sonoff/UPTIME = {"Time":"2019-08-11T19:02:08","Uptime":"0T00:00:05"}
              19:02:09 MQT: Attempting connection...
              19:02:09 MQT: Connected
              19:02:09 MQT: tele/sonoff/LWT = Online (retained)
              19:02:09 MQT: cmnd/sonoff/POWER = 
              19:02:09 RSL: tele/sonoff/INFO1 = {"Module":"Sonoff Basic","Version":"6.5.0.16(sonoff)","FallbackTopic":"cmnd/DVES_63AC89_fb/","GroupTopic":"sonoffs"}
              19:02:09 MQT: tele/sonoff/INFO2 = {"WebServerMode":"Admin","Hostname":"sonoff-3209","IPAddress":"192.168.178.45"}
              19:02:09 MQT: tele/sonoff/INFO3 = {"RestartReason":"Software/System restart"}
              19:02:09 MQT: stat/sonoff/RESULT = {"POWER":"ON"}
              19:02:09 MQT: stat/sonoff/POWER = ON
              19:02:17 RSL: tele/sonoff/STATE = {"Time":"2019-08-11T19:02:17","Uptime":"0T00:00:14","Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"ON","Wifi":{"AP":1,"SSId":"FRITZ!Box 7490","BSSId":"34:31:C4:38:A0:8B","Channel":11,"RSSI":66,"LinkCount":1,"Downtime":"0T00:00:04"}}
              19:02:17 RSL: tele/sonoff/SENSOR = {"Time":"2019-08-11T19:02:17","SML":{"Total_in":1635.4017,"Total_out":17788.1531,"Power_curr":369,"Meter_number":"0649534b011073747990"}}
              
              sonoff.0	2019-08-11 20:06:01.376	debug	Client [DVES_63AC89] pingreq
              sonoff.0	2019-08-11 20:05:46.359	debug	Client [DVES_63AC89] pingreq
              sonoff.0	2019-08-11 20:05:31.314	debug	Client [DVES_63AC89] pingreq
              sonoff.0	2019-08-11 20:05:16.272	debug	Client [DVES_63AC89] pingreq
              sonoff.0	2019-08-11 20:05:01.253	debug	Client [DVES_63AC89] pingreq
              sonoff.0	2019-08-11 20:04:46.252	debug	Client [DVES_63AC89] pingreq
              sonoff.0	2019-08-11 20:04:31.241	debug	Client [DVES_63AC89] pingreq
              sonoff.0	2019-08-11 20:04:16.238	debug	stateChange sonoff.0.DVES_63AC89.POWER: {"val":false,"ack":true,"ts":1565546656230,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565546656230}
              sonoff.0	2019-08-11 20:04:16.221	debug	[DVES_63AC89] Received: cmnd/sonoff/POWER =
              sonoff.0	2019-08-11 20:04:16.212	debug	stateChange sonoff.0.DVES_63AC89.alive: {"val":true,"ack":true,"ts":1565546656209,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565546656209}
              sonoff.0	2019-08-11 20:04:16.168	debug	stateChange sonoff.0.info.connection: {"val":"DVES_63AC89","ack":true,"ts":1565546656155,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565546656155}
              sonoff.0	2019-08-11 20:04:16.002	info	Client [DVES_63AC89] connected with secret 1565546655989_8845
              sonoff.0	2019-08-11 20:04:07.536	debug	stateChange sonoff.0.DVES_63AC89.alive: {"val":false,"ack":true,"ts":1565546647532,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565546643666}
              sonoff.0	2019-08-11 20:04:07.469	debug	stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1565546647461,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565546647461}
              sonoff.0	2019-08-11 20:04:07.429	info	Starting MQTT authenticated server on port 1882
              sonoff.0	2019-08-11 20:04:07.349	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v10.16.2
              sonoff.0	2019-08-11 20:04:07.306	debug	statesDB connected
              sonoff.0	2019-08-11 20:04:07.258	debug	objectDB connected
              host.ioBroker-RasPi4	2019-08-11 20:04:06.190	info	instance system.adapter.sonoff.0 started with pid 22900
              
              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @ecki945 last edited by

                @ecki945

                Mach den bitte aktiv .

                66666666666666666.JPG

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

                  Hab ich. Leider hat sich nicht viel geändert.

                  00:00:00 CFG: Loaded from flash at 3FB, Count 17
                  00:00:00 Project sonoff Sonoff Version 6.5.0.16(sonoff)-2_5_2
                  00:00:00 SNS: Hardware Serial
                  00:00:00 WIF: Connecting to AP1 FRITZ!Box 7490 in mode 11N as sonoff-3209...
                  00:00:04 WIF: Connected
                  00:00:04 HTP: Web server active on sonoff-3209 with IP address 192.168.178.45
                  19:35:20 MQT: Attempting connection...
                  19:35:20 MQT: Connected
                  19:35:20 MQT: tele/sonoff/LWT = Online (retained)
                  19:35:20 MQT: cmnd/sonoff/POWER = 
                  19:35:20 RSL: tele/sonoff/INFO1 = {"Module":"Generic","Version":"6.5.0.16(sonoff)","FallbackTopic":"cmnd/DVES_63AC89_fb/","GroupTopic":"sonoffs"}
                  19:35:20 MQT: tele/sonoff/INFO2 = {"WebServerMode":"Admin","Hostname":"sonoff-3209","IPAddress":"192.168.178.45"}
                  19:35:20 MQT: tele/sonoff/INFO3 = {"RestartReason":"Software/System restart"}
                  19:35:28 RSL: tele/sonoff/STATE = {"Time":"2019-08-11T19:35:28","Uptime":"0T00:00:14","Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":21,"Wifi":{"AP":1,"SSId":"FRITZ!Box 7490","BSSId":"34:31:C4:38:A0:8B","Channel":11,"RSSI":66,"LinkCount":1,"Downtime":"0T00:00:04"}}
                  19:35:28 RSL: tele/sonoff/SENSOR = {"Time":"2019-08-11T19:35:28","SML":{"Total_in":1635.5859,"Total_out":17788.1531,"Power_curr":308,"Meter_number":"0649534b011073747990"}}
                  19:35:38 RSL: tele/sonoff/STATE = {"Time":"2019-08-11T19:35:38","Uptime":"0T00:00:24","Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"Wifi":{"AP":1,"SSId":"FRITZ!Box 7490","BSSId":"34:31:C4:38:A0:8B","Channel":11,"RSSI":66,"LinkCount":1,"Downtime":"0T00:00:04"}}
                  19:35:38 RSL: tele/sonoff/SENSOR = {"Time":"2019-08-11T19:35:38","SML":{"Total_in":1635.5868,"Total_out":17788.1531,"Power_curr":308,"Meter_number":"0649534b011073747990"}}
                  19:35:48 RSL: tele/sonoff/STATE = {"Time":"2019-08-11T19:35:48","Uptime":"0T00:00:34","Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"Wifi":{"AP":1,"SSId":"FRITZ!Box 7490","BSSId":"34:31:C4:38:A0:8B","Channel":11,"RSSI":66,"LinkCount":1,"Downtime":"0T00:00:04"}}
                  19:35:48 RSL: tele/sonoff/SENSOR = {"Time":"2019-08-11T19:35:48","SML":{"Total_in":1635.5876,"Total_out":17788.1531,"Power_curr":308,"Meter_number":"0649534b011073747990"}}
                  19:35:58 RSL: tele/sonoff/STATE = {"Time":"2019-08-11T19:35:58","Uptime":"0T00:00:44","Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"Wifi":{"AP":1,"SSId":"FRITZ!Box 7490","BSSId":"34:31:C4:38:A0:8B","Channel":11,"RSSI":64,"LinkCount":1,"Downtime":"0T00:00:04"}}
                  19:35:58 RSL: tele/sonoff/SENSOR = {"Time":"2019-08-11T19:35:58","SML":{"Total_in":1635.5885,"Total_out":17788.1531,"Power_curr":317,"Meter_number":"0649534b011073747990"}}
                  
                  sonoff.0	2019-08-11 20:37:08.521	debug	Client [DVES_63AC89] pingreq
                  sonoff.0	2019-08-11 20:37:05.395	debug	system.adapter.admin.0: logging true
                  sonoff.0	2019-08-11 20:36:56.038	debug	system.adapter.admin.0: logging false
                  sonoff.0	2019-08-11 20:36:53.487	debug	Client [DVES_63AC89] pingreq
                  sonoff.0	2019-08-11 20:36:38.487	debug	stateChange sonoff.0.DVES_63AC89.POWER: {"val":false,"ack":true,"ts":1565548598480,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565546656230}
                  sonoff.0	2019-08-11 20:36:38.471	debug	[DVES_63AC89] Received: cmnd/sonoff/POWER =
                  sonoff.0	2019-08-11 20:36:38.458	debug	stateChange sonoff.0.DVES_63AC89.alive: {"val":true,"ack":true,"ts":1565548598455,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565548598455}
                  sonoff.0	2019-08-11 20:36:38.429	debug	stateChange sonoff.0.info.connection: {"val":"DVES_63AC89","ack":true,"ts":1565548598412,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565548598412}
                  sonoff.0	2019-08-11 20:36:38.239	info	Client [DVES_63AC89] connected with secret 1565548598211_1404
                  sonoff.0	2019-08-11 20:36:27.262	debug	stateChange sonoff.0.DVES_63AC89.alive: {"val":false,"ack":true,"ts":1565548587259,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565548583399}
                  sonoff.0	2019-08-11 20:36:27.220	debug	stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1565548587206,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1565548587206}
                  sonoff.0	2019-08-11 20:36:27.191	info	Starting MQTT authenticated server on port 1882
                  sonoff.0	2019-08-11 20:36:27.113	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v10.16.2
                  sonoff.0	2019-08-11 20:36:27.067	debug	statesDB connected
                  sonoff.0	2019-08-11 20:36:27.015	debug	objectDB connected
                  

                  Ich glaube da hat sich grundsätzlich nicht viel geändert.

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @ecki945 last edited by

                    @ecki945

                    Hast du auch den Sonoff Adapter neu gestartet !?

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

                      @Jan1 Deine Angaben sind nicht ganz korrekt:
                      Nach dem Linken und Compilieren seh ich ja den "Speicherverbrauch":

                      Der Sketch verwendet 585864 Bytes (56%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
                      Globale Variablen verwenden 49864 Bytes (60%) des dynamischen Speichers, 32056 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
                      
                      J 1 Reply Last reply Reply Quote 0
                      • E
                        ecki945 last edited by

                        @Glasfaser

                        Ja Natürlich. Beide neu gestartet.

                        Glasfaser J 2 Replies Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @ecki945 last edited by

                          @ecki945

                          Flash du ein fertige "bin " Datei ?

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

                            Nein. Selber compilieren. Aber wie schon geschrieben im original code nur die notwendigen defines anpassen.

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @ecki945 last edited by Glasfaser

                              @ecki945

                              Ahh .. schon mal ein ganz anderes Thema.

                              Habe es auch mal versucht , aber mit fertigen bin war ich immer auf der richtigen Seite ,
                              Da bin leider raus , aber Suche mal nach subscribe mqtt.

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jan1 @ecki945 last edited by

                                @ecki945 sagte in MQTT und Tasmota:

                                @Jan1 Deine Angaben sind nicht ganz korrekt:
                                Nach dem Linken und Compilieren seh ich ja den "Speicherverbrauch":

                                Der Sketch verwendet 585864 Bytes (56%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
                                Globale Variablen verwenden 49864 Bytes (60%) des dynamischen Speichers, 32056 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
                                

                                Das sind nicht meine Angaben, sondern die von Dir gepostete. 4MB werden erkannt und 3MB davon verwendet. Wenn Du an der ini nichts geändert hättest, dann wäre sogar wie Du schon geschrieben hast nur 1MB verfügbar, da Tasmota offiziel nur 1MB Flash unterstützt.
                                Gegal, ist mir eben aufhefallen, dass fa schon was nicht stimmt.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @ecki945 last edited by

                                  @ecki945 sagte in MQTT und Tasmota:

                                  @Glasfaser

                                  Ja Natürlich. Beide neu gestartet.

                                  Wie beide, Adapter und Device, oder hast den Sonoff und den MQTT Adapter parallel laufen?

                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @Jan1 last edited by Glasfaser

                                    @Jan1

                                    Er hat nur den Sonoff Adapter an .

                                    Er meint damit : Sonoff-Adapter und den ESP neu gestartet

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

                                      Guten Morgen. Es sind sonos und mqtt adapter installiert. Jedoch läuft nur der sonos adapter.

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

                                        Ich flashe mal eine fertige bin datei auf den esp8266 und werde wieder berichten.

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

                                          Rückmeldung für die Nachwelt:

                                          Das neu compilieren mit den diesen Einstellungen in der Arduino IDE hatte leider kein Erfolg. Die "Nutzdaten" wurden in IO-Broker nicht angezeigt.

                                          e34e07c9-1ca9-4a67-a559-b5131898d5c5-grafik.png

                                          Auch das Austauschen der Plattform.txt Datei nicht:

                                          "Replace in Arduino IDE folder portable\packages\esp8266\hardware\esp8266\2.5.2 file platform.txt with the Tasmota Source code file arduino\version 2.5.1\platform.txt.", beschrieben hier:

                                          https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE

                                          Erst als ich im LIB Verzeichnis der Ardiuno IDE "aufgeräumt" habe, funktioniert nun die Datenübertragung komplett, mit den Boardeinstellungen von oben aus der Grafik.

                                          Danke Euch für Eure Geduld und Tipps.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Jan1 @ecki945 last edited by

                                            @ecki945
                                            Warum kompilierst Du mit Arduino? Da muss man sehr genau wissen was man macht. Mit Atom oder VSC geht das direkt über Tasmota geregelt von ganz alleine. Ich nutze alle 3 und fahre mit VSC am besten.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            729
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            iobroker mqtt tasmota
                                            7
                                            46
                                            14302
                                            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