Modul PylonTech

Begonnen von satprofi, 06 Januar 2021, 11:49:11

Vorheriges Thema - Nächstes Thema

DS_Starter

Hallo Wzut,

ZitatAber ein anderer User hat herausgefunden das die US5000 keine 5 Temperatur Werte liefert sondern 6 !!
was zeigt denn das Reading numberTempPos? 6 für die US5000?

LG
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

DS_Starter

@Wzut,

in meinem contrib liegt eine Version des Modul mit einer variablen Zählerverwerwendung der Temperatur.
Teste sie mal bitte in deiner Umgebung.

Grüße,
Heiko
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Wzut

Zitatwas zeigt denn das Reading numberTempPos? 6 für die US5000?
ja , allerdings auch für die US3000 als zweites Device.
Mit deiner contrib Version schaut das soweit gut aus, bei beiden ist jetzt pacAlarmInfo u.a. von fail auf ok gewechselt.
Was ist mit den vielen mlen Werten, müssen die nicht auch noch angepasst werden ?  [/quote]
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

DS_Starter

#108
Moin Wzut,

zeig mir mal bitte eine Listing der ganzen entstandenen Readings von beiden Devices.
Das sich die US5000 sowohl bei dem Typ als auch der Anzahl der Temp.Werte die US3000 überlagert ist sehr unschön.

ZitatWas ist mit den vielen mlen Werten, müssen die nicht auch noch angepasst werden ?
mlen = erwartete Minimum Length -> sollte passen

Bei meinen US3000C sieht es mit der contrib Version auch gut aus. Da passen auch die Temp.Anzahl:

   READINGS:
     2024-04-02 09:56:25   Manufacturer    Pylon
     2024-04-02 09:56:31   averageCellVolt 3.361
     2024-04-02 09:56:25   batteryType     US3000C
     2024-04-02 09:56:31   bmsTemperature  20.8
     2024-04-02 09:56:31   cellTemperature_0104 18.9
     2024-04-02 09:56:31   cellTemperature_0508 18.7
     2024-04-02 09:56:31   cellTemperature_0912 18.3
     2024-04-02 09:56:31   cellTemperature_1315 19.3
     2024-04-02 09:56:31   cellVoltage_01  3.361
     2024-04-02 09:56:31   cellVoltage_02  3.361
     2024-04-02 09:56:31   cellVoltage_03  3.361
     2024-04-02 09:56:31   cellVoltage_04  3.361
     2024-04-02 09:56:31   cellVoltage_05  3.361
     2024-04-02 09:56:31   cellVoltage_06  3.361
     2024-04-02 09:56:31   cellVoltage_07  3.361
     2024-04-02 09:56:31   cellVoltage_08  3.361
     2024-04-02 09:56:31   cellVoltage_09  3.361
     2024-04-02 09:56:31   cellVoltage_10  3.361
     2024-04-02 09:56:31   cellVoltage_11  3.362
     2024-04-02 09:56:31   cellVoltage_12  3.361
     2024-04-02 09:56:31   cellVoltage_13  3.361
     2024-04-02 09:56:31   cellVoltage_14  3.362
     2024-04-02 09:56:31   cellVoltage_15  3.362
     2024-04-02 09:56:31   chargeCurrentLimit 37.0
     2024-04-02 09:56:31   chargeEnable    yes
     2024-04-02 09:56:31   chargeFullRequest no
     2024-04-02 09:56:31   chargeImmediatelySOC05 no
     2024-04-02 09:56:31   chargeImmediatelySOC09 no
     2024-04-02 09:56:31   chargeVoltageLimit 53.250
     2024-04-02 09:56:31   dischargeCurrentLimit 37.0
     2024-04-02 09:56:31   dischargeEnable yes
     2024-04-02 09:56:31   dischargeVoltageLimit 45.000
     2024-04-02 09:56:25   moduleSoftwareVersion_mainline V0.6.9
     2024-04-02 09:56:25   moduleSoftwareVersion_manufacture V1.8
     2024-04-02 09:56:31   nextCycletime   09:56:37
     2024-04-02 09:56:31   numberTempPos   5
     2024-04-02 09:56:31   packAlarmInfo   ok
     2024-04-02 09:56:31   packCapacity    74.000
     2024-04-02 09:56:31   packCapacityRemain 60.497
     2024-04-02 09:56:31   packCellcount   15
     2024-04-02 09:56:31   packCurrent     2.800
     2024-04-02 09:56:31   packCycles      32
     2024-04-02 09:56:31   packImbalance   0.030
     2024-04-02 09:56:31   packPower       141.17
     2024-04-02 09:56:31   packSOC         81.75
     2024-04-02 09:56:31   packState       charging
     2024-04-02 09:56:31   packVolt        50.418
     2024-04-02 09:56:25   paramCellHighVoltLimit 3.650
     2024-04-02 09:56:25   paramCellLowVoltLimit 3.050
     2024-04-02 09:56:25   paramCellUnderVoltLimit 2.800
     2024-04-02 09:56:25   paramChargeCurrentLimit 90.000
     2024-04-02 09:56:25   paramChargeHighTempLimit 60.0
     2024-04-02 09:56:25   paramChargeLowTempLimit -10.0
     2024-04-02 09:56:25   paramDischargeCurrentLimit 89.900
     2024-04-02 09:56:25   paramDischargeHighTempLimit 60.0
     2024-04-02 09:56:25   paramDischargeLowTempLimit -10.0
     2024-04-02 09:56:25   paramModuleHighVoltLimit 54.000
     2024-04-02 09:56:25   paramModuleLowVoltLimit 46.000
     2024-04-02 09:56:25   paramModuleUnderVoltLimit 43.000
     2024-04-02 09:56:25   protocolVersion V2.0
     2024-04-02 09:56:25   serialNumber    K221206C31740079
     2024-04-02 09:56:31   state           connected
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Wzut

Internals:
   .FhemMetaInternals 1
   BATADDRESS 1
   DEF        192.168.0.6:9000 1
   FUUID      66083c76-f33f-cb2e-c53d-8fe92820d836e3f4
   FVERSION   70_PylonLowVoltage.pm:v1.1.1-s28724/2024-03-29
   HOST       192.168.0.6
   NAME       Bat1
   NR         114
   OPMODE     Manual
   PORT       9000
   STATE      connected
   TYPE       PylonLowVoltage
   eventCount 11
   .attraggr:
   .attrminint:
   HELPER:
     PACKAGE    FHEM::PylonLowVoltage
     VERSION    0.2.4
     VERSION_API unused
     VERSION_CTZ unused
     VERSION_ErrCodes unused
     VERSION_SMUtils 1.27.2
   READINGS:
     2024-04-02 09:56:35   Manufacturer    Pylon
     2024-04-02 09:56:35   averageCellVolt 3.235
     2024-04-02 09:56:35   batteryType     US5000
     2024-04-02 09:56:35   bmsTemperature  13.9
     2024-04-02 09:56:35   cellTemperature_0104 13
     2024-04-02 09:56:35   cellTemperature_0508 12.5
     2024-04-02 09:56:35   cellTemperature_0912 12.5
     2024-04-02 09:56:35   cellTemperature_1315 12.3
     2024-04-02 09:56:35   cellTemperature_add06 13.3
     2024-04-02 09:56:35   cellVoltage_01  3.234
     2024-04-02 09:56:35   cellVoltage_02  3.236
     2024-04-02 09:56:35   cellVoltage_03  3.233
     2024-04-02 09:56:35   cellVoltage_04  3.236
     2024-04-02 09:56:35   cellVoltage_05  3.235
     2024-04-02 09:56:35   cellVoltage_06  3.235
     2024-04-02 09:56:35   cellVoltage_07  3.235
     2024-04-02 09:56:35   cellVoltage_08  3.237
     2024-04-02 09:56:35   cellVoltage_09  3.234
     2024-04-02 09:56:35   cellVoltage_10  3.236
     2024-04-02 09:56:35   cellVoltage_11  3.235
     2024-04-02 09:56:35   cellVoltage_12  3.233
     2024-04-02 09:56:35   cellVoltage_13  3.236
     2024-04-02 09:56:35   cellVoltage_14  3.236
     2024-04-02 09:56:35   cellVoltage_15  3.235
     2024-04-02 09:56:35   chargeCurrentLimit 80.0
     2024-04-02 09:56:35   chargeEnable    yes
     2024-04-02 09:56:35   chargeFullRequest no
     2024-04-02 09:56:35   chargeImmediatelySOC05 no
     2024-04-02 09:56:35   chargeImmediatelySOC09 no
     2024-04-02 09:56:35   chargeVoltageLimit 53.250
     2024-04-02 09:56:35   dischargeCurrentLimit 80.0
     2024-04-02 09:56:35   dischargeEnable yes
     2024-04-02 09:56:35   dischargeVoltageLimit 45.000
     2024-04-02 09:56:35   moduleSoftwareVersion_mainline V0.6.9
     2024-04-02 09:56:35   moduleSoftwareVersion_manufacture V1.3
     2024-04-02 09:56:35   nextCycletime   Manual
     2024-04-02 09:56:35   numberTempPos   6
     2024-04-02 09:56:35   packAlarmInfo   failure
     2024-04-02 09:56:35   packCapacity    100.000
     2024-04-02 09:56:35   packCapacityRemain 11.652
     2024-04-02 09:56:35   packCellcount   15
     2024-04-02 09:56:35   packCurrent     4.400
     2024-04-02 09:56:35   packCycles      290
     2024-04-02 09:56:35   packImbalance   0.124
     2024-04-02 09:56:35   packPower       213.51
     2024-04-02 09:56:35   packSOC         11.65
     2024-04-02 09:56:35   packState       charging
     2024-04-02 09:56:35   packVolt        48.526
     2024-04-02 09:56:35   paramCellHighVoltLimit 3.650
     2024-04-02 09:56:35   paramCellLowVoltLimit 3.050
     2024-04-02 09:56:35   paramCellUnderVoltLimit 2.800
     2024-04-02 09:56:35   paramChargeCurrentLimit 100.000
     2024-04-02 09:56:35   paramChargeHighTempLimit 60.0
     2024-04-02 09:56:35   paramChargeLowTempLimit -10.0
     2024-04-02 09:56:35   paramDischargeCurrentLimit 99.900
     2024-04-02 09:56:35   paramDischargeHighTempLimit 60.0
     2024-04-02 09:56:35   paramDischargeLowTempLimit -10.0
     2024-04-02 09:56:35   paramModuleHighVoltLimit 54.000
     2024-04-02 09:56:35   paramModuleLowVoltLimit 46.000
     2024-04-02 09:56:35   paramModuleUnderVoltLimit 43.000
     2024-04-02 09:56:35   protocolVersion V2.0
     2024-04-02 09:56:35   serialNumber    Y220817C50440795
     2024-04-02 09:56:35   state           connected


