Read a Pylontech battery from a laptop

Plug a USB to RS232 adapter into the CONSOLE port of the master battery, connect at 115200 baud, and type pwr. Older models may need 1200 baud first. The CAN and RS485 ports will not answer these commands.

What you need

  • A laptop running Chrome or Edge, or any terminal program.
  • A USB to RS232 adapter with a cable ending in the plug your battery uses. Battery dealers sell ready-made console cables for each model.
  • Access to the battery's CONSOLE port. On a bank, start with the master.

A USB to RS485 adapter is the classic mistake. RS485 and CAN are the ports that talk to the inverter, and they use a different language. Plain TTL serial adapters are wrong too, because RS232 uses other voltage levels.

Plug shapes and pin assignments vary between generations. Take them from the manual of your exact model, because a home-made cable wired wrong can damage the adapter or the port. We do not publish a universal pinout because no single one is right for every battery.

Speed

The US5000 in our logs reports Console Port rate: 115200. Start there, with 8 data bits, no parity and 1 stop bit. On the DIY forums, owners of older US2000 packs report a console that starts at 1200 baud. If 115200 stays silent, try 1200, and the battery's own info output will tell you the rate once it answers.

With a browser

  1. Open the viewer in Chrome or Edge on a computer. Web Serial is not available in every browser; if the button reports that, switch to one of these two.
  2. Choose USB cable, then Connect and read, and pick your adapter in the list.
  3. BatViewer sends pwr, then bat for each pack, then info, and shows the result. It closes the port when it has finished.

With a terminal

PuTTY, screen or minicom work fine. Open the serial port, press Enter until you get a pylon> prompt, and type pwr. On Linux:

screen /dev/ttyUSB0 115200

Copy the output and paste it in the viewer if you want the verdict and the cell chart. Stick to the read-only commands.

If nothing answers

  • Confirm you are on CONSOLE, and not on RS485, CAN or LINK.
  • Try the other speed. Silence or gibberish usually means the wrong baud rate.
  • Check that the battery is switched on. Some packs sleep when idle and need their button.
  • Try another adapter. Cheap ones often fail on signal levels, and a loopback test on the adapter settles it.
  • The console answers on one port at a time, so unplug any other monitoring device from that port first.

Questions

Which port do I use to read a Pylontech battery?
The CONSOLE port of the master battery, through a USB to RS232 adapter. The CAN and RS485 ports talk to the inverter and do not answer console commands.
What baud rate does the Pylontech console use?
115200 baud on the US5000 in our logs. Owners of older US2000 packs report 1200 baud.

A reminder to check your battery

One short e-mail a month with a check to do, and a message when Pylontech publishes a new compatibility list.

Free. You confirm by e-mail and can stop at any time. Privacy.