Jump to content

Featured Replies

Posted

Does anyone know how to read data from the Pylontech batteries when in use, they have ports on the front but the manual gives no info at all on how to get any sort of live data out of them while use. In particular i would like to be able to read any fault data stored on them and also live data in terms of battery capacity, voltage, current etc.

I have 4 of them linked up to my Solax Hybrid inverter which works well, but my inverter only gives me the battery capacity and nothing else.

I notice that they seem to run at different capacities during use, i think they needed to be balanced.

Also does anyone know if the firmware can be upgraded.

The company is absolute shite for tech support and the manual is rubbish, it doesn't even list how to use half the ports which are available on it. Its obvious to me that you can log into them somehow, i just need to know how and what ports to use etc.

Any help appreciated

Thanks!

On the CAN-bus port the information is broadcasted. I don't know the wiring of that cable (where CAN-L and CAN-R is) but I'm sure a bit of googling will help. I believe the pinout is the same as for an LG Resu. Here's some info for it.

Now precisely what is broadcasted I cannot tell you, because of NDAs and stuff, but I can tell you it is pretty much the same as for the REC BMS, with a tiny difference you will have to figure out for yourself.

Most people end up not going for the CAN option, because that requires extra hardware. As I recall, some German forum had info on how to get this info via the console port. I believe this is what ICC does, so you will have to ask the author of that software if he will share it (though he might not, direct competition and all :-) ).

14 hours ago, plonkster said:

Most people end up not going for the CAN option, because that requires extra hardware. As I recall, some German forum had info on how to get this info via the console port. I believe this is what ICC does, so you will have to ask the author of that software if he will share it (though he might not, direct competition and all :-) ).

Here is one thread:  https://www.photovoltaikforum.com/speichersysteme-offgrid-f108/pylontech-us2000b-daten-ueber-konsole-rs232-ausles-t118958-s10.html

Translate via Google ;)

  • Author

Thank you very much Mark that is of great help, i knew i could console in, just knew it wasn't nothing i could just guess. Shame Pylontech are zero help, they dont even bother replying to any tech support questions.

  • 1 year later...

If you want the software to read the Pylon tech battery i do have a copy and all you need is a RS232 to RJ11 connector cable easy to make or buy your self.

 

Regards

Rob D

NZ

14 hours ago, Robduthie said:

If you want the software to read the Pylon tech battery i do have a copy and all you need is a RS232 to RJ11 connector cable easy to make or buy your self.

 

Regards

Rob D

NZ

Hi Rob,

Is this easily available online?

On 2019/10/12 at 2:12 AM, Robduthie said:

If you want the software to read the Pylon tech battery i do have a copy and all you need is a RS232 to RJ11 connector cable easy to make or buy your self.

Hi Rob

Any chance you can upload a link the the software?

Thanks

Mark

On 2019/10/13 at 3:27 AM, Dex_ said:

Hi Rob,

Is this easily available online?

Yes and no the files are not complete your have to join them together to make it work. The file is only 3.5 Meg in size send me a email and i can send a drop link if required.

By the way the RJ11 is not correct it is a RJ12 plug on the Pylon tech US2000 battery consul port.

Regards

Rob D

NZ

  • 2 months later...
On 2019/12/17 at 7:19 PM, JETEMA said:

I use an easy way to read the data from my batteries pylontech us2000B, via wifi through the console port, using one of these adapters (Elfin EW10), they are cheap, costs about 10€ in aliexpress and also they are very simple to configure, in addition no complex program or app is required to read, you could use putty, kitty or termius on mobile or tablet alone you can connect and read, I send you some images.

Is this just connected directly to the pylontech by an rj45 cable, or is a special cable of some kind required?

hrm, I've taken an RJ11 cable cut one side off and soldered onto an RS232 as described above (and in the diagram in one of the other threads) and as per this diagram.

image.png.8e1bd92132dd1c69f9533a47d66017bf.png


I plug it into the console port on my pylontech US3000 - and then I check for any data coming over the com port (nothing) - I try the "batteryview" software (also nothing).
Perhaps my cable is just faulty - I'll try again, but before I do is there some obvious step I'm missing - do one of the jumpers on the front of the pylontech need to be set before the console port is active or something?

Thanks for the additional info/help.

Not really sure what I changed in the end as I  fiddled with a few things (possibly just something to do with Virtualbox) or something to do with my linux driver for the usb/rs232 convertor - but I plugged everything in and out again now after trying a few things and suddenly the "BatteryView" software is working inside my windows VM.

Looks like it only stores detailed SOC history going back a month or two, that is a bit disappointing I'd hoped to get the full history for the year I've been operating the battery for.
Oh well, still cool to have access to the data, will make a point of saving it going forward now that I can access it.

  • 4 weeks later...
