Hello
I try to conntact my new Pylontech US5000 to HomeAssist.
I use a ESP32 or a Vemos D1mini. With a Max3232 and the Console Port at the Batterie
But I dont get values for the Battery.
I try the same with some Older Batterie (Pylontech US2000C Software:2.6)
there it works.
I think my Battery is to new for this software.
I try it to connect with Pylontech Batteryview Version3.0.33 and 3.0.29:
the connect to the single battery works here i get Values
if I want to connect all Units over the master Battery it doesnt work.
I think the battery send to much value.
Can someone help me?
here my code in ESP-Home
captive_portal:
uart:
tx_pin: GPIO12
rx_pin: GPIO13
baud_rate: 115200 # baudrate for pylontech uart
debug:
direction: BOTH
dummy_receiver: false
after:
delimiter: "\n"
sequence:
- lambda: UARTDebug::log_string(direction, bytes);
# Example configuration entry
pylontech:
id: pylontech0
update_interval: 10s
sensor:
- platform: pylontech
battery: 1
voltage:
id: bat1_voltage
name: "Battery 1 Voltage"
current:
id: bat1_current
name: "Battery 1 Current"
coulomb:
name: "Battery 1 Resistance"
temperature:
name: "Battery 1 Temperature"
- platform: pylontech
battery: 2
voltage:
id: bat2_voltage
name: "Battery 2 Voltage"
current:
id: bat2_current
name: "Battery 2 Current"
coulomb:
name: "Battery 2 Resistance"
temperature:
name: "Battery 2 Temperature"
and here the log from the failed connection with Batterie view:
没有机种特定的升级配置文件,使用默认升级配置文件
Record Begin:
Record Time: 25-04-02 21:29:07:553
Exception: System.Exception: the column of 'Tlow.Id ' of pwr commandline is not contained in config file,
please configurate file:@\Configs\RegoutConfig.xml
at BatteryView.Utilities.PwrCellInfo.ConfigPwrsDataReg(String buffer) in D:\Work\界面\低压\问题\BatteryView_us2000b_series_3.0.32\BatteryView\Utilities\DataShowSave.cs:line 1967
at Pylon.Battery.BatManageUnit.InitializeListRegedPwrData(String strInfo) in D:\Work\界面\低压\问题\BatteryView_us2000b_series_3.0.32\BatteryView\BatManageUnit.cs:line 2202
at BatteryView.PylonPort.PylonSerialPort.SerialSendCommand(String strcmd, ResponsePattern responsePattern, CmdFinishHandle cmdfinishcallback, Int32 ntimeout, Int32 ntryCount, Int32 resolveCount) in D:\Work\界面\低压\问题\BatteryView_us2000b_series_3.0.32\BatteryView\PylonPort\PylonSerialPort.cs:line 625
Description:
PylonException:
Date/Time: 25-04-02 21:29:07:553
Exception Description: fail to resolve the buffer:
of the 0trys
Record End
Record Begin:
Record Time: 25-04-02 21:29:07:553
Description:
PylonSerailPortException:
Date/Time: 25-04-02 21:29:07:553
Command: pwr
Residual: null
Response: pwr
@
Power Volt Curr Tempr Tlow Tlow.Id Thigh Thigh.Id Vlow Vlow.Id Vhigh Vhigh.Id Base.St Volt.St Curr.St Temp.St Coulomb Time B.V.St B.T.St MosTempr M.T.St SysAlarm.St
1 49679 -3160 16500 14800 12 15900 0 3311 13 3312 0 Dischg Normal Normal Normal 92% 2025-04-03 03:27:20 Normal Normal 16200 Normal Normal
2 49690 -2377 18000 15500 10 15800 5 3312 0 3313 2 Dischg Normal Normal Normal 88% 2025-04-03 03:27:17 Normal Normal 16800 Normal Normal
3 49682 -2386 18000 15700 10 15800 0 3311 5 3313 3 Dischg Normal Normal Normal 86% 2025-04-03 03:27:17 Normal Normal 16900 Normal Normal
4 - - - - - - - Absent - - - - - - -
5 - - - - - - - Absent - - - - - - -
6 - - - - - - - Absent - - - - - - -
7 - - - - - - - Absent - - - - - - -
8 - - - - - - - Absent - - - - - - -
9 - - - - - - - Absent - - - - - - -
10 - - - - - - - Absent - - - - - - -
11 - - - - - - - Absent - - - - - - -
12 - - - - - - - Absent - - - - - - -
13 - - - - - - - Absent - - - - - - -
14 - - - - - - - Absent - - - - - - -
15 - - - - - - - Absent - - - - - - -
16 - - - - - - - Absent - - - - - - -
Command completed successfully
$$
pylon_debug>
Record End