Internals:
   .FhemMetaInternals 1
   BATADDRESS 2
   CFGFN     
   DEF        192.168.0.6:9000 2
   FUUID      660920e1-f33f-cb2e-d1ad-9b29df2f0484262f
   FVERSION   70_PylonLowVoltage.pm:v1.1.1-s28724/2024-03-29
   HOST       192.168.0.6
   NAME       Bat2
   NR         115
   OPMODE     Manual
   PORT       9000
   STATE      connected
   TYPE       PylonLowVoltage
   eventCount 5
   .attraggr:
   .attrminint:
   HELPER:
     PACKAGE    FHEM::PylonLowVoltage
     VERSION    0.2.4
     VERSION_API unused
     VERSION_CTZ unused
     VERSION_ErrCodes unused
     VERSION_SMUtils 1.27.2
   READINGS:
     2024-04-02 09:17:52   Manufacturer    Pylon
     2024-04-02 09:17:52   averageCellVolt 3.198
     2024-04-02 09:17:52   batteryType     US5000
     2024-04-02 09:17:52   bmsTemperature  14.2
     2024-04-02 09:17:52   cellTemperature_0104 12.5
     2024-04-02 09:17:52   cellTemperature_0508 12.5
     2024-04-02 09:17:52   cellTemperature_0912 12.3
     2024-04-02 09:17:52   cellTemperature_1315 12.4
     2024-04-02 09:17:52   cellTemperature_add06 13.4
     2024-04-02 09:17:52   cellVoltage_01  3.197
     2024-04-02 09:17:52   cellVoltage_02  3.203
     2024-04-02 09:17:52   cellVoltage_03  3.200
     2024-04-02 09:17:52   cellVoltage_04  3.199
     2024-04-02 09:17:52   cellVoltage_05  3.202
     2024-04-02 09:17:52   cellVoltage_06  3.196
     2024-04-02 09:17:52   cellVoltage_07  3.196
     2024-04-02 09:17:52   cellVoltage_08  3.193
     2024-04-02 09:17:52   cellVoltage_09  3.195
     2024-04-02 09:17:52   cellVoltage_10  3.199
     2024-04-02 09:17:52   cellVoltage_11  3.199
     2024-04-02 09:17:52   cellVoltage_12  3.200
     2024-04-02 09:17:52   cellVoltage_13  3.197
     2024-04-02 09:17:52   cellVoltage_14  3.193
     2024-04-02 09:17:52   cellVoltage_15  3.198
     2024-04-02 09:17:52   chargeCurrentLimit 37.0
     2024-04-02 09:17:52   chargeEnable    yes
     2024-04-02 09:17:52   chargeFullRequest no
     2024-04-02 09:17:52   chargeImmediatelySOC05 no
     2024-04-02 09:17:52   chargeImmediatelySOC09 no
     2024-04-02 09:17:52   chargeVoltageLimit 53.250
     2024-04-02 09:17:52   dischargeCurrentLimit 37.0
     2024-04-02 09:17:52   dischargeEnable yes
     2024-04-02 09:17:52   dischargeVoltageLimit 45.000
     2024-04-02 09:17:52   moduleSoftwareVersion_mainline V0.6.9
     2024-04-02 09:17:52   moduleSoftwareVersion_manufacture V1.4
     2024-04-02 09:17:52   nextCycletime   Manual
     2024-04-02 09:17:52   numberTempPos   6
     2024-04-02 09:17:52   packAlarmInfo   ok
     2024-04-02 09:17:52   packCapacity    74.000
     2024-04-02 09:17:52   packCapacityRemain 7.920
     2024-04-02 09:17:52   packCellcount   15
     2024-04-02 09:17:52   packCurrent     0.000
     2024-04-02 09:17:52   packCycles      270
     2024-04-02 09:17:52   packImbalance   0.313
     2024-04-02 09:17:52   packPower       0.00
     2024-04-02 09:17:52   packSOC         10.70
     2024-04-02 09:17:52   packState       idle
     2024-04-02 09:17:52   packVolt        47.967
     2024-04-02 09:17:52   paramCellHighVoltLimit 3.650
     2024-04-02 09:17:52   paramCellLowVoltLimit 3.050
     2024-04-02 09:17:52   paramCellUnderVoltLimit 2.800
     2024-04-02 09:17:52   paramChargeCurrentLimit 100.000
     2024-04-02 09:17:52   paramChargeHighTempLimit 60.0
     2024-04-02 09:17:52   paramChargeLowTempLimit -10.0
     2024-04-02 09:17:52   paramDischargeCurrentLimit 99.900
     2024-04-02 09:17:52   paramDischargeHighTempLimit 60.0
     2024-04-02 09:17:52   paramDischargeLowTempLimit -10.0
     2024-04-02 09:17:52   paramModuleHighVoltLimit 54.000
     2024-04-02 09:17:52   paramModuleLowVoltLimit 46.000
     2024-04-02 09:17:52   paramModuleUnderVoltLimit 43.000
     2024-04-02 09:17:52   protocolVersion V2.0
     2024-04-02 09:17:52   serialNumber    H220820C30520541
     2024-04-02 09:17:52   state           connected
ich sehe gerade beim Dev1 ist packAlarmInfo wieder auf failure und beim Dev2 noch auf ok inzwischen aber auch auf failure. Der Cerbo zeigt z.Z aber keinen Alarm.
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

DS_Starter

Wegen der Alarminfo müssen wir nochmal auf eine verbose 5 schauen.
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Wzut

