Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. DMP8624 -> iobroker

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

DMP8624 -> iobroker

Scheduled Pinned Locked Moved Hardware
235 Posts 7 Posters 37.5k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • HomoranH Homoran

    @wal sagte in DMP8624 -> iobroker:

    @homoran ,
    du bist sehr schnell siehe oben. ;-)

    iiiihhhhhh
    ich hab dir und deinem Link vertraut

    Screenshot_20230918-191943_Firefox.jpg

    Jod!
    heißes Wasser!
    Weihwasser!

    :joy:

    ist das so etwas

    20230125_191306.jpg

    WalW Offline
    WalW Offline
    Wal
    Developer
    wrote on last edited by
    #94

    @homoran ,
    Angeber. ;-)
    Ja fast, mit dem Teil kann man eine Nulleinspeisung mit einem Balkonkraftwerk hinbekommen.

    Gruß
    Walter

    DoorIO-Adapter
    wioBrowser-Adapter und wioBrowser

    HomoranH 1 Reply Last reply
    0
    • WalW Wal

      @homoran ,
      Angeber. ;-)
      Ja fast, mit dem Teil kann man eine Nulleinspeisung mit einem Balkonkraftwerk hinbekommen.

      HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #95

      @wal sagte in DMP8624 -> iobroker:

      @homoran ,
      Ja fast, mit dem Teil kann man eine Nulleinspeisung mit einem Balkonkraftwerk hinbekommen.

      damit ^^ auch.

      da hab ich 55.9V, mit denen ich was machen könnte.

      @wal sagte in DMP8624 -> iobroker:

      Angeber.

      nur ein ganz klein wenig :joy:

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      WalW 1 Reply Last reply
      0
      • HomoranH Homoran

        @wal sagte in DMP8624 -> iobroker:

        @homoran ,
        Ja fast, mit dem Teil kann man eine Nulleinspeisung mit einem Balkonkraftwerk hinbekommen.

        damit ^^ auch.

        da hab ich 55.9V, mit denen ich was machen könnte.

        @wal sagte in DMP8624 -> iobroker:

        Angeber.

        nur ein ganz klein wenig :joy:

        WalW Offline
        WalW Offline
        Wal
        Developer
        wrote on last edited by
        #96

        @homoran ,
        schau dir das Video an ist sehr interessant, geht ja auch mit dem Handy.

        Gruß
        Walter

        DoorIO-Adapter
        wioBrowser-Adapter und wioBrowser

        Ralla66R 1 Reply Last reply
        0
        • WalW Wal

          @homoran ,
          schau dir das Video an ist sehr interessant, geht ja auch mit dem Handy.

          Ralla66R Offline
          Ralla66R Offline
          Ralla66
          Most Active
          wrote on last edited by
          #97

          @wal

          und immer schön langsam die Spannung / Strom erhöhen bei Balkonwechselrichtern.
          Sonst werden die Eingangs C im WR gegrillt. Hab da praktische Erfahrung mit :-)

          WalW 1 Reply Last reply
          1
          • Ralla66R Ralla66

            @wal

            und immer schön langsam die Spannung / Strom erhöhen bei Balkonwechselrichtern.
            Sonst werden die Eingangs C im WR gegrillt. Hab da praktische Erfahrung mit :-)

            WalW Offline
            WalW Offline
            Wal
            Developer
            wrote on last edited by
            #98

            @ralla66 ,
            ich würde ja gerne auch Nachts auf Null regeln.
            Bei ca. 270W und 14 Stunden brauche ich bei 80% Lade/Entladung einen 5KWh Akku und um den zu laden ca. 3 Paneel im Sommer.
            Nur fürs spielen kann ich mich noch nicht dazu durchringen, aber den DC-Regler habe ich schon mal. :-)

            Gruß
            Walter

            DoorIO-Adapter
            wioBrowser-Adapter und wioBrowser

            Ralla66R 2 Replies Last reply
            0
            • WalW Wal

              @ralla66 ,
              ich würde ja gerne auch Nachts auf Null regeln.
              Bei ca. 270W und 14 Stunden brauche ich bei 80% Lade/Entladung einen 5KWh Akku und um den zu laden ca. 3 Paneel im Sommer.
              Nur fürs spielen kann ich mich noch nicht dazu durchringen, aber den DC-Regler habe ich schon mal. :-)

              Ralla66R Offline
              Ralla66R Offline
              Ralla66
              Most Active
              wrote on last edited by Ralla66
              #99

              @wal

              habe ich so ähnlich, 2 Plyontech mit 2,4 KWh , abends per Nulleinspeisung raus.
              Hatte das erst per Hoymiles 600 mit ESP DTU geregelt. Riesiger Aufwand halt.
              Versicherungstechnisch auch fragwürdig. Hatte dann den DPM gekauft aber das
              Projekt wieder verworfen.
              Bin nun auf Lumentree WR umgestiegen. Die bieten per Wlan eine Nulleinspeisung an.
              Mqtt für IO ist auch an Board. Die Zählerwerte können per Json vom Tasmota ESP
              angefordert werden. Sehr cool geproggtes Projekt.
              Versicherungstechnisch halt sauber.
              Github Projekt
              Video von Christian der Kanal

              1 Reply Last reply
              0
              • WalW Wal

                @ralla66 ,
                ich würde ja gerne auch Nachts auf Null regeln.
                Bei ca. 270W und 14 Stunden brauche ich bei 80% Lade/Entladung einen 5KWh Akku und um den zu laden ca. 3 Paneel im Sommer.
                Nur fürs spielen kann ich mich noch nicht dazu durchringen, aber den DC-Regler habe ich schon mal. :-)

                Ralla66R Offline
                Ralla66R Offline
                Ralla66
                Most Active
                wrote on last edited by Ralla66
                #100

                @wal

                Nur mal so als Idee.
                Im DPM Script könnte man ja das Json des Zähler ESP abholen und den Bezugswert Watt rausfiltern. Drauf hin dann V und A des DPM steuern.
                Möglichkeit 2 wäre eine Rule im Zähler ESP setzen die alle x sec einen http Wert zum DPM ESP sendet.

                Test Json im IO abholen

                Json neu 1.jpg

                Json mit ESP Lumentree Software

                ZEPC.jpg

                Json abholen.jpg

                WalW 1 Reply Last reply
                0
                • Ralla66R Ralla66

                  @wal

                  Nur mal so als Idee.
                  Im DPM Script könnte man ja das Json des Zähler ESP abholen und den Bezugswert Watt rausfiltern. Drauf hin dann V und A des DPM steuern.
                  Möglichkeit 2 wäre eine Rule im Zähler ESP setzen die alle x sec einen http Wert zum DPM ESP sendet.

                  Test Json im IO abholen

                  Json neu 1.jpg

                  Json mit ESP Lumentree Software

                  ZEPC.jpg

                  Json abholen.jpg

                  WalW Offline
                  WalW Offline
                  Wal
                  Developer
                  wrote on last edited by
                  #101

                  @ralla66 ,
                  was ich schon in Thermostaten mache ist aus dem Sonoff-Adapter Objekte abonnieren und im Skript weiter verarbeiten.
                  Man legt ein Datenpunkt im Objektbaum vom DPM an und beschreibt ihn mit irgendetwas und hat den Wert dann im ESP.

                  Gruß
                  Walter

                  DoorIO-Adapter
                  wioBrowser-Adapter und wioBrowser

                  Ralla66R 1 Reply Last reply
                  0
                  • WalW Wal

                    @ralla66 ,
                    was ich schon in Thermostaten mache ist aus dem Sonoff-Adapter Objekte abonnieren und im Skript weiter verarbeiten.
                    Man legt ein Datenpunkt im Objektbaum vom DPM an und beschreibt ihn mit irgendetwas und hat den Wert dann im ESP.

                    Ralla66R Offline
                    Ralla66R Offline
                    Ralla66
                    Most Active
                    wrote on last edited by
                    #102

                    @Wal

                    von Tasmota nach Tasmota cmd senden geht ja, wäre die Frage ob beim Scripting es möglich ist ein
                    Request zu senden und die Antwort ( Json ) darauf hin zu empfangen.
                    Das wäre für Hichi ESP Lesekopf Besitzer dann die Top Speicher Balkonkraftwerk Nulleinspeisung
                    mit dem DPM.

                    WalW 1 Reply Last reply
                    0
                    • Ralla66R Ralla66

                      @Wal

                      von Tasmota nach Tasmota cmd senden geht ja, wäre die Frage ob beim Scripting es möglich ist ein
                      Request zu senden und die Antwort ( Json ) darauf hin zu empfangen.
                      Das wäre für Hichi ESP Lesekopf Besitzer dann die Top Speicher Balkonkraftwerk Nulleinspeisung
                      mit dem DPM.

                      WalW Offline
                      WalW Offline
                      Wal
                      Developer
                      wrote on last edited by Wal
                      #103

                      @ralla66 ,
                      mit einem Mosquitto Server kein Problem, könnte auch mit dem MQTT-Adapter als Server gehen.
                      Es braucht da auch kein Json, man kann jeden Datenpunkt abonnieren den man möchte.

                      >BS
                      +>subscribe V, cmnd/%topic%/tvolt
                      +>subscribe C, cmnd/%topic%/tampere
                      +>subscribe SW, cmnd/%topic%/tpow
                      +>subscribe L, stat/Haus.Stromzaehler/aktuelle_leistung
                      +>subscribe G, stat/Haus.Wechselrichter/wasauchimmer
                      

                      Http request gibt es auch im Skript

                      USE_WEBSEND_RESPONSE)
                      http("url" "payload") = does a GET or POST request on a URL (http:// is internally added)
                      

                      edit: einen hichi und solarregler habe ich ja, brauche nur eine Batterie zum spielen.

                      Gruß
                      Walter

                      DoorIO-Adapter
                      wioBrowser-Adapter und wioBrowser

                      Ralla66R 1 Reply Last reply
                      0
                      • WalW Wal

                        @ralla66 ,
                        mit einem Mosquitto Server kein Problem, könnte auch mit dem MQTT-Adapter als Server gehen.
                        Es braucht da auch kein Json, man kann jeden Datenpunkt abonnieren den man möchte.

                        >BS
                        +>subscribe V, cmnd/%topic%/tvolt
                        +>subscribe C, cmnd/%topic%/tampere
                        +>subscribe SW, cmnd/%topic%/tpow
                        +>subscribe L, stat/Haus.Stromzaehler/aktuelle_leistung
                        +>subscribe G, stat/Haus.Wechselrichter/wasauchimmer
                        

                        Http request gibt es auch im Skript

                        USE_WEBSEND_RESPONSE)
                        http("url" "payload") = does a GET or POST request on a URL (http:// is internally added)
                        

                        edit: einen hichi und solarregler habe ich ja, brauche nur eine Batterie zum spielen.

                        Ralla66R Offline
                        Ralla66R Offline
                        Ralla66
                        Most Active
                        wrote on last edited by Ralla66
                        #104

                        @wal

                        Pylontech :-)
                        Alles was das Herz begehrt an Schnittstellen, auslesen per ESP Routine.
                        BMS mit an Board.

                        Eher Autark, ESP DPM mit ESP Zähler, IO und Mqtt Broker kann ja dabei sein, aber eben kein muss.

                        Post klingt Interessant, damit kann ich den HM600 über NRF Antenne direkt steuern.

                        Nachtrag

                        http("url" "payload") = does a GET or POST request on a URL (http:// is internally added)
                        
                        

                        Antwort kann wie per print ausgegeben werden ? Teste dann heute Abend

                        1 Reply Last reply
                        0
                        • WalW Offline
                          WalW Offline
                          Wal
                          Developer
                          wrote on last edited by
                          #105

                          @ralla66 sagte in DMP8624 -> iobroker:

                          Pylontech

                          Pylontech US5000 1.235,25 € evtl. mit dem Weihnachtsgeld. ;-)

                          Gruß
                          Walter

                          DoorIO-Adapter
                          wioBrowser-Adapter und wioBrowser

                          Ralla66R 2 Replies Last reply
                          0
                          • WalW Wal

                            @ralla66 sagte in DMP8624 -> iobroker:

                            Pylontech

                            Pylontech US5000 1.235,25 € evtl. mit dem Weihnachtsgeld. ;-)

                            Ralla66R Offline
                            Ralla66R Offline
                            Ralla66
                            Most Active
                            wrote on last edited by
                            #106

                            @wal

                            Die kleine Pylontech Routine

                            1 Reply Last reply
                            0
                            • WalW Wal

                              @ralla66 sagte in DMP8624 -> iobroker:

                              Pylontech

                              Pylontech US5000 1.235,25 € evtl. mit dem Weihnachtsgeld. ;-)

                              Ralla66R Offline
                              Ralla66R Offline
                              Ralla66
                              Most Active
                              wrote on last edited by
                              #107

                              @wal

                              Request Antwort Json print so ?

                              ; Read the status JSON payload

                              U
                              gw=StatusNET#Gateway
                              print %gw%

                              WalW 1 Reply Last reply
                              0
                              • Ralla66R Ralla66

                                @wal

                                Request Antwort Json print so ?

                                ; Read the status JSON payload

                                U
                                gw=StatusNET#Gateway
                                print %gw%

                                WalW Offline
                                WalW Offline
                                Wal
                                Developer
                                wrote on last edited by
                                #108

                                @ralla66 ,
                                da musst du dich mal durcharbeiten, habe damit noch nichts gemacht. ;-)

                                Gruß
                                Walter

                                DoorIO-Adapter
                                wioBrowser-Adapter und wioBrowser

                                Ralla66R 1 Reply Last reply
                                0
                                • WalW Wal

                                  @ralla66 ,
                                  da musst du dich mal durcharbeiten, habe damit noch nichts gemacht. ;-)

                                  Ralla66R Offline
                                  Ralla66R Offline
                                  Ralla66
                                  Most Active
                                  wrote on last edited by Ralla66
                                  #109

                                  @wal

                                  ok, dann mal ran an Lehrbrief 1 -> Übung 1 :-)

                                  Button Websend einfügen, Websend ausführen, Antwort Request in Var schreiben.

                                  1 und 2 sollte gehen, bei 3 haperts noch ;-)

                                  >D
                                  ; Ralla
                                  gw=""
                                  
                                  Vmax=60
                                  Cmax=24
                                  v=0
                                  V=0
                                  c=0
                                  C=0
                                  sw=0
                                  SW=0
                                  ; Ralla
                                  WS=0
                                  rV="01060000"
                                  vV=""
                                  rC="01060001"
                                  vC=""
                                  rSW="01060002000"
                                  vSW=""
                                  >BS
                                  +>subscribe V, cmnd/%topic%/tvolt
                                  +>subscribe C, cmnd/%topic%/tampere
                                  +>subscribe SW, cmnd/%topic%/tpow
                                  >B
                                  smlj=0
                                  ->sensor53 r
                                  ; Ralla
                                  ; Request Status information. The response will trigger the `U` section
                                  +>status 5
                                  
                                  >R
                                  smlj=0
                                  >S
                                  if upsecs>30
                                  then
                                  smlj=1
                                  endif
                                  >W
                                  bu(SW "DPM Ein" "DPM Aus")
                                  ; Ralla
                                  bu(WS "WebSend" "Websend")
                                  nm(0.0 60.0 0.01 V "DPM Ausgang (V)" 200 2)
                                  nm(0.0 24.0 0.01 C "DPM Ausgang (A)" 200 2)
                                  >T
                                  sw=DC#sSwitch
                                  v=DC#sVolt
                                  c=DC#sCur
                                  if ((chg[sw]>0) and (SW!=sw))
                                  then
                                    SW=sw
                                    +>publish stat/%topic%/RESULT {"tpow":%0sw%}
                                  endif
                                  if ((chg[v]>0) and (V!=v))
                                  then
                                    V=v
                                    +>publish stat/%topic%/RESULT {"tvolt":%2v%}
                                  endif
                                  if ((chg[c]>0) and (C!=c))
                                  then
                                    C=c
                                    +>publish stat/%topic%/RESULT {"tampere":%2c%}
                                  endif
                                  if chg[V]>0
                                  then
                                    if V>Vmax
                                    then
                                      V=Vmax
                                    endif
                                    if V<0
                                    then
                                      V=0
                                    endif
                                    vV=rV+sb(hx((V*100)) 4 4)
                                    +>publish stat/%topic%/RESULT {"tvolt":%2V%}
                                    sml(1 3 vV)
                                  endif
                                  if chg[C]>0
                                  then
                                    if C>Cmax
                                    then
                                      C=Cmax
                                    endif
                                    if C<0
                                    then
                                      C=0
                                    endif
                                    vC=rC+sb(hx((C*1000)) 4 4)
                                    +>publish stat/%topic%/RESULT {"tampere":%2C%}
                                    sml(1 3 vC)
                                  endif
                                  if ((chg[SW]>0) 
                                  then
                                    vSW=rSW+s(SW)
                                    +>publish stat/%topic%/RESULT {"tpow":%0SW%}
                                    sml(1 3 vSW)
                                  endif
                                  
                                  ; Ralla
                                  if ((chg[WS]>0) 
                                  then
                                  
                                  =>WebSend [192.168.2.28] /cm?cmnd=status&2010
                                  ;Org Ralla IO http://192.168.2.28/cm?cmnd=status%2010
                                  print Ralla websend
                                  
                                  endif
                                  ; Ralla
                                  ; Read the status JSON payload
                                  >U
                                  gw=StatusNET#Gateway
                                  ;gw=StatusSNS,MT175,Bezug_aktuell
                                  print %gw%
                                  print Ralla gw
                                  
                                  >M 1
                                  +1,3,m,16,9600,DC,1,2,010300000001,010300010001,010300020001,010310010001,010310020001
                                  1,010302SSssxxxx@i0:100,Spannung (set),V,sVolt,2
                                  1,010302SSssxxxx@i1:1000,Strom (set),A,sCur,2
                                  1,010302SSssxxxx@i2:1,Ausgang (set),,sSwitch,0
                                  1,010302SSssxxxx@i3:100,Spannung (disp),V,dVolt,2
                                  1,010302SSssxxxx@i4:1000,Strom (disp),A,vCur,2
                                  #
                                  

                                  DPM WebSend.jpg

                                  DPM WebSend gui.jpg

                                  ; Request Status information. The response will trigger the U section

                                  B
                                  +>status 5
                                  Dann sollte ja U print ausgeführt sein, ist aber nicht, dann kann nur WebSend falsch sein

                                  WalW 2 Replies Last reply
                                  0
                                  • Ralla66R Ralla66

                                    @wal

                                    ok, dann mal ran an Lehrbrief 1 -> Übung 1 :-)

                                    Button Websend einfügen, Websend ausführen, Antwort Request in Var schreiben.

                                    1 und 2 sollte gehen, bei 3 haperts noch ;-)

                                    >D
                                    ; Ralla
                                    gw=""
                                    
                                    Vmax=60
                                    Cmax=24
                                    v=0
                                    V=0
                                    c=0
                                    C=0
                                    sw=0
                                    SW=0
                                    ; Ralla
                                    WS=0
                                    rV="01060000"
                                    vV=""
                                    rC="01060001"
                                    vC=""
                                    rSW="01060002000"
                                    vSW=""
                                    >BS
                                    +>subscribe V, cmnd/%topic%/tvolt
                                    +>subscribe C, cmnd/%topic%/tampere
                                    +>subscribe SW, cmnd/%topic%/tpow
                                    >B
                                    smlj=0
                                    ->sensor53 r
                                    ; Ralla
                                    ; Request Status information. The response will trigger the `U` section
                                    +>status 5
                                    
                                    >R
                                    smlj=0
                                    >S
                                    if upsecs>30
                                    then
                                    smlj=1
                                    endif
                                    >W
                                    bu(SW "DPM Ein" "DPM Aus")
                                    ; Ralla
                                    bu(WS "WebSend" "Websend")
                                    nm(0.0 60.0 0.01 V "DPM Ausgang (V)" 200 2)
                                    nm(0.0 24.0 0.01 C "DPM Ausgang (A)" 200 2)
                                    >T
                                    sw=DC#sSwitch
                                    v=DC#sVolt
                                    c=DC#sCur
                                    if ((chg[sw]>0) and (SW!=sw))
                                    then
                                      SW=sw
                                      +>publish stat/%topic%/RESULT {"tpow":%0sw%}
                                    endif
                                    if ((chg[v]>0) and (V!=v))
                                    then
                                      V=v
                                      +>publish stat/%topic%/RESULT {"tvolt":%2v%}
                                    endif
                                    if ((chg[c]>0) and (C!=c))
                                    then
                                      C=c
                                      +>publish stat/%topic%/RESULT {"tampere":%2c%}
                                    endif
                                    if chg[V]>0
                                    then
                                      if V>Vmax
                                      then
                                        V=Vmax
                                      endif
                                      if V<0
                                      then
                                        V=0
                                      endif
                                      vV=rV+sb(hx((V*100)) 4 4)
                                      +>publish stat/%topic%/RESULT {"tvolt":%2V%}
                                      sml(1 3 vV)
                                    endif
                                    if chg[C]>0
                                    then
                                      if C>Cmax
                                      then
                                        C=Cmax
                                      endif
                                      if C<0
                                      then
                                        C=0
                                      endif
                                      vC=rC+sb(hx((C*1000)) 4 4)
                                      +>publish stat/%topic%/RESULT {"tampere":%2C%}
                                      sml(1 3 vC)
                                    endif
                                    if ((chg[SW]>0) 
                                    then
                                      vSW=rSW+s(SW)
                                      +>publish stat/%topic%/RESULT {"tpow":%0SW%}
                                      sml(1 3 vSW)
                                    endif
                                    
                                    ; Ralla
                                    if ((chg[WS]>0) 
                                    then
                                    
                                    =>WebSend [192.168.2.28] /cm?cmnd=status&2010
                                    ;Org Ralla IO http://192.168.2.28/cm?cmnd=status%2010
                                    print Ralla websend
                                    
                                    endif
                                    ; Ralla
                                    ; Read the status JSON payload
                                    >U
                                    gw=StatusNET#Gateway
                                    ;gw=StatusSNS,MT175,Bezug_aktuell
                                    print %gw%
                                    print Ralla gw
                                    
                                    >M 1
                                    +1,3,m,16,9600,DC,1,2,010300000001,010300010001,010300020001,010310010001,010310020001
                                    1,010302SSssxxxx@i0:100,Spannung (set),V,sVolt,2
                                    1,010302SSssxxxx@i1:1000,Strom (set),A,sCur,2
                                    1,010302SSssxxxx@i2:1,Ausgang (set),,sSwitch,0
                                    1,010302SSssxxxx@i3:100,Spannung (disp),V,dVolt,2
                                    1,010302SSssxxxx@i4:1000,Strom (disp),A,vCur,2
                                    #
                                    

                                    DPM WebSend.jpg

                                    DPM WebSend gui.jpg

                                    ; Request Status information. The response will trigger the U section

                                    B
                                    +>status 5
                                    Dann sollte ja U print ausgeführt sein, ist aber nicht, dann kann nur WebSend falsch sein

                                    WalW Offline
                                    WalW Offline
                                    Wal
                                    Developer
                                    wrote on last edited by
                                    #110

                                    @ralla66 ,
                                    denk daran das man eine Firmware mit USE_WEBSEND_RESPONSE braucht.

                                    Gruß
                                    Walter

                                    DoorIO-Adapter
                                    wioBrowser-Adapter und wioBrowser

                                    1 Reply Last reply
                                    0
                                    • Ralla66R Ralla66

                                      @wal

                                      ok, dann mal ran an Lehrbrief 1 -> Übung 1 :-)

                                      Button Websend einfügen, Websend ausführen, Antwort Request in Var schreiben.

                                      1 und 2 sollte gehen, bei 3 haperts noch ;-)

                                      >D
                                      ; Ralla
                                      gw=""
                                      
                                      Vmax=60
                                      Cmax=24
                                      v=0
                                      V=0
                                      c=0
                                      C=0
                                      sw=0
                                      SW=0
                                      ; Ralla
                                      WS=0
                                      rV="01060000"
                                      vV=""
                                      rC="01060001"
                                      vC=""
                                      rSW="01060002000"
                                      vSW=""
                                      >BS
                                      +>subscribe V, cmnd/%topic%/tvolt
                                      +>subscribe C, cmnd/%topic%/tampere
                                      +>subscribe SW, cmnd/%topic%/tpow
                                      >B
                                      smlj=0
                                      ->sensor53 r
                                      ; Ralla
                                      ; Request Status information. The response will trigger the `U` section
                                      +>status 5
                                      
                                      >R
                                      smlj=0
                                      >S
                                      if upsecs>30
                                      then
                                      smlj=1
                                      endif
                                      >W
                                      bu(SW "DPM Ein" "DPM Aus")
                                      ; Ralla
                                      bu(WS "WebSend" "Websend")
                                      nm(0.0 60.0 0.01 V "DPM Ausgang (V)" 200 2)
                                      nm(0.0 24.0 0.01 C "DPM Ausgang (A)" 200 2)
                                      >T
                                      sw=DC#sSwitch
                                      v=DC#sVolt
                                      c=DC#sCur
                                      if ((chg[sw]>0) and (SW!=sw))
                                      then
                                        SW=sw
                                        +>publish stat/%topic%/RESULT {"tpow":%0sw%}
                                      endif
                                      if ((chg[v]>0) and (V!=v))
                                      then
                                        V=v
                                        +>publish stat/%topic%/RESULT {"tvolt":%2v%}
                                      endif
                                      if ((chg[c]>0) and (C!=c))
                                      then
                                        C=c
                                        +>publish stat/%topic%/RESULT {"tampere":%2c%}
                                      endif
                                      if chg[V]>0
                                      then
                                        if V>Vmax
                                        then
                                          V=Vmax
                                        endif
                                        if V<0
                                        then
                                          V=0
                                        endif
                                        vV=rV+sb(hx((V*100)) 4 4)
                                        +>publish stat/%topic%/RESULT {"tvolt":%2V%}
                                        sml(1 3 vV)
                                      endif
                                      if chg[C]>0
                                      then
                                        if C>Cmax
                                        then
                                          C=Cmax
                                        endif
                                        if C<0
                                        then
                                          C=0
                                        endif
                                        vC=rC+sb(hx((C*1000)) 4 4)
                                        +>publish stat/%topic%/RESULT {"tampere":%2C%}
                                        sml(1 3 vC)
                                      endif
                                      if ((chg[SW]>0) 
                                      then
                                        vSW=rSW+s(SW)
                                        +>publish stat/%topic%/RESULT {"tpow":%0SW%}
                                        sml(1 3 vSW)
                                      endif
                                      
                                      ; Ralla
                                      if ((chg[WS]>0) 
                                      then
                                      
                                      =>WebSend [192.168.2.28] /cm?cmnd=status&2010
                                      ;Org Ralla IO http://192.168.2.28/cm?cmnd=status%2010
                                      print Ralla websend
                                      
                                      endif
                                      ; Ralla
                                      ; Read the status JSON payload
                                      >U
                                      gw=StatusNET#Gateway
                                      ;gw=StatusSNS,MT175,Bezug_aktuell
                                      print %gw%
                                      print Ralla gw
                                      
                                      >M 1
                                      +1,3,m,16,9600,DC,1,2,010300000001,010300010001,010300020001,010310010001,010310020001
                                      1,010302SSssxxxx@i0:100,Spannung (set),V,sVolt,2
                                      1,010302SSssxxxx@i1:1000,Strom (set),A,sCur,2
                                      1,010302SSssxxxx@i2:1,Ausgang (set),,sSwitch,0
                                      1,010302SSssxxxx@i3:100,Spannung (disp),V,dVolt,2
                                      1,010302SSssxxxx@i4:1000,Strom (disp),A,vCur,2
                                      #
                                      

                                      DPM WebSend.jpg

                                      DPM WebSend gui.jpg

                                      ; Request Status information. The response will trigger the U section

                                      B
                                      +>status 5
                                      Dann sollte ja U print ausgeführt sein, ist aber nicht, dann kann nur WebSend falsch sein

                                      WalW Offline
                                      WalW Offline
                                      Wal
                                      Developer
                                      wrote on last edited by Wal
                                      #111

                                      @ralla66 ,
                                      hier für dich falls du es noch nicht kennst.

                                      edit: Werde ich heute testen ob ich den aktuellen Verbrauch vom hichi holen kann wenn du nicht dazu kommst.

                                      Gruß
                                      Walter

                                      DoorIO-Adapter
                                      wioBrowser-Adapter und wioBrowser

                                      Ralla66R 1 Reply Last reply
                                      0
                                      • WalW Wal

                                        @ralla66 ,
                                        hier für dich falls du es noch nicht kennst.

                                        edit: Werde ich heute testen ob ich den aktuellen Verbrauch vom hichi holen kann wenn du nicht dazu kommst.

                                        Ralla66R Offline
                                        Ralla66R Offline
                                        Ralla66
                                        Most Active
                                        wrote on last edited by Ralla66
                                        #112

                                        @wal

                                        heute morgen war um 0:30 Feierabend :-)
                                        den Link lese ich heute Abend,
                                        habe boot error am ESP nach dem flashen / script einfügen, war eventuell schon übermüdet
                                        meine .bin mit USE_WEBSEND_RESPONSE aktiviert lief nicht sauber.
                                        kannst du mal bitte die .bin hochladen mit Zeile 471 USE_WEBSEND_RESPONSE aktiviert
                                        Wäre cool wenn du mit testes, macht das debuggen einfacher.

                                        Danke

                                        WalW 1 Reply Last reply
                                        0
                                        • Ralla66R Ralla66

                                          @wal

                                          heute morgen war um 0:30 Feierabend :-)
                                          den Link lese ich heute Abend,
                                          habe boot error am ESP nach dem flashen / script einfügen, war eventuell schon übermüdet
                                          meine .bin mit USE_WEBSEND_RESPONSE aktiviert lief nicht sauber.
                                          kannst du mal bitte die .bin hochladen mit Zeile 471 USE_WEBSEND_RESPONSE aktiviert
                                          Wäre cool wenn du mit testes, macht das debuggen einfacher.

                                          Danke

                                          WalW Offline
                                          WalW Offline
                                          Wal
                                          Developer
                                          wrote on last edited by
                                          #113

                                          @ralla66 ,
                                          firmware_websend.bin.gz

                                          Gruß
                                          Walter

                                          DoorIO-Adapter
                                          wioBrowser-Adapter und wioBrowser

                                          Ralla66R 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          708

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe