Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Gosund SP111 mit Tasmota 13.2.0 Problem mit DP

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Gosund SP111 mit Tasmota 13.2.0 Problem mit DP

    This topic has been deleted. Only users with topic management privileges can see it.
    • Ralla66
      Ralla66 Most Active @Ralla66 last edited by Ralla66

      @ralla66

      Wrong Parameters kann auch vom publish sein, sowas {%0TOT% kWh}
      Das subscribe und publish ist auf Sonoff Adapter gemünzt, nicht für Mqtt Adapter.

      Nachtrag eckige Klammern !

      if Timer>10

      then
      =>websend [192.168.2.85] /cm?cmnd=status 10

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

        @ralla66 Habe jetzt dein original Script eingebunden:

        >D
         
        ;a valid script must start with >D in the first line
         
         
        Timer=0
         
        WEBQ=5
         
        VOL=0
        CUR=0
        POW=0
        TOT=0
        YES=0
        TOD=0
        APP=0
        RAP=0
         
        ; Meins
         
        ; MQT: tasmota_Reserve2 = {"StatusSNS":{"Time":"2023-11-14T12:59:46","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.424,"Yesterday":0.007,"Today":0.093,"Power":42,"ApparentPower":42,"ReactivePower":0,"Factor":1.00,"Voltage":231,"Current":0.181}}}
         
        >BS
         
        +>subscribe EA, cmnd/%topic%/Total
        +>subscribe EA, cmnd/%topic%/Yesterday
        +>subscribe EA, cmnd/%topic%/Today
        +>subscribe EA, cmnd/%topic%/Power
        +>subscribe EA, cmnd/%topic%/ApparentPower
        +>subscribe EA, cmnd/%topic%/ReactivePower
        +>subscribe EA, cmnd/%topic%/Power
        +>subscribe EA, cmnd/%topic%/Voltage
        +>subscribe EA, cmnd/%topic%/Current
         
        >S
         
        Timer+=1
         
        ;Executed every second 
         
         
        if Timer>10
         
        then
        =>websend [192.168.178.164] /cm?cmnd=status 10
         
        +>publish stat/%topic%/RESULT {"Total":%0TOT%}
        +>publish stat/%topic%/RESULT {"Yesterday":%0YES%}
        +>publish stat/%topic%/RESULT {"Today":%0TOD%}
        +>publish stat/%topic%/RESULT {"ApparentPower":%0APP%}
        +>publish stat/%topic%/RESULT {"ReactivePower":%RAP%}
        +>publish stat/%topic%/RESULT {"Power":%0POW%}
        +>publish stat/%topic%/RESULT {"Voltage":%0VOL%}
        +>publish stat/%topic%/RESULT {"Current":%0CUR%}
         
        Timer=0
         
        endif
         
         
        >E
         
        ;Executed when a Tasmota MQTT RESULT message is received
         
         
        VOL=WebQuery#StatusSNS#ENERGY#Voltage
        print Wert Volt %VOL%
         
        CUR=WebQuery#StatusSNS#ENERGY#Current/1000
        print Wert Current %CUR%
         
        POW=WebQuery#StatusSNS#ENERGY#Power
        print Wert Power %POW%
         
        TOT=WebQuery#StatusSNS#ENERGY#Total
        print Wert Total %TOT%
         
        YES=WebQuery#StatusSNS#ENERGY#Yesterday
        print Wert Yesterday %YES%
         
        TOD=WebQuery#StatusSNS#ENERGY#Today
        print Wert Today %TOD%
         
        APP=WebQuery#StatusSNS#ENERGY#ApparentPower
        print Wert Apparent Power %APP%
         
        RAP=WebQuery#StatusSNS#ENERGY#ReactivePower
        print Wert Reaktive Power %RAP%
         
         
        >W
         
        ;The lines in this section are displayed in the web UI main page
         
                  
        Power{m} %2POW% W
        Volt{m} %2VOL% V
        Ampere{m} %2CUR% A
        Total{m} %2TOT% 
        Yesterday{m} %YES% 
        Today{m} %2TOD% 
        Apparent{m} %2APP% 
        Reactive{m} %2RAP% 
          
        #
        

        angepasst habe ich Zeile 21 und 45

        Im Log des ioBroker steht:

        
        sonoff.0
        2023-11-14 18:48:06.358	debug	[Reserve2] Received: stat/tasmota_Reserve2/RESULT = {"WebSend":"Connect failed"}
        

        Habe keine Ahnung woran das liegen kann.

        Nachtrag:
        3322f7f1-a10c-455d-a08c-40e4eacc65db-image.png
        e66ab1cf-68b5-4c50-9994-0d9f5a8a7566-image.png

        Ralla66 2 Replies Last reply Reply Quote 0
        • Ralla66
          Ralla66 Most Active @RalfTh last edited by Ralla66

          @ralfth

          Passwort Rot ? Zum testen einfach 12345 nehmen
          Topic nicht default

          was steht in der Console ?
          websend done ?

          Nachtrag:

          Das ist alles verbogen,
          neu flashen
          gosund einrichten template
          nix an Topic / Full Topic basteln, rein gar nix !!
          im Sonoff Adapter altes löschen
          Mqtt verbinden
          das muß erst einmal rennen
          danach Script einfügen, speichern, rebooten,aktivieren

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

            @ralfth

            was bastelst du da 🙂

            sp 111 14112023.jpg

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

              @ralla66 So, habe jetzt alles so eingestellt wie du es mir in den Bildern gezeigt hast. Habe vorher den Adapter gestoppt und die Objekte gelöscht.
              Das Script ist nicht aktiviert.
              Instanz gestartet, die Objekte werden angelegt.
              Di DP's welche mit "ENERGY_" beginnen werden,wenn überhaupt nur nach einer Ewigkeit aktualisiert und das obwohl die Message ankam. Hier Auszug aus der Konsole:

              B8D3E7/POWER = ON
              07:14:16.291 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:14:16","Uptime":"0T00:36:54","UptimeSec":2214,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":58,"Signal":-71,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:14:16.302 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:14:16","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.527,"Yesterday":0.170,"Today":0.026,"Period":0,"Power":43,"ApparentPower":43,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.183}}
              07:14:46.290 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:14:46","Uptime":"0T00:37:24","UptimeSec":2244,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":62,"Signal":-69,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:14:46.299 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:14:46","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.528,"Yesterday":0.170,"Today":0.027,"Period":0,"Power":43,"ApparentPower":43,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.183}}
              07:15:16.280 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:15:16","Uptime":"0T00:37:54","UptimeSec":2274,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":62,"Signal":-69,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:15:16.293 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:15:16","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.528,"Yesterday":0.170,"Today":0.027,"Period":0,"Power":43,"ApparentPower":43,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.183}}
              07:15:46.251 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:15:46","Uptime":"0T00:38:24","UptimeSec":2304,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":64,"Signal":-68,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:15:46.262 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:15:46","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.528,"Yesterday":0.170,"Today":0.027,"Period":0,"Power":43,"ApparentPower":43,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.186}}
              07:16:16.257 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:16:16","Uptime":"0T00:38:54","UptimeSec":2334,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":62,"Signal":-69,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:16:16.267 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:16:16","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.529,"Yesterday":0.170,"Today":0.028,"Period":0,"Power":43,"ApparentPower":43,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.185}}
              07:16:46.256 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:16:46","Uptime":"0T00:39:24","UptimeSec":2364,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":62,"Signal":-69,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:16:46.268 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:16:46","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.529,"Yesterday":0.170,"Today":0.028,"Period":0,"Power":43,"ApparentPower":43,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.186}}
              07:17:16.261 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:17:16","Uptime":"0T00:39:54","UptimeSec":2394,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":60,"Signal":-70,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:17:16.273 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:17:16","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.530,"Yesterday":0.170,"Today":0.029,"Period":0,"Power":44,"ApparentPower":44,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.188}}
              07:17:46.275 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T07:17:46","Uptime":"0T00:40:24","UptimeSec":2424,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":62,"Signal":-69,"LinkCount":1,"Downtime":"0T00:00:03"}}
              07:17:46.285 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T07:17:46","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.530,"Yesterday":0.170,"Today":0.029,"Period":0,"Power":43,"ApparentPower":43,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":0.185}}
              

              Derweil im ioBroker:
              4ba186da-a727-4d8a-87ea-4a9fed0a30ed-image.png

              Und das, obwohl laut LOG auch hier die Informationen eintrudeln:

              8298ba6c-3c66-4b07-8f66-7a0042033f63-image.png

              Ich habe die Steckdose mittlerweile drei mal geflasht und jedesmal eine andere Konfiguration verwendet. Ich denke, ein erneutes flashen bringt da auch nicht die Lösung. Falls keine anderen Ideen mehr da sind werde ich mir einen anderen MQTT-Broker suchen und das JSON aufdröseln.

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

                @ralfth

                alle print des Scriptes werden in der Console nicht ausgegeben, bedeutet dein Script läuft nicht.
                Topic ist noch Reserve2 und nicht default.
                Ob deine .bin überhaupt in Ordnung ist weiß keiner.
                Daher das compilieren mit Tasmocompiler. Das ist halt viel einfacher.

                Solange die Topic / Full Topic nicht in Ordnung sind und das Script nicht läuft kann
                ich auch nicht weiter helfen. Da es ja bei mir läuft liegt das ja an deinem System.

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

                  @ralla66 sagte in Gosund SP111 mit Tasmota 13.2.0 Problem mit DP:

                  alle print des Scriptes werden in der Console nicht ausgegeben, bedeutet dein Script läuft nicht.

                  Hatte ich auch geschrieben, dass das Script nicht aktiviert ist.

                  Meine .bin habe ich mit Gitpod kompiliert (Quelle: https://github.com/arendst/Tasmota) und alle von dir genannten Defines, soweit in my_user_config.h vorhanden, aktiviert. In einem Post weiter oben hatte ich das auch schon erwähnt.
                  Diese .bin habe ich dann auf den Gosund geflasht.

                  Das Script habe ich jetzt aktiviert und in der Konsole kommt folgende Fehlermeldung:

                  17:32:38.869 SCR: performs "websend [192.168.178.164] /cm?cmnd=status 10"
                  17:32:44.249 MQT: stat/tasmota_B8D3E7/RESULT = {"WebSend":"Connect failed"}
                  17:32:44.257 MQT: stat/tasmota_B8D3E7/RESULT = {"Total":0}
                  17:32:44.264 MQT: stat/tasmota_B8D3E7/RESULT = {"Yesterday":0}
                  17:32:44.272 MQT: stat/tasmota_B8D3E7/RESULT = {"Today":0}
                  17:32:44.279 MQT: stat/tasmota_B8D3E7/RESULT = {"ApparentPower":0}
                  17:32:44.286 MQT: stat/tasmota_B8D3E7/RESULT = {"ReactivePower":0.00}
                  17:32:44.293 MQT: stat/tasmota_B8D3E7/RESULT = {"Power":0}
                  17:32:44.300 MQT: stat/tasmota_B8D3E7/RESULT = {"Voltage":0}
                  17:32:44.307 MQT: stat/tasmota_B8D3E7/RESULT = {"Current":0}
                  17:32:48.393 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T17:32:48","Uptime":"0T10:55:26","UptimeSec":39326,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  17:32:48.406 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T17:32:48","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.544,"Yesterday":0.170,"Today":0.043,"Period":1,"Power":42,"ApparentPower":42,"ReactivePower":0,"Factor":1.00,"Voltage":230,"Current":0.181}}
                  17:32:54.371 SCR: performs "websend [192.168.178.164] /cm?cmnd=status 10"
                  17:32:59.783 MQT: stat/tasmota_B8D3E7/RESULT = {"WebSend":"Connect failed"}
                  17:32:59.792 MQT: stat/tasmota_B8D3E7/RESULT = {"Total":0}
                  17:32:59.799 MQT: stat/tasmota_B8D3E7/RESULT = {"Yesterday":0}
                  17:32:59.808 MQT: stat/tasmota_B8D3E7/RESULT = {"Today":0}
                  17:32:59.815 MQT: stat/tasmota_B8D3E7/RESULT = {"ApparentPower":0}
                  17:32:59.823 MQT: stat/tasmota_B8D3E7/RESULT = {"ReactivePower":0.00}
                  

                  Die IP für das websend ist die des ioBroker oder der Gosund?

                  Hier noch mal mein Script:

                  >D
                   
                  ;a valid script must start with >D in the first line
                   
                   
                  Timer=0
                   
                  WEBQ=5
                   
                  VOL=0
                  CUR=0
                  POW=0
                  TOT=0
                  YES=0
                  TOD=0
                  APP=0
                  RAP=0
                   
                  ; Meins
                   
                  ; MQT: tasmota_Reserve2 = {"StatusSNS":{"Time":"2023-11-14T12:59:46","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.424,"Yesterday":0.007,"Today":0.093,"Power":42,"ApparentPower":42,"ReactivePower":0,"Factor":1.00,"Voltage":231,"Current":0.181}}}
                   
                  >BS
                   
                  +>subscribe EA, cmnd/%topic%/Total
                  +>subscribe EA, cmnd/%topic%/Yesterday
                  +>subscribe EA, cmnd/%topic%/Today
                  +>subscribe EA, cmnd/%topic%/Power
                  +>subscribe EA, cmnd/%topic%/ApparentPower
                  +>subscribe EA, cmnd/%topic%/ReactivePower
                  +>subscribe EA, cmnd/%topic%/Power
                  +>subscribe EA, cmnd/%topic%/Voltage
                  +>subscribe EA, cmnd/%topic%/Current
                   
                  >S
                   
                  Timer+=1
                   
                  ;Executed every second 
                   
                   
                  if Timer>10
                   
                  then
                  =>websend [192.168.178.164] /cm?cmnd=status 10
                   
                  +>publish stat/%topic%/RESULT {"Total":%0TOT%}
                  +>publish stat/%topic%/RESULT {"Yesterday":%0YES%}
                  +>publish stat/%topic%/RESULT {"Today":%0TOD%}
                  +>publish stat/%topic%/RESULT {"ApparentPower":%0APP%}
                  +>publish stat/%topic%/RESULT {"ReactivePower":%RAP%}
                  +>publish stat/%topic%/RESULT {"Power":%0POW%}
                  +>publish stat/%topic%/RESULT {"Voltage":%0VOL%}
                  +>publish stat/%topic%/RESULT {"Current":%0CUR%}
                   
                  Timer=0
                   
                  endif
                   
                   
                  >E
                   
                  ;Executed when a Tasmota MQTT RESULT message is received
                   
                   
                  VOL=WebQuery#StatusSNS#ENERGY#Voltage
                  print Wert Volt %VOL%
                   
                  CUR=WebQuery#StatusSNS#ENERGY#Current/1000
                  print Wert Current %CUR%
                   
                  POW=WebQuery#StatusSNS#ENERGY#Power
                  print Wert Power %POW%
                   
                  TOT=WebQuery#StatusSNS#ENERGY#Total
                  print Wert Total %TOT%
                   
                  YES=WebQuery#StatusSNS#ENERGY#Yesterday
                  print Wert Yesterday %YES%
                   
                  TOD=WebQuery#StatusSNS#ENERGY#Today
                  print Wert Today %TOD%
                   
                  APP=WebQuery#StatusSNS#ENERGY#ApparentPower
                  print Wert Apparent Power %APP%
                   
                  RAP=WebQuery#StatusSNS#ENERGY#ReactivePower
                  print Wert Reaktive Power %RAP%
                   
                   
                  >W
                   
                  ;The lines in this section are displayed in the web UI main page
                   
                            
                  Power{m} %2POW% W
                  Volt{m} %2VOL% V
                  Ampere{m} %2CUR% A
                  Total{m} %2TOT% 
                  Yesterday{m} %YES% 
                  Today{m} %2TOD% 
                  Apparent{m} %2APP% 
                  Reactive{m} %2RAP% 
                   
                   
                   
                  #
                  

                  Ich habe es nochmal verglichen. Ich habe lediglich die Zeilen 21 und 45 angepasst.

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

                    @ralfth sagte in Gosund SP111 mit Tasmota 13.2.0 Problem mit DP:

                    Die IP für das websend ist die des ioBroker oder der Gosund?

                    vom Gosund, das sieht doch gut aus 🙂

                    Daten per IP websend kannst du von jedem Tasmota Gerät abfragen der die gleiche
                    StatusSNS/Energy/xxx............................ hat.

                    1 Reply Last reply Reply Quote 0
                    • RalfTh
                      RalfTh last edited by RalfTh

                      @ralla66 Ok, dann habe ich es richtig gemacht.

                      Allerdings stimmt der Inhalt nicht und diese Meldung scheint die Ursache zu sein:

                      18:34:19.588 MQT: stat/tasmota_B8D3E7/RESULT = {"WebSend":"Connect failed"}

                      Steht auch in meinem letzten Post in der Konsolenausgabe.
                      Gebe ich im Browser http://192.168.178.164/cm?cmnd=status 10 ein erhalte ich folgendes:
                      {"StatusSNS":{"Time":"2023-11-15T18:37:01","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.556,"Yesterday":0.170,"Today":0.055,"Power":41,"ApparentPower":41,"ReactivePower":0,"Factor":1.00,"Voltage":229,"Current":0.181}}}

                      In der Konsole sieht es folgend aus:

                      18:38:48.972 MQT: tele/tasmota_B8D3E7/STATE = {"Time":"2023-11-15T18:38:48","Uptime":"0T12:01:26","UptimeSec":43286,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":4,"POWER":"ON","Wifi":{"AP":1,"SSId":"Palatina","BSSId":"5C:49:79:55:9E:DC","Channel":4,"Mode":"11n","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:03"}}
                      18:38:48.984 MQT: tele/tasmota_B8D3E7/SENSOR = {"Time":"2023-11-15T18:38:48","ENERGY":{"TotalStartTime":"2020-06-30T13:38:42","Total":0.558,"Yesterday":0.170,"Today":0.057,"Period":1,"Power":42,"ApparentPower":42,"ReactivePower":0,"Factor":1.00,"Voltage":229,"Current":0.183}}
                      18:38:50.972 SCR: performs "websend [192.168.178.164] /cm?cmnd=status 10"
                      18:38:56.176 MQT: stat/tasmota_B8D3E7/RESULT = {"WebSend":"Connect failed"}
                      18:38:56.184 MQT: stat/tasmota_B8D3E7/RESULT = {"Total":0}
                      18:38:56.191 MQT: stat/tasmota_B8D3E7/RESULT = {"Yesterday":0}
                      18:38:56.199 MQT: stat/tasmota_B8D3E7/RESULT = {"Today":0}
                      18:38:56.206 MQT: stat/tasmota_B8D3E7/RESULT = {"ApparentPower":0}
                      18:38:56.213 MQT: stat/tasmota_B8D3E7/RESULT = {"ReactivePower":0.00}
                      18:38:56.221 MQT: stat/tasmota_B8D3E7/RESULT = {"Power":0}
                      18:38:56.228 MQT: stat/tasmota_B8D3E7/RESULT = {"Voltage":0}
                      18:38:56.235 MQT: stat/tasmota_B8D3E7/RESULT = {"Current":0}
                      

                      In den ersten beiden Zeilen siehst du die JSON-Inhalte, aber ab Zeile 5 sind alle Werte 0??!!

                      Ich vermute das liegt am Connection failed in Zeile 4.

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

                        @ralfth

                        ja richtig, vermute da ist was falsch in Zeile 45 beim send
                        Hattest du nicht 2 Gosund ? Dann nimm mal die andere IP

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

                          @ralla66 ich habe viele. Du meinst ich soll mal die Daten einer anderen abfragen und publishen?!

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

                            @ralfth
                            ja zum testen ob websend rausgeht und ein Done kommt
                            Nachtrag: lösch mal den Kommentar
                            ; MQT: tasmota_Reserve2 = {"StatusSNS":{"Time":"2023-11-14T12:59:46","ENERGY":{"TotalStart...............................
                            nicht das die Zeile zu lang ist

                            sp111 15112023.jpg

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

                              @ralla66 OK, hier kommt eine DONE. allerdings werden die Die Werte nich ins Result geschrieben. Oder werden sie nicht richt gelesen?

                              18:57:45.317 SCR: performs "websend [192.168.178.151] /cm?cmnd=status 10"
                              18:57:45.391 MQT: stat/tasmota_B8D3E7/RESULT = {"WebSend":"Done"}
                              18:57:45.398 MQT: stat/tasmota_B8D3E7/RESULT = {"Total":0}
                              18:57:45.404 MQT: stat/tasmota_B8D3E7/RESULT = {"Yesterday":0}
                              18:57:45.408 MQT: stat/tasmota_B8D3E7/RESULT = {"Today":0}
                              18:57:45.412 MQT: stat/tasmota_B8D3E7/RESULT = {"ApparentPower":0}
                              18:57:45.416 MQT: stat/tasmota_B8D3E7/RESULT = {"ReactivePower":0.00}
                              18:57:45.421 MQT: stat/tasmota_B8D3E7/RESULT = {"Power":0}
                              18:57:45.425 MQT: stat/tasmota_B8D3E7/RESULT = {"Voltage":0}
                              18:57:45.429 MQT: stat/tasmota_B8D3E7/RESULT = {"Current":0}
                              

                              Hier läuft übrigens eine .bin 13.2.0 DE ganz normal von der Tasmota-Seite.

                              @ralfth sagte in Gosund SP111 mit Tasmota 13.2.0 Problem mit DP:

                              Die folgenden defines sind nicht mehr Bestandteil my_user_config.h

                              #define USE_SCRIPT_GLOBVARS
                              #define USE_SCRIPT_STATUS
                              #define USE_SCRIPT_STATUS
                              #define USE_SCRIPT_FULL_JSON_PARSER
                              #define USE_SCRIPT_JSON_EXPORT
                              #define USE_SCRIPT_WEB_DISPLAY
                              #define USE_SCRIPT_SERIAL
                              #define USE_SML_M

                              Damit steht es nicht in Zusammenhang. Hatte ich weiter oben schon geschrieben.

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

                                @ralfth sagte in Gosund SP111 mit Tasmota 13.2.0 Problem mit DP:

                                192.168.178.151

                                geprüft im Browser ?
                                Topic ist default ?

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

                                  @ralla66 sagte in Gosund SP111 mit Tasmota 13.2.0 Problem mit DP:

                                  @ralfth sagte in Gosund SP111 mit Tasmota 13.2.0 Problem mit DP:

                                  192.168.178.151

                                  geprüft im Browser ?
                                  Topic ist default ?

                                  Ja und Ja

                                  Browser-Antwort:
                                  {"StatusSNS":{"Time":"2023-11-15T19:10:25","ENERGY":{"TotalStartTime":"2020-01-10T16:35:26","Total":196.003,"Yesterday":0.483,"Today":0.467,"Power":84,"ApparentPower":104,"ReactivePower":61,"Factor":0.81,"Voltage":226,"Current":0.459}}}

                                  06e576ca-8dc9-44af-85cd-0c45e0a28d1e-image.png

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

                                    @ralfth

                                    den langen kommentar hast du gelöscht ?
                                    Telemetrie steht bei mir auf 10

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

                                      @ralla66 Beides Ja, allerdings immer noch:

                                      19:19:27.382 MQT: stat/tasmota_B8D3E7/RESULT = {"WebSend":"Connect failed"}

                                      Ich verstehe das nicht, wenn ich das im Webbrowser aufrufe funktioniert es doch!!!!

                                      Das ist allerdings neu:

                                      19:21:50.738 var not found: WebQuery#StatusSNS#ENERGY#Voltage
                                      19:21:50.740 Wert Volt 0.00
                                      19:21:50.742 var not found: WebQuery#StatusSNS#ENERGY#Current/1000
                                      19:21:50.743 Wert Current 0.00
                                      19:21:50.745 var not found: WebQuery#StatusSNS#ENERGY#Power
                                      19:21:50.746 Wert Power 0.00
                                      19:21:50.748 var not found: WebQuery#StatusSNS#ENERGY#Total
                                      19:21:50.750 Wert Total 0.00
                                      19:21:50.751 var not found: WebQuery#StatusSNS#ENERGY#Yesterday
                                      19:21:50.753 Wert Yesterday 0.00
                                      19:21:50.755 var not found: WebQuery#StatusSNS#ENERGY#Today
                                      19:21:50.756 Wert Today 0.00
                                      19:21:50.758 var not found: WebQuery#StatusSNS#ENERGY#ApparentPower
                                      19:21:50.759 Wert Apparent Power 0.00
                                      19:21:50.761 var not found: WebQuery#StatusSNS#ENERGY#ReactivePower
                                      19:21:50.763 Wert Reaktive Power 0.00
                                      
                                      Ralla66 1 Reply Last reply Reply Quote 0
                                      • Ralla66
                                        Ralla66 Most Active @RalfTh last edited by

                                        @ralfth

                                        Die folgenden defines sind nicht mehr Bestandteil my_user_config.h

                                        #define USE_SCRIPT_GLOBVARS
                                        #define USE_SCRIPT_STATUS
                                        #define USE_SCRIPT_STATUS
                                        #define USE_SCRIPT_FULL_JSON_PARSER

                                        der Parser zerlegt die Antwort vom websend der Anfrage in Today, Voltage usw.
                                        Der Parser wird zwingend benötigt.

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

                                          @ralla66 OK, dann mach ich mich erst mal da dran un compiliere eine neue .bin

                                          Melde mich dann wieder. Und vielen Dank für Deine Unterstützung.

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

                                            @ralla66 Dieses define steht in der my_user_config.h ??

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            598
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            88
                                            6005
                                            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