Bitte sehr :
2024.04.02 10:21:44 4: Bat1 - start request cycle to battery number >1< at host:port 192.168.0.6:9000
2024.04.02 10:21:44 4: Bat1 - Cycle started in main process
2024.04.02 10:21:44 4: Bat1 - retrieve battery info: serialNumber
2024.04.02 10:21:44 4: Bat1 - request command (ASCII): ~20024693E00202FD2D
2024.04.02 10:21:44 5: Bat1 - request command (HEX): 7e3230303234363933453030323032464432440d
2024.04.02 10:21:44 5: Bat1 - data returned raw: ~20024600C0220259323230383137433530343430373935F6C4
2024.04.02 10:21:44 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30433032 32303235  ~20024600C022025
0x00000010 (00016)  39333233 32333033 38333133 37343333  9323230383137433
0x00000020 (00032)  35333033 34333433 30333733 39333546  530343430373935F
0x00000030 (00048)  3643340d                             6C4.

2024.04.02 10:21:44 4: Bat1 - retrieve battery info: manufacturerInfo
2024.04.02 10:21:44 4: Bat1 - request command (ASCII): ~200246510000FDAC
2024.04.02 10:21:44 5: Bat1 - request command (HEX): 7e323030323436353130303030464441430d
2024.04.02 10:21:44 5: Bat1 - data returned raw: ~20024600C04055533530303000000000010350796C6F6E2D2D2D2D2D2D2D2D2D2D2D2D2D2D2DEFC5
2024.04.02 10:21:44 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30433034 30353535  ~20024600C040555
0x00000010 (00016)  33333533 30333033 30303030 30303030  3353030300000000
0x00000020 (00032)  30303130 33353037 39364336 46364532  0010350796C6F6E2
0x00000030 (00048)  44324432 44324432 44324432 44324432  D2D2D2D2D2D2D2D2
0x00000040 (00064)  44324432 44324432 44324432 44454643  D2D2D2D2D2D2DEFC
0x00000050 (00080)  350d                                 5.

2024.04.02 10:21:44 4: Bat1 - retrieve battery info: protocolVersion
2024.04.02 10:21:44 4: Bat1 - request command (ASCII): ~0002464F0000FD9A
2024.04.02 10:21:44 5: Bat1 - request command (HEX): 7e303030323436344630303030464439410d
2024.04.02 10:21:44 5: Bat1 - data returned raw: ~200246000000FDB2
2024.04.02 10:21:44 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30303030 30464442  ~200246000000FDB
0x00000010 (00016)  320d                                 2.

2024.04.02 10:21:44 4: Bat1 - retrieve battery info: softwareVersion
2024.04.02 10:21:44 4: Bat1 - request command (ASCII): ~20024696E00202FD2A
2024.04.02 10:21:44 5: Bat1 - request command (HEX): 7e3230303234363936453030323032464432410d
2024.04.02 10:21:44 5: Bat1 - data returned raw: ~20024600400C020103000609FB46
2024.04.02 10:21:44 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30343030 43303230  ~20024600400C020
0x00000010 (00016)  31303330 30303630 39464234 360d      103000609FB46.

2024.04.02 10:21:44 4: Bat1 - retrieve battery info: systemParameters
2024.04.02 10:21:44 4: Bat1 - request command (ASCII): ~20024647E00202FD2E
2024.04.02 10:21:44 5: Bat1 - request command (HEX): 7e3230303234363437453030323032464432450d
2024.04.02 10:21:45 5: Bat1 - data returned raw: ~20024600B032110E420BEA0AF00D030A4703E8D2F0B3B0A7F80D030A47FC18F27E
2024.04.02 10:21:45 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30423033 32313130  ~20024600B032110
0x00000010 (00016)  45343230 42454130 41463030 44303330  E420BEA0AF00D030
0x00000020 (00032)  41343730 33453844 32463042 33423041  A4703E8D2F0B3B0A
0x00000030 (00048)  37463830 44303330 41343746 43313846  7F80D030A47FC18F
0x00000040 (00064)  3237450d                             27E.

2024.04.02 10:21:45 4: Bat1 - retrieve battery info: alarmInfo
2024.04.02 10:21:45 4: Bat1 - request command (ASCII): ~20024644E00202FD31
2024.04.02 10:21:45 5: Bat1 - request command (HEX): 7e3230303234363434453030323032464433310d
2024.04.02 10:21:45 5: Bat1 - data returned raw: ~20024600804401020F00000000000000000000000000000006000000000000000000000E40000000F0AA
2024.04.02 10:21:45 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30383034 34303130  ~200246008044010
0x00000010 (00016)  32304630 30303030 30303030 30303030  20F0000000000000
0x00000020 (00032)  30303030 30303030 30303030 30303030  0000000000000000
0x00000030 (00048)  30303630 30303030 30303030 30303030  0060000000000000
0x00000040 (00064)  30303030 30303030 45343030 30303030  00000000E4000000
0x00000050 (00080)  30463041 410d                        0F0AA.

2024.04.02 10:21:45 4: Bat1 - retrieve battery info: chargeManagmentInfo
2024.04.02 10:21:45 4: Bat1 - request command (ASCII): ~20024692E00202FD2E
2024.04.02 10:21:45 5: Bat1 - request command (HEX): 7e3230303234363932453030323032464432450d
2024.04.02 10:21:45 5: Bat1 - data returned raw: ~20024600B01402D002AFC80320FCE0C0F92B
2024.04.02 10:21:45 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30423031 34303244  ~20024600B01402D
0x00000010 (00016)  30303241 46433830 33323046 43453043  002AFC80320FCE0C
0x00000020 (00032)  30463932 420d                        0F92B.

