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. Off Topic
  4. Microcontroller
  5. Balkonkraftwerk DPM8624 Tasmota Sonoff-Adapter

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    769

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Balkonkraftwerk DPM8624 Tasmota Sonoff-Adapter

Scheduled Pinned Locked Moved Microcontroller
50 Posts 6 Posters 7.4k Views 6 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.
  • F fimoknete

    @wal
    Ich hab SONOFF eingebunden.
    Er hat das hier erstellt:
    f5e48194-3d48-4643-bfac-0b56eefbc12c-image.png

    IOBROKER sieht es, wenn ich die Werte in der GUI verändere. Aber wenn ich die Werte im IOBroker verändere, kommt das nicht am DPM an.

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

    @fimoknete ,
    dpm3.jpg

    Gruß
    Walter

    DoorIO-Adapter
    wioBrowser-Adapter und wioBrowser

    F 1 Reply Last reply
    0
    • WalW Wal

      @fimoknete ,
      dpm3.jpg

      F Offline
      F Offline
      fimoknete
      wrote on last edited by
      #38

      @wal
      Jetzt gehts erst mal. Vielen Dank.

      Jonas HaberJ 1 Reply Last reply
      0
      • F fimoknete

        @wal
        Jetzt gehts erst mal. Vielen Dank.

        Jonas HaberJ Offline
        Jonas HaberJ Offline
        Jonas Haber
        wrote on last edited by
        #39

        Hi ich habe eine allgemeine frage. Muss der script des ir-Lesekopf am zähler sagen, dass die Daten an den broker gesendet werden? Screenshot 2024-04-09 164501.png 0a42f4a9-6ebb-4c6e-8549-a70d2ec11676-image.png
        Bisher habe ich nur diesen script am ir-lesekopf. Dieser ist aber schon mit dem broker (raspi-mosquitto) verbunden. Den script am dpm (bei mir ist es der 8650) habe ich schon drauf - allerdings ist er nicht von mir und ich verstehe nicht ob der script sagt, dass er sich die daten direkt beim ir-lesekopf holt und damit dann sofort den dpm steuert.

        >D
        Vmax=60 ;max value from specifications https://joy-it.net/en/products/JT-DPM8650
        Cmax=50 ;max value from specifications https://joy-it.net/en/products/JT-DPM8650
        v=0 ;store device voltage state (targeted)
        V=0 ;store WebUI voltage state (targeted)
        c=0 ;store device current state (targeted)
        C=0 ;store WebUI current state (targeted)
        sw=0 ;store device switch state
        SW=0 ;store WebUI switch state
        rV="01060000" ;ModBus register (voltage)
        vV="" ;store hex value of V to append to rV
        rC="01060001" ;ModBus register (current)
        vC="" ;store hex value of C to append to rC
        rSW="01060002000" ;ModBus register (switch)
        vSW="" ;store hex value of SW to append to rSW
        
        >B
        smlj=0 ;disable publishing at MQTT teleperiod, on boot
        ->sensor53 r
        
        >R
        smlj=0 ;disable publishing at MQTT teleperiod, on reboot
        
        >S
        if upsecs>30
        then
        smlj=1 ;re-enable publishing at MQTT teleperiod, after boot
        endif
        
        >W
        bu(SW "DPM ON" "DPM OFF") ;toggle switch via WebUI
        nm(0.0 60.0 0.01 V "DPM out (V)" 200 2) ;set voltage output via WebUI
        nm(0.0 24.0 0.01 C "DPM out (A)" 200 2) ;set current output via WebUI
        
        >T
        sw=DC#sSwitch ;load switch state from ModBus variable >M
        v=DC#sVolt ;load voltage state from ModBus variable >M
        c=DC#sCur ;load voltage state from ModBus variable >M
        
        if ((chg[sw]>0) and (SW!=sw)) ;update WebUI based on physical input (switch)
        then
          SW=sw
        endif
        
        if ((chg[v]>0) and (V!=v)) ;update WebUI based on physical input (voltage)
        then
          V=v
        endif
        
        if ((chg[c]>0) and (C!=c)) ;update WebUI based on physical input (current)
        then
          C=c
        endif
        
        if chg[V]>0 ;update ModBus register based on WebUI input (voltage)
        then
          if V>Vmax ;prevent out of bound value (voltage max)
          then
            V=Vmax
          endif
          if V<0 ;prevent out of bound value (voltage min)
          then
            V=0
          endif
          vV=rV+sb(hx((V*100)) 4 4)
          sml(1 3 vV)
        endif
        
        if chg[C]>0 ;update ModBus register based on WebUI input (current)
        then
          if C>Cmax ;prevent out of bound value (current max)
          then
            C=Cmax ;prevent out of bound value (current min)
          endif
          if C<0
          then
            C=0
          endif
          vC=rC+sb(hx((C*1000)) 4 4)
          sml(1 3 vC)
        endif
        
        if ((chg[SW]>0) and (sw!=SW) ;update ModBus register based on WebUI input (switch)
        then
          vSW=rSW+s(SW)
          sml(1 3 vSW)
        endif
        
        >M 1
        +1,4,m,16,9600,DC,5,2,010300000001,010300010001,010300020001,010310010001,010310020001 ;ModBus register taken from JT-DPM86XX_Communication_protocol_2022-07-06.pdf provided by Joy-IT
        1,010302SSssxxxx@i1:100,Voltage (set),V,sVolt,2
        1,010302SSssxxxx@i2:1000,Current (set),A,sCur,2
        1,010302SSssxxxx@i3:1,Switch (set),,sSwitch,0
        1,010302SSssxxxx@i4:100,Voltage (disp),V,dVolt,2
        1,010302SSssxxxx@i5:1000,Current (disp),A,vCur,2
        #
        

        Gruß
        Jonas

        BananaJoeB 1 Reply Last reply
        0
        • Jonas HaberJ Jonas Haber

          Hi ich habe eine allgemeine frage. Muss der script des ir-Lesekopf am zähler sagen, dass die Daten an den broker gesendet werden? Screenshot 2024-04-09 164501.png 0a42f4a9-6ebb-4c6e-8549-a70d2ec11676-image.png
          Bisher habe ich nur diesen script am ir-lesekopf. Dieser ist aber schon mit dem broker (raspi-mosquitto) verbunden. Den script am dpm (bei mir ist es der 8650) habe ich schon drauf - allerdings ist er nicht von mir und ich verstehe nicht ob der script sagt, dass er sich die daten direkt beim ir-lesekopf holt und damit dann sofort den dpm steuert.

          >D
          Vmax=60 ;max value from specifications https://joy-it.net/en/products/JT-DPM8650
          Cmax=50 ;max value from specifications https://joy-it.net/en/products/JT-DPM8650
          v=0 ;store device voltage state (targeted)
          V=0 ;store WebUI voltage state (targeted)
          c=0 ;store device current state (targeted)
          C=0 ;store WebUI current state (targeted)
          sw=0 ;store device switch state
          SW=0 ;store WebUI switch state
          rV="01060000" ;ModBus register (voltage)
          vV="" ;store hex value of V to append to rV
          rC="01060001" ;ModBus register (current)
          vC="" ;store hex value of C to append to rC
          rSW="01060002000" ;ModBus register (switch)
          vSW="" ;store hex value of SW to append to rSW
          
          >B
          smlj=0 ;disable publishing at MQTT teleperiod, on boot
          ->sensor53 r
          
          >R
          smlj=0 ;disable publishing at MQTT teleperiod, on reboot
          
          >S
          if upsecs>30
          then
          smlj=1 ;re-enable publishing at MQTT teleperiod, after boot
          endif
          
          >W
          bu(SW "DPM ON" "DPM OFF") ;toggle switch via WebUI
          nm(0.0 60.0 0.01 V "DPM out (V)" 200 2) ;set voltage output via WebUI
          nm(0.0 24.0 0.01 C "DPM out (A)" 200 2) ;set current output via WebUI
          
          >T
          sw=DC#sSwitch ;load switch state from ModBus variable >M
          v=DC#sVolt ;load voltage state from ModBus variable >M
          c=DC#sCur ;load voltage state from ModBus variable >M
          
          if ((chg[sw]>0) and (SW!=sw)) ;update WebUI based on physical input (switch)
          then
            SW=sw
          endif
          
          if ((chg[v]>0) and (V!=v)) ;update WebUI based on physical input (voltage)
          then
            V=v
          endif
          
          if ((chg[c]>0) and (C!=c)) ;update WebUI based on physical input (current)
          then
            C=c
          endif
          
          if chg[V]>0 ;update ModBus register based on WebUI input (voltage)
          then
            if V>Vmax ;prevent out of bound value (voltage max)
            then
              V=Vmax
            endif
            if V<0 ;prevent out of bound value (voltage min)
            then
              V=0
            endif
            vV=rV+sb(hx((V*100)) 4 4)
            sml(1 3 vV)
          endif
          
          if chg[C]>0 ;update ModBus register based on WebUI input (current)
          then
            if C>Cmax ;prevent out of bound value (current max)
            then
              C=Cmax ;prevent out of bound value (current min)
            endif
            if C<0
            then
              C=0
            endif
            vC=rC+sb(hx((C*1000)) 4 4)
            sml(1 3 vC)
          endif
          
          if ((chg[SW]>0) and (sw!=SW) ;update ModBus register based on WebUI input (switch)
          then
            vSW=rSW+s(SW)
            sml(1 3 vSW)
          endif
          
          >M 1
          +1,4,m,16,9600,DC,5,2,010300000001,010300010001,010300020001,010310010001,010310020001 ;ModBus register taken from JT-DPM86XX_Communication_protocol_2022-07-06.pdf provided by Joy-IT
          1,010302SSssxxxx@i1:100,Voltage (set),V,sVolt,2
          1,010302SSssxxxx@i2:1000,Current (set),A,sCur,2
          1,010302SSssxxxx@i3:1,Switch (set),,sSwitch,0
          1,010302SSssxxxx@i4:100,Voltage (disp),V,dVolt,2
          1,010302SSssxxxx@i5:1000,Current (disp),A,vCur,2
          #
          
          BananaJoeB Online
          BananaJoeB Online
          BananaJoe
          Most Active
          wrote on last edited by BananaJoe
          #40

          @jonas-haber wenn du im Tasmota den MQTT-Broker konfiguriert hast, sendet er diesem alle gemäß dem Wert Teleperiod alle X Sekunden den Wert. Taucht unter

          tele/Name/SENSOR
          

          auf.

          Wenn du ganz unten an dein Skript folgendes anhängst:

          =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %LK12BE[2]%
          

          Sollte er das an dieses Topic senden - und zwar bei jeder Änderung.

          Soyosource/SOYO_1ce2fb/L1L2L3
          

          Das Topic kannst du anpassen wie du es brauchst (Bitte keine Leerzeichen und Sonderzeichen außer _),
          also am besten das Topic was dein anderes Gerät abonniert hat. Mein Pfad oben geht z.B. auf meinen SoYoSource-Controller um die Einspeisung zu steuern.

          ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

          Jonas HaberJ 1 Reply Last reply
          0
          • BananaJoeB BananaJoe

            @jonas-haber wenn du im Tasmota den MQTT-Broker konfiguriert hast, sendet er diesem alle gemäß dem Wert Teleperiod alle X Sekunden den Wert. Taucht unter

            tele/Name/SENSOR
            

            auf.

            Wenn du ganz unten an dein Skript folgendes anhängst:

            =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %LK12BE[2]%
            

            Sollte er das an dieses Topic senden - und zwar bei jeder Änderung.

            Soyosource/SOYO_1ce2fb/L1L2L3
            

            Das Topic kannst du anpassen wie du es brauchst (Bitte keine Leerzeichen und Sonderzeichen außer _),
            also am besten das Topic was dein anderes Gerät abonniert hat. Mein Pfad oben geht z.B. auf meinen SoYoSource-Controller um die Einspeisung zu steuern.

            Jonas HaberJ Offline
            Jonas HaberJ Offline
            Jonas Haber
            wrote on last edited by
            #41

            @bananajoe danke für die schnelle Antwort.

            =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %LK12BE[2]%
            

            ist hierbei Soyosource das topic ? oder SOYO_1ce2fb ?

            4a9b4afe-e99c-4735-af81-b0b04e47deb0-image.png

            Meine topic heißt ganz einfach tasmota ...

            891f1ddf-8fa2-482e-88eb-ebdaa1eafaee-image.png

            ungefähr so ?

            Gruß
            Jonas

            BananaJoeB 1 Reply Last reply
            0
            • Jonas HaberJ Jonas Haber

              @bananajoe danke für die schnelle Antwort.

              =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %LK12BE[2]%
              

              ist hierbei Soyosource das topic ? oder SOYO_1ce2fb ?

              4a9b4afe-e99c-4735-af81-b0b04e47deb0-image.png

              Meine topic heißt ganz einfach tasmota ...

              891f1ddf-8fa2-482e-88eb-ebdaa1eafaee-image.png

              ungefähr so ?

              BananaJoeB Online
              BananaJoeB Online
              BananaJoe
              Most Active
              wrote on last edited by
              #42

              @jonas-haber das Publish im Skript hat NICHTS mit den MQTT Einstellungen zu tun. Du kannst im Skript an ein beliebiges Topic separat davon senden, in Echtzeit, immer wenn sich ein Wert geändert hat.

              Zudem gehört es ganz nach unten, hinter das letzte #
              Kann sein das noch ein >S dahin gehört, bei mir sieht das so aus:

              >D
              >B
              =>sensor53 r
              >M 1
              +1,3,s,0,9600,SML
              1,77070100010801ff@1000,Verbrauch_Tarif_1,kWh,Verbrauch_T1,7
              1,77070100010802ff@1000,Verbrauch_Tarif_2,kWh,Verbrauch_T2,7
              1,77070100010800ff@1000,Verbrauch_Summe,kWh,Verbrauch_Summe,7
              1,77070100020800ff@1000,Einspeisung_Summe,kWh,Einspeisung_Summe,7
              1,=h-- 
              1,77070100240700ff@1,Leistung_L1,W,Watt_L1,2
              1,77070100380700ff@1,Leistung_L2,W,Watt_L2,2
              1,770701004c0700ff@1,Leistung_L3,W,Watt_L3,2
              1,77070100100700ff@1,Leistung_Summe,W,Watt_Summe,2
              1,=h-- 
              1,77070100200700ff@1,Spannung_L1,V,Volt_L1,1
              1,77070100340700ff@1,Spannung_L2,V,Volt_L2,1
              1,77070100480700ff@1,Spannung_L3,V,Volt_L3,1
              #
              >S
              =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %sml[8]%
              =>Publish Huawei/Huawei_1cea67/L1L2L3 %sml[8]%
              

              Die Topics: Du sollst als Topic / Pfad das einsetzen wohin du es haben willst.
              Meine beiden Zeilen oben senden das an meine Batterieladegerät (Huawei) damit das weis wieviel Überschuss da ist und mit wieviel Watt es laden darf, und meine Inverter (SoYouSource) damit die Wissen wieviel die Einspeisen müssen.

              Du sollst da den Pfad nehmen den du haben willst oder brauchst. Im MQTT-Adapter wird aus

              Soyosource/SOYO_1ce2fb/L1L2L3
              

              ein

              mqtt.0.Soyosource.SOYO_1ce2fb.L1L2L3
              

              Datenpunkt.
              Du kannst das auch

              mein/toller/zaehlerstand/und/so/weiter/nennen
              

              Du willst den "DPM" steuern, hat der denn einen MQTT Datenpunkt den dieser abfragt? Den Pfad müsstest du nehmen

              ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

              Jonas HaberJ 1 Reply Last reply
              0
              • BananaJoeB BananaJoe

                @jonas-haber das Publish im Skript hat NICHTS mit den MQTT Einstellungen zu tun. Du kannst im Skript an ein beliebiges Topic separat davon senden, in Echtzeit, immer wenn sich ein Wert geändert hat.

                Zudem gehört es ganz nach unten, hinter das letzte #
                Kann sein das noch ein >S dahin gehört, bei mir sieht das so aus:

                >D
                >B
                =>sensor53 r
                >M 1
                +1,3,s,0,9600,SML
                1,77070100010801ff@1000,Verbrauch_Tarif_1,kWh,Verbrauch_T1,7
                1,77070100010802ff@1000,Verbrauch_Tarif_2,kWh,Verbrauch_T2,7
                1,77070100010800ff@1000,Verbrauch_Summe,kWh,Verbrauch_Summe,7
                1,77070100020800ff@1000,Einspeisung_Summe,kWh,Einspeisung_Summe,7
                1,=h-- 
                1,77070100240700ff@1,Leistung_L1,W,Watt_L1,2
                1,77070100380700ff@1,Leistung_L2,W,Watt_L2,2
                1,770701004c0700ff@1,Leistung_L3,W,Watt_L3,2
                1,77070100100700ff@1,Leistung_Summe,W,Watt_Summe,2
                1,=h-- 
                1,77070100200700ff@1,Spannung_L1,V,Volt_L1,1
                1,77070100340700ff@1,Spannung_L2,V,Volt_L2,1
                1,77070100480700ff@1,Spannung_L3,V,Volt_L3,1
                #
                >S
                =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %sml[8]%
                =>Publish Huawei/Huawei_1cea67/L1L2L3 %sml[8]%
                

                Die Topics: Du sollst als Topic / Pfad das einsetzen wohin du es haben willst.
                Meine beiden Zeilen oben senden das an meine Batterieladegerät (Huawei) damit das weis wieviel Überschuss da ist und mit wieviel Watt es laden darf, und meine Inverter (SoYouSource) damit die Wissen wieviel die Einspeisen müssen.

                Du sollst da den Pfad nehmen den du haben willst oder brauchst. Im MQTT-Adapter wird aus

                Soyosource/SOYO_1ce2fb/L1L2L3
                

                ein

                mqtt.0.Soyosource.SOYO_1ce2fb.L1L2L3
                

                Datenpunkt.
                Du kannst das auch

                mein/toller/zaehlerstand/und/so/weiter/nennen
                

                Du willst den "DPM" steuern, hat der denn einen MQTT Datenpunkt den dieser abfragt? Den Pfad müsstest du nehmen

                Jonas HaberJ Offline
                Jonas HaberJ Offline
                Jonas Haber
                wrote on last edited by
                #43

                @bananajoe super danke !

                486a7411-0133-4399-b132-ad1ef3323444-image.png

                jetzt legt er richtig los ...

                Jetzt verstehe ich, dass das mit der eigentlichen topic garnichts zutun hat. Man erstellt also einen Pfad wo die Daten bei jeder Änderung hingesendet werden.

                Ich versuche jetzt, dass der DPM diesen Pfad abfragt. Wo fragt dein Soyo denn die Daten ab?

                Gruß
                Jonas

                BananaJoeB 1 Reply Last reply
                0
                • Jonas HaberJ Jonas Haber

                  @bananajoe super danke !

                  486a7411-0133-4399-b132-ad1ef3323444-image.png

                  jetzt legt er richtig los ...

                  Jetzt verstehe ich, dass das mit der eigentlichen topic garnichts zutun hat. Man erstellt also einen Pfad wo die Daten bei jeder Änderung hingesendet werden.

                  Ich versuche jetzt, dass der DPM diesen Pfad abfragt. Wo fragt dein Soyo denn die Daten ab?

                  BananaJoeB Online
                  BananaJoeB Online
                  BananaJoe
                  Most Active
                  wrote on last edited by BananaJoe
                  #44

                  @jonas-haber genau in den Pfaden die ich da oben gezeigt habe. Die werden auf der Weboberfläche meines SoYo-Controllers auch so angezeigt (und die andere auf der des Huawei-Lade-Controller)

                  ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                  Jonas HaberJ 1 Reply Last reply
                  0
                  • BananaJoeB BananaJoe

                    @jonas-haber genau in den Pfaden die ich da oben gezeigt habe. Die werden auf der Weboberfläche meines SoYo-Controllers auch so angezeigt (und die andere auf der des Huawei-Lade-Controller)

                    Jonas HaberJ Offline
                    Jonas HaberJ Offline
                    Jonas Haber
                    wrote on last edited by Jonas Haber
                    #45

                    @bananajoe genau das habe ich jetzt auch verstanden. Ich meinte nur ob oder wie ich den Script beim DPM so schreibe, dass er eben jenen Pfad benutzt. Wie sieht das aus im Script?

                    Gruß
                    Jonas

                    1 Reply Last reply
                    0
                    • BananaJoeB Online
                      BananaJoeB Online
                      BananaJoe
                      Most Active
                      wrote on last edited by
                      #46

                      @jonas-haber da bin ich jetzt raus da müsste sich einer der anderen zu äußern die das schon im Einsatz haben

                      ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                      Jonas HaberJ 1 Reply Last reply
                      0
                      • BananaJoeB BananaJoe

                        @jonas-haber da bin ich jetzt raus da müsste sich einer der anderen zu äußern die das schon im Einsatz haben

                        Jonas HaberJ Offline
                        Jonas HaberJ Offline
                        Jonas Haber
                        wrote on last edited by
                        #47

                        @bananajoe trotzdem riesen dank an dich.

                        Hier ist mir was aufgefallen

                        aus meinem Script für den DPM

                        if ((chg[SW]>0) and (sw!=SW) ;update ModBus register based on WebUI input (switch)
                        then
                          vSW=rSW+s(SW)
                          sml(1 3 vSW)
                        endif
                        

                        und aus deinem Script vom IR-Sender

                        =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %sml[8]%
                        

                        hier kommt bei beiden sml vor. Weißt du was das heißt und könnte das der Pfad sein?

                        Gruß
                        Jonas

                        BananaJoeB 1 Reply Last reply
                        0
                        • Jonas HaberJ Jonas Haber

                          @bananajoe trotzdem riesen dank an dich.

                          Hier ist mir was aufgefallen

                          aus meinem Script für den DPM

                          if ((chg[SW]>0) and (sw!=SW) ;update ModBus register based on WebUI input (switch)
                          then
                            vSW=rSW+s(SW)
                            sml(1 3 vSW)
                          endif
                          

                          und aus deinem Script vom IR-Sender

                          =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %sml[8]%
                          

                          hier kommt bei beiden sml vor. Weißt du was das heißt und könnte das der Pfad sein?

                          BananaJoeB Online
                          BananaJoeB Online
                          BananaJoe
                          Most Active
                          wrote on last edited by BananaJoe
                          #48

                          @jonas-haber nein. Das ist der Name des Blocks im Script wo die Werte abgefragt werden. Bei mir steht da das sml, bei dir LK12BE

                          Der Begriff "Block" ist vielleicht nicht der richtige, aber besser weis ich es gerade nicht.
                          Beim Publish bekommt er die Anweisung - bei dir - sich aus dem Block LK12BE den 2. Wert zu holen: %LK12BE[2]%

                          ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                          Jonas HaberJ 1 Reply Last reply
                          0
                          • BananaJoeB BananaJoe

                            @jonas-haber nein. Das ist der Name des Blocks im Script wo die Werte abgefragt werden. Bei mir steht da das sml, bei dir LK12BE

                            Der Begriff "Block" ist vielleicht nicht der richtige, aber besser weis ich es gerade nicht.
                            Beim Publish bekommt er die Anweisung - bei dir - sich aus dem Block LK12BE den 2. Wert zu holen: %LK12BE[2]%

                            Jonas HaberJ Offline
                            Jonas HaberJ Offline
                            Jonas Haber
                            wrote on last edited by Jonas Haber
                            #49

                            @bananajoe Danke. Könntest du mir zeigen, wie dein Script von deinem DCDC Wandler aussieht der die Werte von deinem IR-Lesekopf abfragt? Dort müsste ja dann irgendwas stehen bezüglich jenes Verzeichnisses...

                            =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %sml[8]%
                            

                            Edit:

                            bin schon fündig geworden und zwar in diesem thread.

                            >D
                            Vmax=60
                            Cmax=24
                            v=0
                            V=0
                            c=0
                            C=0
                            sw=0
                            SW=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
                            

                            Hier kommt ein ähnlicher Befehl vor. Das müsste es sein. Subscribe müsste ja das Gegenteil sein.

                            Gruß
                            Jonas

                            BananaJoeB 1 Reply Last reply
                            0
                            • Jonas HaberJ Jonas Haber

                              @bananajoe Danke. Könntest du mir zeigen, wie dein Script von deinem DCDC Wandler aussieht der die Werte von deinem IR-Lesekopf abfragt? Dort müsste ja dann irgendwas stehen bezüglich jenes Verzeichnisses...

                              =>Publish Soyosource/SOYO_1ce2fb/L1L2L3 %sml[8]%
                              

                              Edit:

                              bin schon fündig geworden und zwar in diesem thread.

                              >D
                              Vmax=60
                              Cmax=24
                              v=0
                              V=0
                              c=0
                              C=0
                              sw=0
                              SW=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
                              

                              Hier kommt ein ähnlicher Befehl vor. Das müsste es sein. Subscribe müsste ja das Gegenteil sein.

                              BananaJoeB Online
                              BananaJoeB Online
                              BananaJoe
                              Most Active
                              wrote on last edited by
                              #50

                              @jonas-haber jupp, könnte sein. Sieht so aus als würde er das dann in die jeweilige Variable packen

                              also müsstest du das an das Topic

                              cmnd/%topic%/tpow
                              

                              pushen - %topic% musst du halt durch deinen Gerätname ersetzen

                              ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                              1 Reply Last reply
                              0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              582

                              Online

                              32.8k

                              Users

                              82.7k

                              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