On 2020/01/07 at 5:35 PM, JETEMA said:

Jumpers have no effect on console RS232 port, so first of all , exchange ( just in case ) pins 2,  3 if still no data and  is the first time you request data to your pylontech console port ensure that port console is software open doing that :

the console must be turned on. To do this, change the terminal program to 1200, 8,N,1.

Then send the following hexadecimal string to the battery  ( use termite for instance ) :

Data: 7E 32 30 30 31 34 36 38 32 43 30 30 34 38 35 32 30 46 43 43 33 0D

Switch now to 115200,8,N,1.

Data: Send 0D 0A.

The pylon> flag should appear, allowing command input.

If any trouble just tell me  😉

I downloaded termite but I'm not getting anywhere. I've created a cable with the correct pins (2, 3 & 5 for RS232) communications and have attempted to send the commands but just getting nothing in return. The instructions are pretty clear so no sure what I am doing wrong?

Any guidance is appreciated.

Click "Intro"? I am missing something with this mystery button that I don't have?

Might need the basics on here as clearly I something is wrong? Cable has been buzzzed out and works fine but never had a reply from batttery.

I followed instructions from Plyontech youtube video regarding broadcasting battery information over JSON but that didn't work so now trying directly with serial cable directly to laptop but still cannot get any comms (which would explain why the first attempt didn't get comms either).

Any assistance is greatly appreciated. Screenshots would be appreciated... for example, do you type "Data: 7E 32 30 30 31 34 36 38 32 43 30 30 34 38 35 32 30 46 43 43 33 0D" when sending that information or is there another mode to switch to within Termite? I work with RS232 all the time at work and generally it works or it doesn't so a little confused about why it is not working?

image.png.03a5bfa7c7ae2238db401c96c12190ae.pngto 

Just got hold of a new cable as the previous only the connector didn't look perfect (could have not been connecting in the port correctly) so anyway, after making up a new cable and buzzing through the cables from end (as done with previous cable), I am still not getting anywhere. I connected as you suggest using 1200bps 8N1  but got no reply for either enter or any other command I have sent. I know this COM port works as I use it all the time and buzzing out the cable means the cable is working correctly. What else can I try?

(see settings below).

image.thumb.png.052d316ad4628c7f2a5214360bbae426.png

  • 1 year later...

To connect to pylontech batteries

You need a RS232 to usb converter which is normally purchased. From the RS 232 you connect to RJ12 with pinouts as above.

Open a terminal port in your Mac OS or windows

make sure you are Sudo

Download a app called screen.. install

connect the RS 232 to the console port with the battery switched on first, then to the USB port of your laptop.  Check through hardware systems check the USB port address.. eg A10K282M

The Pylontech defaults to baud rate 1200 to start.

Type in the following command in your terminal command line

sudo screen /dev/tty.usbserial-A10K282M 1200

Paste the following instruction too initiate comms 

~20014682C0048520FCC3

Push enter

Hold ctrl+a then type k then type y [to exit]

Type in following command

sudo screen /dev/tty.usbserial-A10K282M 115200

This is the baud rate for comms to console commands 115 200

Press enter twice

You will then have the prompt

pylon>

Under this prompt you have the following options displayed after typing in help

pylon>help

@

Local command:

bat      Battery data show - bat [pwr][index]

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 [index]

shut     Shut down - shut

soh      State of health - soh [addr]

stat     Statistic data show - stat

time     Time - time [year] [month] [day] [hour] [minute] [second]

trst     Test Soft Reset - trst

updata   updata system - updata

**********************************************************

Remote command:

Press [Enter] to be continued,other key to exit

 

Best results for all problems and configs is to type

login debug

with this command you ahem the following options

 

pylon_debug>help

@

Local command:

adc      Addr show - adc

bat      Battery data show - bat [pwr][index]

bmicbld  BMIC Soft Bleed Ctrl - bmicbld [chip][Val]

bmicd    BMIC data show - bmicd [chip]

bmice    Setup BMIC - bmice [chip]

bmicr    BMIC read - bmicr [chip][Offset]

bmicsh   BMIC show reg -bmicsh [chip]

bmicw    BMIC write - bmicw [chip][Offset][Val]

chgver   Change soft Version - chgver [st/ph]

ci       Current Comm Info

config   config [pov/povr/phv/phvr/plv/plvr/puv/puvr/pslp/bov/bovr/bhv/bhvr/blv/blvr/buv/buvr/bslp/bsv/bv

/cot/cotr/cht/chtr/clt/cltr/cut/cutr/dot/dotr/dht/dhtr/dlt/dltr/dut/dutr/coc/coca/cocar

/eot/eotr/eht/ehtr/elt/eltr/eut/eutr/doc/doca/docar/ocd/ocr/sc/scd/scr/clc

/recinv/shuttime/uvtime/save/default][val]

