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.
    • E
      ecki945 last edited by

      den mqtt adapter deinstallieren oder belassen?

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

        @ecki945

        Kannst Ihn ja auch nur deaktivieren , vielleicht brauchst du Ihn für andere Geräte .

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

          Sodele. Habe nun den nodemcu mit Orignalsoftware geflasht und "nur" meine WLAN Daten geändert, SML Unterstützung aktiviert und den Zählertyp definiert.

          Hier die Einstellungen von Tasmota:

          98678bb1-c13c-4ff8-b68e-13c4cd5144fa-grafik.png

          Laut Konsole von Tasmota sendet dieser auch alle 10 Sekunden die aktuellen Werte.

          Im Iobroker habe ich den sonoff und mqtt adapter deinstalliert und den sonoff neu installiert.

          257f352b-24f3-4c3e-908f-d1f0433cb78a-grafik.png

          Das Problem nun ist, dass bis auf die Verbindungsparamter nix mehr übertragen wird.
          553733f0-ae6f-4eaa-baed-046ce4f0174e-grafik.png

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

            @ecki945

            Zeig mal bitte die Startseite mit den Werten und die Geräte Einstellung

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

              40ec679d-fdfd-405c-a841-b8389591c5b6-grafik.png

              ecf15913-8aa7-4ffe-8a18-74dee513a286-grafik.png

              5ed0a26f-afe1-4535-a3fe-b6c4b3927a3a-grafik.png

              2d4d1c64-2c75-4fb4-878e-1bf19a0480a7-grafik.png

              7149ca2f-1c18-4b5f-9371-5caca8a570b9-grafik.png

              Senden tut der tasmota ja, die erste Information wird wohl auch verarbeitet im Iobroker. nur die 2te Information mit den Zählerständen nicht.

              ![e22bb432-020b-4165-b6b3-9d15b79fc935-grafik.png](/assets/uploads/files/1565545031419-e22bb432-020b-4165-b6b3-9d15b79fc935-grafik.png) code_text
              

              Tasmota Software habe ich von gemu2015 verwendet (Branch universal5)

              https://github.com/gemu2015/Sonoff-Tasmota

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

                f2f3209c-fccd-4cf6-88d4-608264fcd574-grafik.png

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

                  das ganze unter iobroker:

                  Node.js: v10.16.2
                  NPM: 6.9.0

                  J Glasfaser 2 Replies Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            857
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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