Energy

Pylontech Dashboard

A purpose-built view of the Pylontech battery bank, translating raw battery data into a practical energy overview.

Current build

SOCBattery health

What it does

Built for a clear view

Energy management is easier when the state of the battery bank is obvious. This dashboard brings the most useful battery readings together for fast checks and longer-term awareness.

Key features

01

Battery state-of-charge overview

02

Voltage, current and power readings

03

Individual battery status

04

Clear warnings and connection state

Under the panel

How the system works

A practical map from the onboard sensor or controller to the value shown in the browser.

  1. 01

    The dashboard asks the ESP gateway for a snapshot and specifies how many battery modules to query.

  2. 02

    The ESP sends the Pylontech console command to each module and streams every returned text row through the WebSocket.

  3. 03

    Rows are grouped by battery number until the completion line arrives.

  4. 04

    The browser parses the numeric columns, converts millivolts, milliamps, milli-degrees and milliamp-hours, then calculates pack totals and state of charge.

Wire reference

Data format

Transport
Browser ↔ HAL WebSocket ↔ ESP serial gateway ↔ Pylontech console
Envelope
JSON chat messages carrying indexed Pylontech text lines

Example payload

{"type":"chat","text":"pylon: request 4"}

{"type":"chat","text":"pylon: 1 0 3327 -224 24600 Dischg ... 82% 74500 ..."}

Field reference

request N

Ask for N battery modules

battery index

Number immediately after pylon:

cell mV / current mA

Numeric columns 2 and 3 of each returned row

temperature

Milli-degrees Celsius; divided by 1000

SOC / capacity

Percentage and mAh columns from the console response

Source code

Take it apart. Make it yours.

The ZIP contains the web project and its matching ESP/Arduino firmware. Passwords, private keys, tokens, logs and live location data have been removed.

Firmware: ESP32 Pylontech battery firmware

  • Pylontech dashboard variants
  • ESP32 Arduino sketch
  • HAL WebSocket server
  • Node server package files
Download pylontech-source.zip