/[sleep/record][on/off/day/week/month][starttime][endtime]

/[hwsleep][<on/off>][sleeptime][wakeuptime]

ct       Track Comm Port Data [Port Number]

ctrl     Contrl IO - ctrl [cfet/dfet/buzz/heat] [on/off]

data     History data load - data [event/history/misc][item]

datac    Clear data - datac [event/history/misc]

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]

eepe     EEPROM erase - eepe [chip]

eepr     EEPROM read - eepr [chip][Offset][size]

eepw     EEPROM write - eepw [chip][Offset][Val][size]

flae     Extend flash erase - flae [chip]

flar     Extend flash read - flar [chip][Offset][size]

flaw     Extend flash write - flaw [chip][Offset][Val]

fullchg  Show FullCharge Info - fullchg [time]

getpwr   Get power Info - getpwr

help     Help [cmd]

info     Device infomation - info

log      Log information show - log

login    Login Admin mode - login [password]

logc     Log clear - logc

Press [Enter] to be continued,other key to exit

 

logout   user mode  - logout                      

logt     Log test - logt [data]

md       Memory dump - md [width][Addr][size]

mm       Memory set - mm [width][Addr][Val]

m2s      Master updata to Slave  - m2s

prot     Protect ctrl - prot [bov/bhv/blv/buv/pov/phv/plv/puv/cbot/cbht/cblt/cbut/dbot/dbht/dblt/dbut/pot/pht/plt/put/coc/coc2/coca/doc/doc2/doca/sc/buzz/smartchg/default][en/dis]

pwr      Power data show - pwr [index]

re       Send Command To the Specified Power - re [addr][command]

rtcr     RTC read - rtcr [Offset]

rtcw     RTC write - rtcw [Offset][Val]

rtcsh    RTC show reg -rtcsh

save     Save data - save [event/history]

socr     SOC read - socr[Offset]

socw     SOC write - socw [Offset][Val]

socsh    SOC show reg -socsh

soccfg   SOC config - soccfg[subclass][Offset][value]

soccal   SOC calibration - soccal [volt/current/tempr/ccoffset/bdoffset] [value]

socd     SOC show data - socd

                                                  

**********************************************************

Remote command:

Command completed successfully

$$

 

 

 

 

 

 

On 2021/07/12 at 10:01 PM, Gavin Coutts Energy Max said:

ctrl     Contrl IO - ctrl [cfet/dfet/buzz/heat] [on/off]

Great info any idea what the the heat control is? or even the cfet and dfet? 

I’m looking to control the dry contacts on pylon.

  • 1 month later...
On 2020/01/07 at 10:16 PM, mmacleod said:

hrm, I've taken an RJ11 cable cut one side off and soldered onto an RS232 as described above (and in the diagram in one of the other threads) and as per this diagram.

image.png.8e1bd92132dd1c69f9533a47d66017bf.png


I plug it into the console port on my pylontech US3000 - and then I check for any data coming over the com port (nothing) - I try the "batteryview" software (also nothing).
Perhaps my cable is just faulty - I'll try again, but before I do is there some obvious step I'm missing - do one of the jumpers on the front of the pylontech need to be set before the console port is active or something?

how can i get batteryview software.

Can you please share the link.

 

  • 3 months later...

Greetings from Ibiza, Spain.

I'd like to ask, I type  sudo screen /dev/ttyXRUSB0 1200 and I do get a screen. Blank. I can't paste anything in there.

If I use 115200, I get a screen full of scrolling gibberish and no prompt. Any suggestions?

On 2018/10/05 at 3:44 PM, Taggy said:

Does anyone know how to read data from the Pylontech batteries when in use, they have ports on the front but the manual gives no info at all on how to get any sort of live data out of them while use. In particular i would like to be able to read any fault data stored on them and also live data in terms of battery capacity, voltage, current etc.

I have 4 of them linked up to my Solax Hybrid inverter which works well, but my inverter only gives me the battery capacity and nothing else.

I notice that they seem to run at different capacities during use, i think they needed to be balanced.

Also does anyone know if the firmware can be upgraded.

The company is absolute shite for tech support and the manual is rubbish, it doesn't even list how to use half the ports which are available on it. Its obvious to me that you can log into them somehow, i just need to know how and what ports to use etc.

Any help appreciated

Thanks!

Now that is quite worrying... which company is not giving you support, the seller or the battery manufacturer? I'm looking to make a battery purchase and such information is quite useful as this also means that chances of getting warranty issues dealt with become, in reality futile.

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...