From b82af3ea66efbb754dbdbe7250153328805cf117 Mon Sep 17 00:00:00 2001 From: ChrisHanuta Date: Tue, 20 Feb 2024 10:46:00 +0100 Subject: [PATCH] update pytes-v5 README push to 2024 --- README.md | 2 +- data/pytes-v5/bat 1.txt | 34 +++---- data/pytes-v5/info 1.txt | 12 +-- data/pytes-v5/log.txt | 187 +++++++++++++++++++++++++++++++++++++++ data/pytes-v5/pwr 1.txt | 100 +++++++++------------ data/pytes-v5/soh 1.txt | 34 +++---- data/pytes-v5/stat 1.txt | 55 ++---------- 7 files changed, 277 insertions(+), 147 deletions(-) create mode 100644 data/pytes-v5/log.txt diff --git a/README.md b/README.md index 76c90ec..2754ed3 100644 --- a/README.md +++ b/README.md @@ -566,7 +566,7 @@ If true without ack is written to set, the current time is sent to the Pylontech MIT License -Copyright (c) 2023 PLCHome +Copyright (c) 2024 PLCHome Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/data/pytes-v5/bat 1.txt b/data/pytes-v5/bat 1.txt index b856eae..dbf6eff 100644 --- a/data/pytes-v5/bat 1.txt +++ b/data/pytes-v5/bat 1.txt @@ -1,24 +1,24 @@ PYTES> - PYTES>bat + PYTES>bat 1 @ Battery Volt Tempr Base State Volt. State Curr. State Temp. State Coulomb -0 3318 24000 Dischg Normal Normal Normal 80% 80446 mAH -1 3322 24000 Dischg Normal Normal Normal 80% 80446 mAH -2 3319 24000 Dischg Normal Normal Normal 80% 80446 mAH -3 3322 24000 Dischg Normal Normal Normal 80% 80446 mAH -4 3321 24000 Dischg Normal Normal Normal 80% 80446 mAH -5 3322 25000 Dischg Normal Normal Normal 80% 80446 mAH -6 3319 25000 Dischg Normal Normal Normal 81% 81265 mAH -7 3323 25000 Dischg Normal Normal Normal 80% 80446 mAH -8 3319 25000 Dischg Normal Normal Normal 81% 81932 mAH -9 3322 25000 Dischg Normal Normal Normal 80% 80446 mAH -10 3319 24000 Dischg Normal Normal Normal 80% 80446 mAH -11 3322 24000 Dischg Normal Normal Normal 80% 80446 mAH -12 3320 24000 Dischg Normal Normal Normal 80% 80446 mAH -13 3323 24000 Dischg Normal Normal Normal 80% 80446 mAH -14 3319 24000 Dischg Normal Normal Normal 80% 80446 mAH -15 3319 24000 Dischg Normal Normal Normal 80% 80446 mAH +0 3327 18000 Idle Normal Normal Normal 73% 73866 mAH +1 3327 18000 Idle Normal Normal Normal 73% 73866 mAH +2 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +3 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +4 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +5 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +6 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +7 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +8 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +9 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +10 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +11 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +12 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +13 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +14 3328 18000 Idle Normal Normal Normal 73% 73866 mAH +15 3325 18000 Idle Normal Normal Normal 73% 73866 mAH Command completed successfully $$ PYTES> \ No newline at end of file diff --git a/data/pytes-v5/info 1.txt b/data/pytes-v5/info 1.txt index 4e1a7a0..951e65a 100644 --- a/data/pytes-v5/info 1.txt +++ b/data/pytes-v5/info 1.txt @@ -1,19 +1,19 @@ PYTES> - PYTES>info + PYTES>info 1 @ Device address : 1 Manufacturer : PYTES Device name : E-BOX-48100V-D - Board version : SQBMSV110 - Main Soft version : SxxxxxxxxxxxxxV1.10.7.1C - Iterate version : SxxxxxxxxxxxxxV1.10.7.1C.T5 + Board version : SQBxxxx10 + Main Soft version : SPBMS16SRP2304V1.10.7.1C + Iterate version : SPBMS16SRP2304V1.10.7.1C.T5 Soft version : V1.10 Boot version : V1.13 Comm version : V2.0 Release Date : 23-10-13 - Barcode : Exxxxxxxxxxxxxx3 - Board ID : GxxxxxxxxxxxxxxxxxxxxxxxxD + Barcode : ESxxxxxxxxxx443 + Board ID : GD3xxxxxxxxxxxxxxxxxxxxF8D Board SRAM Size : 96KB Board FLASH Size : 256KB Specification : 51.2V/100AH diff --git a/data/pytes-v5/log.txt b/data/pytes-v5/log.txt new file mode 100644 index 0000000..0297079 --- /dev/null +++ b/data/pytes-v5/log.txt @@ -0,0 +1,187 @@ + + PYTES> + PYTES>log + @ + Index : 29 + Time : 24-02-18 20:08:38 + ModID : BMM + Code : 12c + Info : The device start charging. + + Index : 28 + Time : 24-02-18 20:08:32 + ModID : BMM + Code : 12b + Info : The device start charging. + + Index : 27 + Time : 24-02-18 19:51:24 + ModID : BMM + Code : 12a + Info : The device start charging. + Press [Enter] to be continued,other key to exit + Index : 26 + Time : 24-02-18 19:22:28 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 25 + Time : 24-02-18 19:01:38 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 24 + Time : 24-02-18 16:32:48 + ModID : BMM + Code : 129 + Info : The device start charging. + Press [Enter] to be continued,other key to exit + Index : 23 + Time : 24-02-18 16:26:54 + ModID : BMM + Code : 128 + Info : The device start charging. + + Index : 22 + Time : 24-02-18 16:23:18 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 21 + Time : 24-02-18 16:12:42 + ModID : BMM + Code : 127 + Info : The device start charging. + Press [Enter] to be continued,other key to exit + Index : 20 + Time : 24-02-18 16:07:40 + ModID : BMM + Code : 126 + Info : The device start charging. + + Index : 19 + Time : 24-02-18 16:05:42 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 18 + Time : 24-02-18 15:56:54 + ModID : BMM + Code : 0 + Info : The device start discharging. + Press [Enter] to be continued,other key to exit + Index : 17 + Time : 24-02-18 00:29:41 + ModID : BMM + Code : 125 + Info : The device start charging. + + Index : 16 + Time : 24-02-18 00:18:43 + ModID : BMM + Code : 124 + Info : The device start charging. + + Index : 15 + Time : 24-02-17 23:25:17 + ModID : BMM + Code : 0 + Info : The device start discharging. + Press [Enter] to be continued,other key to exit + Index : 14 + Time : 24-02-17 23:02:15 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 13 + Time : 24-02-17 22:57:43 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 12 + Time : 24-02-17 22:42:50 + ModID : BMM + Code : 0 + Info : The device start discharging. + Press [Enter] to be continued,other key to exit + Index : 11 + Time : 24-02-17 21:27:50 + ModID : BMM + Code : 123 + Info : The device start charging. + + Index : 10 + Time : 24-02-17 21:25:22 + ModID : BMM + Code : 122 + Info : The device start charging. + + Index : 9 + Time : 24-02-17 21:25:10 + ModID : BMM + Code : 121 + Info : The device start charging. + Press [Enter] to be continued,other key to exit + Index : 8 + Time : 24-02-17 17:12:16 + ModID : BMM + Code : 120 + Info : The device start charging. + + Index : 7 + Time : 24-02-17 17:01:02 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 6 + Time : 24-02-17 17:00:52 + ModID : BMM + Code : 0 + Info : The device start discharging. + Press [Enter] to be continued,other key to exit + Index : 5 + Time : 24-02-17 16:58:54 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 4 + Time : 24-02-17 16:58:46 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 3 + Time : 24-02-17 16:58:28 + ModID : BMM + Code : 0 + Info : The device start discharging. + Press [Enter] to be continued,other key to exit + Index : 2 + Time : 24-02-17 16:57:06 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 1 + Time : 24-02-17 16:56:58 + ModID : BMM + Code : 0 + Info : The device start discharging. + + Index : 0 + Time : 24-02-17 16:56:40 + ModID : BMM + Code : 0 + Info : The device start discharging. + Press [Enter] to be continued,other key to exit + Command completed successfully + $$ + PYTES> \ No newline at end of file diff --git a/data/pytes-v5/pwr 1.txt b/data/pytes-v5/pwr 1.txt index 3acf284..4be2c04 100644 --- a/data/pytes-v5/pwr 1.txt +++ b/data/pytes-v5/pwr 1.txt @@ -1,57 +1,45 @@ - -pylon>pwr 1 - -@ - - ---------------------------- - - Power 1 - - - - Voltage : 49959 mV - - Current : 15939 mA - - Temperature : 28200 mC - - Coulomb : 45 % - - Total Coulomb : 100000 mAH - - Max Voltage : 54000 mV - - Charge Times : 11344 - - Basic Status : Charge - - Charge Sec. : 1764 s - - Volt Status : Normal - - Current Status : Normal - - Tmpr. Status : Normal - - Coul. Status : Normal - - Soh. Status : Normal - - Heater Status : OFF - - Protect ENA : BOV BHV BLV BUV POV PHV PLV PUV CBOT CBHT CBLT CBUT DBOT DBHT DBLT DBUT POT PHT COC COC2 COCA DOCA DOC DOC2 SC LCOUL - - Bat Events : 0x0 - - Power Events : 0x0 - - System Fault : 0x0 - - ---------------------------- - -Command completed successfully - -$$ - -pylon> \ No newline at end of file + PYTES> + PYTES>pwr 1 + @ + ---------------------------- + Power 1 + + Voltage : 53244 mV + SOC Voltage : 53240 mV + Current : 0 mA + Temperature : 24000 mC + Coulomb : 73 % + Total Coulomb : 360000000 mAS + Real Coulomb : 100000 mAH + Total Power In : 1661128 AS + Total Power Out : 1335388 AS + Charge Count : 0 + Discharge Count : 0 + Charge Times : 300 + Work Status : 2 + Bat Num : 16 + Barcode : ESxxxxxxxxxxx443 + DevType : E-BOX-48100V-D + Firm Version : SPBMS16SRP2304V1.10.7.1C.T5 + Next Device : 0 + Basic Status : Idle + Volt Status : Normal + Current Status : Normal + Tmpr. Status : Normal + Coul. Status : Normal + Bat Status : VNOR TNOR + Heater Status : OFF + CMOS Status : ON + DMOS Status : ON + Input Status : OFF + Terminal Res. : ON + Bat Protect ENA : OV HV LV UV SLP OT HT LT UT + Pwr Protect ENA : OV HV LV UV SLP OT HT LT UT COC COC1 COC2 COCA DOCA DOC DOC1 DOC2 SC + Bat Events : 0x0 + Power Events : 0x0 + System Fault : 0x0 + ---------------------------- + Command completed successfully + $$ + PYTES> \ No newline at end of file diff --git a/data/pytes-v5/soh 1.txt b/data/pytes-v5/soh 1.txt index f7dfcd6..a3a3214 100644 --- a/data/pytes-v5/soh 1.txt +++ b/data/pytes-v5/soh 1.txt @@ -1,25 +1,25 @@ PYTES> - PYTES>soh + PYTES>soh 1 @ Power 1 Battery Voltage SOHStatus È$ -0 3322 00000000 -1 3321 00000000 -2 3323 00000000 -3 3321 00000000 -4 3324 00000000 -5 3321 00000000 -6 3322 00000000 -7 3320 00000000 -8 3325 00000000 -9 3322 00000000 -10 3323 00000000 -11 3321 00000000 -12 3323 00000000 -13 3322 00000000 -14 3324 00000000 -15 3319 00000000 +0 3327 00000000 +1 3327 00000000 +2 3328 00000000 +3 3328 00000000 +4 3328 00000000 +5 3328 00000000 +6 3328 00000000 +7 3328 00000000 +8 3328 00000000 +9 3328 00000000 +10 3328 00000000 +11 3328 00000000 +12 3328 00000000 +13 3328 00000000 +14 3328 00000000 +15 3326 00000000 Command completed successfully $$ PYTES> \ No newline at end of file diff --git a/data/pytes-v5/stat 1.txt b/data/pytes-v5/stat 1.txt index 82ac9ee..618e0d4 100644 --- a/data/pytes-v5/stat 1.txt +++ b/data/pytes-v5/stat 1.txt @@ -1,54 +1,9 @@ PYTES> - PYTES>stat - @ -Device address 1 -Data Items : 1475 -HisData Items : 581 -Charge Cnt. : 0 -Discharge Cnt. : 2365 -Charge Times : 217 -Status Cnt. : 2364 -Idle Times : 647 -COC Times : 0 -DOC Times : 0 -COCA Times : 0 -DOCA Times : 0 -SC Times : 0 -Bat OV Times : 3 -Bat HV Times : 1 -Bat LV Times : 3 -Bat UV Times : 3 -Bat SLP Times : 0 -Pwr OV Times : 0 -Pwr HV Times : 0 -Pwr LV Times : 3 -Pwr UV Times : 0 -Pwr SLP Times : 0 -COT Times : 0 -CUT Times : 0 -DOT Times : 0 -DUT Times : 0 -CHT Times : 0 -CLT Times : 0 -DHT Times : 0 -DLT Times : 0 -Shut Times : 27 -Reset Times : 39 -RV Times : 0 -Input OV Times : 0 -SOH Times : 4 -I2CERR Times : 0 -CYCLE Times : 3 -Pwr Percent : 80 -Pwr Coulomb : 288983896 -HT@0.5C Cnt : 0 -LT@0.5C Cnt : 0 -HT Cnt : 0 -LT Cnt : 0 -LV Cnt : 517 -LifeWarn Times : 0 -LifeAlarm Times : 0 - Command completed successfully + PYTES>stat 1 + @ + Invalid command or fail to excute. + Usage: +Statistic data show - stat $$ PYTES> \ No newline at end of file