2024.04.02 10:21:45 4: Bat1 - retrieve battery info: analogValue
2024.04.02 10:21:45 4: Bat1 - request command (ASCII): ~20024642E00202FD33
2024.04.02 10:21:45 5: Bat1 - request command (HEX): 7e3230303234363432453030323032464433330d
2024.04.02 10:21:45 5: Bat1 - data returned raw: ~20024600B07E00020F0C960C960C950C960C960C960C960C960C960C960C960C950C970C970C96060B370B2F0B2A0B2A0B280B34FFFABCCAFFFF04FFFF012200314F0186A0E170
2024.04.02 10:21:45 5: Bat1 - data returned:
0x00000000 (00000)  7e323030 32343630 30423037 45303030  ~20024600B07E000
0x00000010 (00016)  32304630 43393630 43393630 43393530  20F0C960C960C950
0x00000020 (00032)  43393630 43393630 43393630 43393630  C960C960C960C960
0x00000030 (00048)  43393630 43393630 43393630 43393630  C960C960C960C960
0x00000040 (00064)  43393530 43393730 43393730 43393630  C950C970C970C960
0x00000050 (00080)  36304233 37304232 46304232 41304232  60B370B2F0B2A0B2
0x00000060 (00096)  41304232 38304233 34464646 41424343  A0B280B34FFFABCC
0x00000070 (00112)  41464646 46303446 46464630 31323230  AFFFF04FFFF01220
0x00000080 (00128)  30333134 46303138 36413045 3137300d  0314F0186A0E170.

2024.04.02 10:21:45 4: Bat1 - Socket/Connection to the RS485 gateway was closed
2024.04.02 10:21:45 4: Bat1 - got data from battery number >1< successfully
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

Wzut

Kann es sein as bei alarmInfo auch 6 Temp Werte stecken ?
ZitatM+2 *温度点数量/number of temperature: N
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

DS_Starter

Ja, das ist zu vermuten. Ich überlege nur welche Temp. bei der US5000 die Temp 6 sein soll. Sie hat ja auch nur 15 Zellen. Alternativ würde ich kein Reading für die zusätzliche Temperatur erstellen, sie nur zählen damit dem Protokoll Folge geleistet ist.
Mal sehen ...
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Wzut

Keine Ahnung was die mit Temp Sensor Nr 6 messen - zumal der 6. gelieferte Wert der US3000 besser zur 5000 passt, aber hier wird wohl wie beim batteryType nicht sauber getrennt sondern sich nach dem Master gerichtet.
Bei der Anzahl der Temp Sensoren scheint nicht nur 5 und 6 möglich zu -> die US2000 hat angeblich nur 4 !
Erst mit der US2000C kam Nr 5 (bzw. wohl auch bei den 3000er Varianten).
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

DS_Starter

#115
Hallo Wzut,

in meinem contrib liegt ein Update des Moduls.
Ich habe die Alarminfos komplett überarbeitet und ebenfalls mit einem dynamischen Zellen- und Temperatur Positionszähler ausgestattet. Es gibt jetzt auch viele spezifische Alarmreadings:

   READINGS:
     2024-04-02 17:40:19   AlmCellVoltage_01 00
     2024-04-02 17:40:19   AlmCellVoltage_02 00
     2024-04-02 17:40:19   AlmCellVoltage_03 00
     2024-04-02 17:40:19   AlmCellVoltage_04 00
     2024-04-02 17:40:19   AlmCellVoltage_05 00
     2024-04-02 17:40:19   AlmCellVoltage_06 00
     2024-04-02 17:40:19   AlmCellVoltage_07 00
     2024-04-02 17:40:19   AlmCellVoltage_08 00
     2024-04-02 17:40:19   AlmCellVoltage_09 00
     2024-04-02 17:40:19   AlmCellVoltage_10 00
     2024-04-02 17:40:19   AlmCellVoltage_11 00
     2024-04-02 17:40:19   AlmCellVoltage_12 00
     2024-04-02 17:40:19   AlmCellVoltage_13 00
     2024-04-02 17:40:19   AlmCellVoltage_14 00
     2024-04-02 17:40:19   AlmCellVoltage_15 00
     2024-04-02 17:40:19   AlmChargeCurrent 00
     2024-04-02 17:40:19   AlmDischargeCurrent 00
     2024-04-02 17:40:19   AlmModuleVoltage 00
     2024-04-02 17:40:19   AlmTemperature_01 00
     2024-04-02 17:40:19   AlmTemperature_02 00
     2024-04-02 17:40:19   AlmTemperature_03 00
     2024-04-02 17:40:19   AlmTemperature_04 00
     2024-04-02 17:40:19   AlmTemperature_05 00
     2024-04-02 17:39:56   Manufacturer    Pylon
     2024-04-02 17:40:19   averageCellVolt 3.495
     2024-04-02 17:39:56   batteryType     US3000C
     2024-04-02 17:40:19   bmsTemperature  20.8
     2024-04-02 17:40:19   cellTemperature_0104 18.7
     2024-04-02 17:40:19   cellTemperature_0508 18.6
     2024-04-02 17:40:19   cellTemperature_0912 18.2
     2024-04-02 17:40:19   cellTemperature_1315 19.2
     2024-04-02 17:40:19   cellVoltage_01  3.498
     2024-04-02 17:40:19   cellVoltage_02  3.493
     2024-04-02 17:40:19   cellVoltage_03  3.490
     2024-04-02 17:40:19   cellVoltage_04  3.502
     2024-04-02 17:40:19   cellVoltage_05  3.495
     2024-04-02 17:40:19   cellVoltage_06  3.499
     2024-04-02 17:40:19   cellVoltage_07  3.497
     2024-04-02 17:40:19   cellVoltage_08  3.494
     2024-04-02 17:40:19   cellVoltage_09  3.497
     2024-04-02 17:40:19   cellVoltage_10  3.497
     2024-04-02 17:40:19   cellVoltage_11  3.498
     2024-04-02 17:40:19   cellVoltage_12  3.499
     2024-04-02 17:40:19   cellVoltage_13  3.490
     2024-04-02 17:40:19   cellVoltage_14  3.497
     2024-04-02 17:40:19   cellVoltage_15  3.476
     2024-04-02 17:40:19   chargeCurrentLimit 0.0
     2024-04-02 17:40:19   chargeEnable    no
     2024-04-02 17:40:19   chargeFullRequest no
     2024-04-02 17:40:19   chargeImmediatelySOC05 no
     2024-04-02 17:40:19   chargeImmediatelySOC09 no
     2024-04-02 17:40:19   chargeVoltageLimit 53.250
     2024-04-02 17:40:19   dischargeCurrentLimit 37.0
     2024-04-02 17:40:19   dischargeEnable yes
     2024-04-02 17:40:19   dischargeVoltageLimit 45.000
     2024-04-02 17:39:56   moduleSoftwareVersion_mainline V0.6.9
     2024-04-02 17:39:56   moduleSoftwareVersion_manufacture V1.8
     2024-04-02 17:40:19   nextCycletime   17:40:25
     2024-04-02 17:40:19   numberTempPos   5
     2024-04-02 17:40:19   packAlarmInfo   ok
     2024-04-02 17:40:19   packCapacity    74.000
     2024-04-02 17:40:19   packCapacityRemain 73.778
     2024-04-02 17:40:19   packCellcount   15
     2024-04-02 17:40:19   packCurrent     0.200
     2024-04-02 17:40:19   packCycles      32
     2024-04-02 17:40:19   packImbalance   0.744
     2024-04-02 17:40:19   packPower       10.48
     2024-04-02 17:40:19   packSOC         99.70
     2024-04-02 17:40:19   packState       charging
     2024-04-02 17:40:19   packVolt        52.422
     2024-04-02 17:39:56   paramCellHighVoltLimit 3.650
     2024-04-02 17:39:56   paramCellLowVoltLimit 3.050
     2024-04-02 17:39:56   paramCellUnderVoltLimit 2.800
     2024-04-02 17:39:56   paramChargeCurrentLimit 90.000
     2024-04-02 17:39:56   paramChargeHighTempLimit 60.0
     2024-04-02 17:39:56   paramChargeLowTempLimit -10.0
     2024-04-02 17:39:56   paramDischargeCurrentLimit 89.900
     2024-04-02 17:39:56   paramDischargeHighTempLimit 60.0
     2024-04-02 17:39:56   paramDischargeLowTempLimit -10.0
     2024-04-02 17:39:56   paramModuleHighVoltLimit 54.000
     2024-04-02 17:39:56   paramModuleLowVoltLimit 46.000
     2024-04-02 17:39:56   paramModuleUnderVoltLimit 43.000
     2024-04-02 17:39:56   protocolVersion V2.0
     2024-04-02 17:39:56   serialNumber    K221206C31740079
     2024-04-02 17:40:19   state           connected

Schau mal wie es bei dir damit aussieht.
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Wzut

Sieht für die US5000 soweit gut aus, THX
finde auch schön das du nun in alarm info nicht nur die Nullen zählst :)
 
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

DS_Starter

#117
Moin Wzut,

prima. Dann werde ich die V auch mal einchecken. Wenn ich daran denke schon heute Abend.
Dann kann ich dioe US5000 ja auch in die Referenzliste aufnehmen.  :)

Edit: Kannst du mir nochmal ein List anhängen? Dann sehe ich auch mal wie die Readings jetzt bei der US5000 aussehen.

Grüße,
Heiko
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Wzut

Zitat von: DS_Starter am 03 April 2024, 09:37:39Edit: Kannst du mir nochmal ein List anhängen? Dann sehe ich auch mal wie die Readings jetzt bei der US5000 aussehen.
Nichts leichter als das, ich blicke noch nicht so ganz jede Bedeutung.
   READINGS:
     2024-04-02 10:17:45   Manufacturer    Pylon
     2024-04-03 09:03:19   almCellVoltage_01 00
     2024-04-03 09:03:19   almCellVoltage_02 00
     2024-04-03 09:03:19   almCellVoltage_03 00
     2024-04-03 09:03:19   almCellVoltage_04 00
     2024-04-03 09:03:19   almCellVoltage_05 00
     2024-04-03 09:03:19   almCellVoltage_06 00
     2024-04-03 09:03:19   almCellVoltage_07 00
     2024-04-03 09:03:19   almCellVoltage_08 00
     2024-04-03 09:03:19   almCellVoltage_09 00
     2024-04-03 09:03:19   almCellVoltage_10 00
     2024-04-03 09:03:19   almCellVoltage_11 00
     2024-04-03 09:03:19   almCellVoltage_12 00
     2024-04-03 09:03:19   almCellVoltage_13 00
     2024-04-03 09:03:19   almCellVoltage_14 00
     2024-04-03 09:03:19   almCellVoltage_15 00
     2024-04-03 09:03:19   almChargeCurrent 00
     2024-04-03 09:03:19   almDischargeCurrent 00
     2024-04-03 09:03:19   almModuleVoltage 00
     2024-04-03 09:03:19   almTemperature_01 00
     2024-04-03 09:03:19   almTemperature_02 00
     2024-04-03 09:03:19   almTemperature_03 00
     2024-04-03 09:03:19   almTemperature_04 00
     2024-04-03 09:03:19   almTemperature_05 00
     2024-04-03 09:03:19   almTemperature_06 00
     2024-04-03 09:43:49   averageCellVolt 3.218
     2024-04-02 10:17:45   batteryType     US5000
     2024-04-03 09:29:19   bmsTemperature  15.1
     2024-04-03 09:38:19   cellTemperature_0104 14.7
     2024-04-03 09:37:19   cellTemperature_0508 14.3
     2024-04-03 09:41:19   cellTemperature_0912 14.2
     2024-04-03 09:42:19   cellTemperature_1315 13.8
     2024-04-03 09:34:19   cellTemperature_TempPos_06 14.5
     2024-04-03 08:39:49   cellTemperature_add06 14.7
     2024-04-01 19:13:37   cellTemperature_new 15.3
     2024-04-03 09:43:49   cellVoltage_01  3.217
     2024-04-03 09:43:19   cellVoltage_02  3.217
     2024-04-03 09:43:19   cellVoltage_03  3.214
     2024-04-03 09:43:19   cellVoltage_04  3.219
     2024-04-03 09:43:49   cellVoltage_05  3.221
     2024-04-03 09:43:19   cellVoltage_06  3.218
     2024-04-03 09:43:49   cellVoltage_07  3.217
     2024-04-03 09:43:19   cellVoltage_08  3.225
     2024-04-03 09:43:19   cellVoltage_09  3.213
     2024-04-03 09:43:49   cellVoltage_10  3.220
     2024-04-03 09:43:49   cellVoltage_11  3.223
     2024-04-03 09:43:49   cellVoltage_12  3.207
     2024-04-03 09:43:49   cellVoltage_13  3.223
     2024-04-03 09:43:49   cellVoltage_14  3.220
     2024-04-03 09:43:49   cellVoltage_15  3.220
     2024-04-02 17:28:16   chargeCurrentLimit 80.0
     2024-04-02 10:18:44   chargeEnable    yes
     2024-04-02 10:18:44   chargeFullRequest no
     2024-04-02 10:18:44   chargeImmediatelySOC05 no
     2024-04-02 10:18:44   chargeImmediatelySOC09 no
     2024-04-02 10:18:44   chargeVoltageLimit 53.250
     2024-04-02 10:18:44   dischargeCurrentLimit 80.0
     2024-04-02 10:18:44   dischargeEnable yes
     2024-04-02 10:18:44   dischargeVoltageLimit 45.000
     2024-04-02 10:17:45   moduleSoftwareVersion_mainline V0.6.9
     2024-04-02 10:17:45   moduleSoftwareVersion_manufacture V1.3
     2024-04-03 09:43:49   nextCycletime   09:44:19
     2024-04-02 10:18:44   numberTempPos   6
     2024-04-03 09:03:19   packAlarmInfo   ok
     2024-04-02 10:18:44   packCapacity    100.000
     2024-04-03 09:20:49   packCapacityRemain 9.710
     2024-04-02 10:18:44   packCellcount   15
     2024-04-03 09:43:49   packCurrent     2.900
     2024-04-02 19:51:17   packCycles      291
     2024-04-03 09:43:49   packImbalance   0.559
     2024-04-03 09:43:49   packPower       139.99
     2024-04-03 09:20:49   packSOC         9.71
     2024-04-03 09:10:19   packState       charging
     2024-04-03 09:43:49   packVolt        48.274
     2024-04-02 10:17:45   paramCellHighVoltLimit 3.650
     2024-04-02 10:17:45   paramCellLowVoltLimit 3.050
     2024-04-02 10:17:45   paramCellUnderVoltLimit 2.800
     2024-04-02 10:17:45   paramChargeCurrentLimit 100.000
     2024-04-02 10:17:45   paramChargeHighTempLimit 60.0
     2024-04-02 10:17:45   paramChargeLowTempLimit -10.0
     2024-04-02 10:17:45   paramDischargeCurrentLimit 99.900
     2024-04-02 10:17:45   paramDischargeHighTempLimit 60.0
     2024-04-02 10:17:45   paramDischargeLowTempLimit -10.0
     2024-04-02 10:17:45   paramModuleHighVoltLimit 54.000
     2024-04-02 10:17:45   paramModuleLowVoltLimit 46.000
     2024-04-02 10:17:45   paramModuleUnderVoltLimit 43.000
     2024-04-02 10:17:45   protocolVersion V2.0
     2024-04-02 10:17:45   serialNumber    Y220817C50440795
     2024-04-02 10:18:44   state           connected

   READINGS:
     2024-04-02 10:19:25   Manufacturer    Pylon
     2024-04-03 09:03:30   almCellVoltage_01 00
     2024-04-03 09:03:30   almCellVoltage_02 00
     2024-04-03 09:03:30   almCellVoltage_03 00
     2024-04-03 09:03:30   almCellVoltage_04 00
     2024-04-03 09:03:30   almCellVoltage_05 00
     2024-04-03 09:03:30   almCellVoltage_06 00
     2024-04-03 09:03:30   almCellVoltage_07 00
     2024-04-03 09:03:30   almCellVoltage_08 00
     2024-04-03 09:03:30   almCellVoltage_09 00
     2024-04-03 09:03:30   almCellVoltage_10 00
     2024-04-03 09:03:30   almCellVoltage_11 00
     2024-04-03 09:03:30   almCellVoltage_12 00
     2024-04-03 09:03:30   almCellVoltage_13 00
     2024-04-03 09:03:30   almCellVoltage_14 00
     2024-04-03 09:03:30   almCellVoltage_15 00
     2024-04-03 09:03:30   almChargeCurrent 00
     2024-04-03 09:03:30   almDischargeCurrent 00
     2024-04-03 09:03:30   almModuleVoltage 00
     2024-04-03 09:03:30   almTemperature_01 00
     2024-04-03 09:03:30   almTemperature_02 00
     2024-04-03 09:03:30   almTemperature_03 00
     2024-04-03 09:03:30   almTemperature_04 00
     2024-04-03 09:03:30   almTemperature_05 00
     2024-04-03 09:03:30   almTemperature_06 00
     2024-04-03 09:46:00   averageCellVolt 3.218
     2024-04-02 10:19:25   batteryType     US5000
     2024-04-03 09:23:30   bmsTemperature  15.4
     2024-04-03 09:44:00   cellTemperature_0104 14
     2024-04-03 09:44:00   cellTemperature_0508 14
     2024-04-03 09:41:00   cellTemperature_0912 13.9
     2024-04-03 09:36:00   cellTemperature_1315 14
     2024-04-03 09:39:00   cellTemperature_TempPos_06 14.6
     2024-04-03 09:02:00   cellTemperature_add06 14.7
     2024-04-03 09:47:00   cellVoltage_01  3.217
     2024-04-03 09:46:30   cellVoltage_02  3.221
     2024-04-03 09:46:00   cellVoltage_03  3.220
     2024-04-03 09:46:30   cellVoltage_04  3.219
     2024-04-03 09:46:00   cellVoltage_05  3.221
     2024-04-03 09:46:30   cellVoltage_06  3.216
     2024-04-03 09:46:30   cellVoltage_07  3.216
     2024-04-03 09:47:00   cellVoltage_08  3.214
     2024-04-03 09:47:00   cellVoltage_09  3.215
     2024-04-03 09:46:30   cellVoltage_10  3.219
     2024-04-03 09:46:30   cellVoltage_11  3.219
     2024-04-03 09:47:00   cellVoltage_12  3.220
     2024-04-03 09:46:30   cellVoltage_13  3.217
     2024-04-03 09:47:00   cellVoltage_14  3.214
     2024-04-03 09:46:30   cellVoltage_15  3.218
     2024-04-02 17:21:57   chargeCurrentLimit 37.0
     2024-04-02 10:19:55   chargeEnable    yes
     2024-04-02 10:19:55   chargeFullRequest no
     2024-04-02 10:19:55   chargeImmediatelySOC05 no
     2024-04-02 10:19:55   chargeImmediatelySOC09 no
     2024-04-02 10:19:55   chargeVoltageLimit 53.250
     2024-04-02 10:19:55   dischargeCurrentLimit 37.0
     2024-04-02 10:19:55   dischargeEnable yes
     2024-04-02 10:19:55   dischargeVoltageLimit 45.000
     2024-04-02 10:19:25   moduleSoftwareVersion_mainline V0.6.9
     2024-04-02 10:19:25   moduleSoftwareVersion_manufacture V1.4
     2024-04-03 09:47:00   nextCycletime   09:47:30
     2024-04-02 10:19:55   numberTempPos   6
     2024-04-03 09:00:00   packAlarmInfo   ok
     2024-04-02 10:19:55   packCapacity    74.000
     2024-04-03 09:31:00   packCapacityRemain 8.640
     2024-04-02 10:19:55   packCellcount   15
     2024-04-03 09:47:00   packCurrent     1.000
     2024-04-02 20:50:57   packCycles      271
     2024-04-03 09:47:00   packImbalance   0.218
     2024-04-03 09:47:00   packPower       48.27
     2024-04-03 09:31:00   packSOC         11.68
     2024-04-03 09:16:00   packState       charging
     2024-04-03 09:47:00   packVolt        48.266
     2024-04-02 10:19:25   paramCellHighVoltLimit 3.650
     2024-04-02 10:19:25   paramCellLowVoltLimit 3.050
     2024-04-02 10:19:25   paramCellUnderVoltLimit 2.800
     2024-04-02 10:19:25   paramChargeCurrentLimit 100.000
     2024-04-02 10:19:25   paramChargeHighTempLimit 60.0
     2024-04-02 10:19:25   paramChargeLowTempLimit -10.0
     2024-04-02 10:19:25   paramDischargeCurrentLimit 99.900
     2024-04-02 10:19:25   paramDischargeHighTempLimit 60.0
     2024-04-02 10:19:25   paramDischargeLowTempLimit -10.0
     2024-04-02 10:19:25   paramModuleHighVoltLimit 54.000
     2024-04-02 10:19:25   paramModuleLowVoltLimit 46.000
     2024-04-02 10:19:25   paramModuleUnderVoltLimit 43.000
     2024-04-02 10:19:25   protocolVersion V2.0
     2024-04-02 10:19:25   serialNumber    H220820C30520541
     2024-04-02 10:19:55   state           connected


aber noch etwas pure Neugier : alarm info , Seite 17 der RS485 Effekta Doku :
ZitatNo Content Note
1 电芯节数/number of cell: M 1
2 Cell 1 voltage 1

Wie kommt von von da auf den Offset von 17 der im Modul benutzt wird ?
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

DS_Starter

#119
Die Readings     
     cellTemperature_add06
     cellTemperature_new

Kannst du löschen. Für diese unbestimmten "Zusatztemperaturen" erstelle ich cellTemperature_TempPos_X.

Die Response besteht zunächst aus 7 Byte Headerinfos -> 14 Positionen.
Dann folgt INFO = DATAFLAG + WARNSTATE (Data Format INFO) -> 2Byte -> 4 Positionen.

D.h. in Summe 18 Positionen. Da wir bei 0 anfangen, beginnt der Datencontent bei 17.
Nur oberflächlich und verkürzt dargestellt. Die Datenformate sind nicht fix und im Dokument ganz vorn beschrieben.

Du hast "RS485 Effekta Doku" geschrieben. Ich habe das Dok glaube ich woanders her. Kannst einen Link posten? Ich möchte vergleichen ob ich das gleiche Dok habe/benutze.
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter