Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter Pylontech v0.0.10

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    328

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    297

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

Test Adapter Pylontech v0.0.10

Geplant Angeheftet Gesperrt Verschoben Tester
224 Beiträge 30 Kommentatoren 46.5k Aufrufe 26 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Offline
    T Offline
    tasuanetrukiat
    schrieb am zuletzt editiert von tasuanetrukiat
    #215

    Ok, I checked my Force-L1 Controller today an found out the connector is labeled as RS485/RS232 against described in my manual which is only shown RS485.
    So looks like RS232 is connected on Pin 3 + 6 where RS485 is on Pin 7 + 8.
    02880136-0e72-4a4c-b660-46c107e557f1-image.jpeg
    By the way where ist GND for RS232? It is not described in the manual which I found shortly.

    1 Antwort Letzte Antwort
    0
    • HomoranH Homoran verschob dieses Thema von Tester am
    • HomoranH Homoran verschob dieses Thema von ...nicht in offiziellem Repo am
    • T Offline
      T Offline
      tasuanetrukiat
      schrieb am zuletzt editiert von tasuanetrukiat
      #216

      Hello, GND is on Pin 2. I used now a really short Force-L1 CAN Cable to connect a USR-DR162 with the Force-L1 Controllers RS485/RS232 Port.
      The USR-DR162 Serial Setting was left as is with 115200 Baud at 8N1 and CTSRTS = Off, Pack Interval = 20, Pack Size = 1400, Com Heart = OFF, ModBus Enabled = OFF.
      786abc47-754b-405a-ae66-5d2aeb76eb0d-image.jpeg
      2795bc57-f4eb-4c20-9703-6b09b29f0969-image.jpeg
      With this settings a telnet connection was possible and I got the PYLON prompt.

      But the enabling all possible request types in the pylontech instance settings results in an error.
      So I enabled on by one type and got the result that only without 'Download battery current data' enabled the adaptor is working without problems.
      If I reenable the setting I get an error in the log and the Instance Icon becomes only yellow and than red:

      916b5618-1593-4209-b3a1-daa34da0dadf-image.jpeg
      By the way without this setting it is working.
      98e23fbb-dc69-4b3c-a8c2-73ada5d8512d-image.jpeg

      1 Antwort Letzte Antwort
      0
      • T Offline
        T Offline
        tasuanetrukiat
        schrieb am zuletzt editiert von tasuanetrukiat
        #217

        Was noch ein wenig komisch aussieht sind die Namen der Batterien. Des weiteren werden nur beim ersten Modul, also bei den ersten 15 Zellen mehr Werte abgefragt:

        7d4476de-74d8-4fce-b351-4688ddd4fb82-image.jpeg

        Hier mal die Stats aus der Console:

        pylon>+EVENT=SOCKA_OFF
        @
        Unknown command '+EVENT=SOCKA_OFF' - try 'help'
        $$
        pylon>
        pylon>bat 1
        bat 1
        @
        Battery  Volt     Curr     Tempr    Base State   Volt. State  Curr. State  Temp. State  SOC          Coulomb      BAL         
        0        3331     340      14000    Charge       Normal       Normal       Normal        87%      64085 mAH   N
        1        3332     340      14000    Charge       Normal       Normal       Normal        87%      64064 mAH   N
        2        3332     340      14000    Charge       Normal       Normal       Normal        86%      63176 mAH   N
        3        3332     340      14000    Charge       Normal       Normal       Normal        87%      64064 mAH   N
        4        3331     340      14000    Charge       Normal       Normal       Normal        87%      64083 mAH   N
        5        3331     340      14000    Charge       Normal       Normal       Normal        87%      64064 mAH   N
        6        3331     340      14000    Charge       Normal       Normal       Normal        86%      63176 mAH   N
        7        3331     340      14000    Charge       Normal       Normal       Normal        87%      64064 mAH   N
        8        3331     340      14000    Charge       Normal       Normal       Normal        87%      64085 mAH   N
        9        3331     340      14000    Charge       Normal       Normal       Normal        87%      64076 mAH   N
        10       3331     340      14000    Charge       Normal       Normal       Normal        87%      64085 mAH   N
        11       3331     340      14000    Charge       Normal       Normal       Normal        87%      64085 mAH   N
        12       3331     340      14000    Charge       Normal       Normal       Normal        87%      64083 mAH   N
        13       3331     340      14000    Charge       Normal       Normal       Normal        87%      64085 mAH   N
        14       3332     340      14000    Charge       Normal       Normal       Normal        87%      64064 mAH   N
        Command completed successfully
        $$
        pylon>
        pylon>bat 2
        bat 2
        @
        Battery  Volt     Curr     Tempr    Base State   Volt. State  Curr. State  Temp. State  SOC          Coulomb      BAL         
        0        3329     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        1        3329     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        2        3330     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        3        3331     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        4        3331     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        5        3329     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        6        3330     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        7        3329     312      13000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        8        3331     312      14000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        9        3331     312      14000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        10       3332     312      14000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        11       3332     312      14000    Charge       Normal       Normal       Normal        87%      64249 mAH   N
        12       3331     312      14000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        13       3331     312      14000    Charge       Normal       Normal       Normal        89%      65540 mAH   N
        14       3331     312      14000    Charge       Normal       Normal       Normal        89%      65645 mAH   N
        Command completed successfully
        $$
        pylon>
        
        1 Antwort Letzte Antwort
        0
        • PLCHome 0P Offline
          PLCHome 0P Offline
          PLCHome 0
          Developer
          schrieb am zuletzt editiert von PLCHome 0
          #218

          Das muss ich mir anschauen. Kannst du vielleicht das Skript build/moc/fetchCmdNet.js oder fetchCmdSerial.js für die Befehle ausführen? Und die Dateien als Zip-Datei zur Verfügung stellen?

          bat, bmuinfo 0, bmuinfo 1 bis n, help, info, log, pwr, soh, stat, sysinfo, time, unit

          Also Force war auf eien H2 zugeschnitten. Vielleicht hast du ja glück das deiner als US läuft.

          1 Antwort Letzte Antwort
          0
          • T Offline
            T Offline
            tasuanetrukiat
            schrieb am zuletzt editiert von tasuanetrukiat
            #219

            bmuinfo und sysinfo kennt die Konsole nicht. Hier die Befehle die gehen sollten:
            pylon>help

            help
            @
            Local command:
            bat Battery data show - bat [pwr][index]
            cmdquit Quit the Console Mode
            shut Shut down - shut
            trst Test Soft Reset - trst
            data History data load - data [event/history/misc][item]
            datalist Show recorded data - datalist [event/history/misc][item/bat][batnun][volt/curr/temp/coul][item]
            disp Display Info at regular intervals - disp [(pwrs pwrNo)/val]/[(bats batNo)/volt/curr/temp]
            getpwr Get power Info - getpwr
            help Help [cmd]
            info Device infomation - info
            log Log information show - log
            login Login Admin mode - login [password]
            logout user mode - logout
            pwr Power data show - pwr
            unit Unit data show - unit
            sys system data show - sys
            pwrsys System Info - sysinfo [pwr]
            
            Command completed successfully
            $$
            

            Ich habe deinem Tipp mal auf US umgestellt. Die Instanz lässt sich nun mit allen Häckchen starten und der Adapter bricht auch nicht ab. In Objekts machen die Einträge nun auch Sinn. Vielleicht ist die Auswahl US / Force nicht ganz richtig und man muss eher LV (48V Parallel) zu HV (Seriell) unterscheiden 😁
            Was die beiden nicht funktionierenden Befehl genau bewirken weiss ich nicht. Es gibt aber zwei andere die noch vielleicht interessante Werte zeigen: pwrsys und data bzw. datalist. Oder werden die schon abgefragt?

            1 Antwort Letzte Antwort
            0
            • T Offline
              T Offline
              tasuanetrukiat
              schrieb am zuletzt editiert von tasuanetrukiat
              #220

              Mir ist gerade noch was aufgefallen, das das Balancing bei den battery## Werten nicht als eigner Wert auftaucht sondern im coulomb angehängt ist:

              cf245db4-93cd-48d0-a2b2-93e1934ec2e8-image.jpeg

              Beim Bat Befehl steht es hinter der Coulomb Spalte als BAL:

              bat
              @
              Battery  Volt     Curr     Tempr    Base State   Volt. State  Curr. State  Temp. State  SOC          Coulomb      BAL
              0        3370     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              1        3365     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              2        3364     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              3        3365     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              4        3367     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              5        3365     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              6        3363     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              7        3365     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              8        3366     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              9        3365     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              10       3369     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              11       3372     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              12       3366     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              13       3366     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              14       3365     3368     14000    Charge       Normal       Normal       Normal        89%      65662 mAH   N
              Command completed successfully
              $$
              
              1 Antwort Letzte Antwort
              0
              • PLCHome 0P Offline
                PLCHome 0P Offline
                PLCHome 0
                Developer
                schrieb am zuletzt editiert von
                #221

                Ja, schaue ich mir an. Ich brauche trotzdem die Daten als Zip. Ich habe nicht nur einmal Probleme mit abgeschnittenen Leerzeichen und Zeilenenden gehabt.

                1 Antwort Letzte Antwort
                0
                • T Offline
                  T Offline
                  tasuanetrukiat
                  schrieb am zuletzt editiert von
                  #222

                  Hallo, ich würde ja gerne eine zip-Datei generieren aber wie komme ich da nun ran? Gibt es eine Beschreibung irgendwo wie ich die Daten zusammen sammel?
                  build/moc/fetchCmdNet.js würde ich ja ausführen aber muss das nicht im iobroker Context geschehen? Woher bekommt das Script sonst seine Verbindungsparameter?
                  Und wie geschrieben läuft iob bei mir im Container. Da finde ich nicht mal das skript drin, habe aber ggf. einfach was übersehen?
                  Oder reicht es das Script einfach mit runter zu laden und auf einen beliebigen Rechner auszuführen?

                  1 Antwort Letzte Antwort
                  0
                  • T Offline
                    T Offline
                    tasuanetrukiat
                    schrieb am zuletzt editiert von
                    #223

                    Ich habe mal gerate was zu tun wäre bin aber nicht weit gekommen:

                    user@host:~/test/pylontech$ git clone https://github.com/PLCHome/ioBroker.pylontech.git
                    Klone nach 'ioBroker.pylontech' ...
                    remote: Enumerating objects: 971, done.
                    remote: Counting objects: 100% (31/31), done.
                    remote: Compressing objects: 100% (24/24), done.
                    remote: Total 971 (delta 14), reused 14 (delta 6), pack-reused 940 (from 1)
                    Empfange Objekte: 100% (971/971), 888.60 KiB | 6.30 MiB/s, fertig.
                    Löse Unterschiede auf: 100% (684/684), fertig.
                    user@host:~/test/pylontech$ cd ioBroker.pylontech/build/moc/
                    user@host:~/test/pylontech/ioBroker.pylontech/build/moc$ node fetchCmdNet.js 192.168.2.44 8899 help
                    internal/modules/cjs/loader.js:818
                      throw err;
                      ^
                    
                    Error: Cannot find module 'fs/promises'
                    Require stack:
                    - /home/user/test/pylontech/ioBroker.pylontech/build/moc/fetchCmdNet.js
                        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                        at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                        at Module.require (internal/modules/cjs/loader.js:887:19)
                        at require (internal/modules/cjs/helpers.js:74:18)
                        at Object.<anonymous> (/home/user/test/pylontech/ioBroker.pylontech/build/moc/fetchCmdNet.js:24:23)
                        at Module._compile (internal/modules/cjs/loader.js:999:30)
                        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                        at Module.load (internal/modules/cjs/loader.js:863:32)
                        at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                        at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
                      code: 'MODULE_NOT_FOUND',
                      requireStack: [
                        '/home/user/test/pylontech/ioBroker.pylontech/build/moc/fetchCmdNet.js'
                      ]
                    }
                    
                    
                    1 Antwort Letzte Antwort
                    0
                    • T Offline
                      T Offline
                      tasuanetrukiat
                      schrieb am zuletzt editiert von
                      #224

                      Ok, mein Debian ist zu alt. Wird mal Zeit für ein Upgrade. Ich bekomme damit nur eine inkompatible Version mit apt installiert.
                      Ich konnte aber die Problematische Zeile const fs = require('fs/promises'); erfolgreich zu const fs = require('fs').promises; ändern und damit das script zum laufen bewegen. Achja ich musste noch ein npm install ausführen. Wusste ich auch nicht.

                      Das Skript erzeugt von sich aus keine zip-Datei. Daher rate ich noch mal:
                      Ich führe aus:

                      user@host:~/test/pylontech/ioBroker.pylontech/build/moc$ for i in bat bmuinfo\ 0 bmuinfo\ 2 bmuinfo\ 2 help info log pwr soh stat sysinfo time unit ; do node fetchCmdNet.js 192.168.2.44 8899 "${i}" >"${i}" 2>&1 ; zip -u -m fetchCmdNet-output.zip "${i}" ; done
                      

                      Da ich danach doch noch die txt-dateien gefunden habe packe ich die einfach mit in die Zip-Datei.

                      1 Antwort Letzte Antwort
                      0

                      Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                      Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                      Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                      Registrieren Anmelden
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      395

                      Online

                      32.8k

                      Benutzer

                      82.8k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe