Pytes E-Box Component

na just like the manual told you.

and yea, you have to use the ‘Console’ port! so you can use the rs485 port for something else.

using an wemos d1 mini was the problem. i dont know why but with a random esp32 board it works now.

1 Like

Hi, thank for making this components. I managed to get it working but I notice that is not getting all the values. I have 2 batteries and is getting values from one battery only. Battery 1 and 2 are getting the same values and cell info for battery 2 only.

esphome:
  name: pytes-battery
  friendly_name: Pytes Battery

esp32:
  board: esp32dev
  framework:
    type: arduino 

external_components:
  - source:
      type: local
      path: components
    components: [pytes_e_box]
# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "KFQxVWjDTceLj819X0WEbVBWbtEjM0sYjKNRINB7tOk="

ota:
  - platform: esphome
    password: "129081d33ed909e80346eb9cfd1a2993"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  manual_ip:
    static_ip: !secret pytes_battery_ip_address
    gateway: !secret wifi_gateway
    subnet: !secret wifi_subnet
    dns1: !secret wifi_dns1

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Pytes-Battery Fallback Hotspot"
    password: "ttTpC1DzDG1U"

captive_portal:
# Enable Web server.
web_server:
  port: 80

# Sync time with Home Assistant.
time:
  - platform: homeassistant
    id: homeassistant_time

packages:
  pytes_ebox_1: !include 
    file: usr/projects/pytesebox-monitor.yaml
    vars:
      pytes_e_box_id: pvbatt
      battery_num: 1
      cell_prefix: "Cell"
      battery_prefix: "Battery"
  pytes_ebox_2: !include 
    file: usr/projects/pytesebox-monitor.yaml
    vars:
      pytes_e_box_id: pvbatt
      battery_num: 2
      cell_prefix: "Cell"
      battery_prefix: "Battery"  

uart:
  tx_pin: GPIO17
  rx_pin: GPIO16
  baud_rate: 115200
  rx_buffer_size: 1024
  id: uart01   

pytes_e_box:
  - id: pvbatt
    uart_id: uart01
    update_interval: 60s
    batteries: 2
    poll_timeout: 25s  #4s 
    command_idle_time: 250ms  #150ms

# Sensors with general information.
sensor:
# Uptime sensor.
  - platform: uptime
    name: Uptime


# WiFi Signal sensor.
  - platform: wifi_signal
    name: WiFi Signal
    update_interval: 60s

    # Send IP Address to HA
text_sensor:
  - platform: wifi_info
    ip_address:
      name: IP Address

the log output


[09:18:46][C][logger:177]: Logger:
[09:18:46][C][logger:178]:   Max Level: DEBUG
[09:18:46][C][logger:179]:   Initial Level: DEBUG
[09:18:46][C][logger:181]:   Log Baud Rate: 115200
[09:18:46][C][logger:182]:   Hardware UART: UART0
[09:18:46][C][uart.arduino_esp32:151]: UART Bus 1:
[09:18:46][C][uart.arduino_esp32:152]:   TX Pin: GPIO17
[09:18:46][C][uart.arduino_esp32:153]:   RX Pin: GPIO16
[09:18:46][C][uart.arduino_esp32:155]:   RX Buffer Size: 1024
[09:18:46][C][uart.arduino_esp32:157]:   Baud Rate: 115200 baud
[09:18:46][C][uart.arduino_esp32:158]:   Data Bits: 8
[09:18:46][C][uart.arduino_esp32:159]:   Parity: NONE
[09:18:46][C][uart.arduino_esp32:160]:   Stop bits: 1
[09:18:47][C][uptime.sensor:033]: Uptime Sensor 'Uptime'
[09:18:47][C][uptime.sensor:033]:   Device Class: 'duration'
[09:18:47][C][uptime.sensor:033]:   State Class: 'total_increasing'
[09:18:47][C][uptime.sensor:033]:   Unit of Measurement: 's'
[09:18:47][C][uptime.sensor:033]:   Accuracy Decimals: 0
[09:18:47][C][uptime.sensor:033]:   Icon: 'mdi:timer-outline'
[09:18:47][C][uptime.sensor:034]:   Type: Seconds
[09:18:47][C][homeassistant.time:010]: Home Assistant Time:
[09:18:47][C][homeassistant.time:011]:   Timezone: 'AST4'
[09:18:47][C][pytes_e_box:028]: PytesEBox:
[09:18:47][C][pytes_e_box:029]:   Batteries: 2
[09:18:47][C][pytes_e_box:030]:   Poll Timeout: 25000
[09:18:47][C][pytes_e_box:032]:   Amount of Commands in Queue: 5
[09:18:47][C][pytes_e_box:033]:   Commands in Queue: 5
[09:18:47][C][pytes_e_box:041]:   Commands in Queue: [index:0, command: "pwr"] [index:1, command: "pwr 1"] [index:1, command: "bat 1"] [index:2, command: "pwr 2"] [index:2, command: "bat 2"]
[09:18:47][C][pytes_e_box:043]:   Update Interval: 60.0s
[09:18:47][C][captive_portal:089]: Captive Portal:
[09:18:47][C][web_server:285]: Web Server:
[09:18:47][C][web_server:286]:   Address: 192.168.2.110:80
[09:18:47][C][mdns:116]: mDNS:
[09:18:47][C][mdns:117]:   Hostname: pytes-battery
[09:18:47][C][esphome.ota:073]: Over-The-Air updates:
[09:18:47][C][esphome.ota:074]:   Address: 192.168.2.110:3232
[09:18:47][C][esphome.ota:075]:   Version: 2
[09:18:47][C][esphome.ota:078]:   Password configured
[09:18:47][C][safe_mode:018]: Safe Mode:
[09:18:47][C][safe_mode:020]:   Boot considered successful after 60 seconds
[09:18:47][C][safe_mode:021]:   Invoke after 10 boot attempts
[09:18:47][C][safe_mode:023]:   Remain in safe mode for 300 seconds
[09:18:47][C][api:140]: API Server:
[09:18:47][C][api:141]:   Address: 192.168.2.110:6053
[09:18:47][C][api:143]:   Using noise encryption: YES
[09:18:47][C][wifi_info:010]: WifiInfo IPAddress 'IP Address'
[09:18:47][C][wifi_signal.sensor:010]: WiFi Signal 'WiFi Signal'
[09:18:47][C][wifi_signal.sensor:010]:   Device Class: 'signal_strength'
[09:18:47][C][wifi_signal.sensor:010]:   State Class: 'measurement'
[09:18:47][C][wifi_signal.sensor:010]:   Unit of Measurement: 'dBm'
[09:18:47][C][wifi_signal.sensor:010]:   Accuracy Decimals: 0
[09:18:50][D][api:103]: Accepted 192.168.2.101
[09:18:50][W][component:237]: Component api took a long time for an operation (51 ms).
[09:18:50][W][component:238]: Components should block for at most 30 ms.
[09:18:50][D][api.connection:1801]: Home Assistant 2025.2.4 (192.168.2.101): Connected successfully
[09:18:50][D][time:051]: Synchronized time: 2025-08-01 09:18:50
[09:19:23][D][sensor:094]: 'Uptime': Sending state 44.74800 s with 0 decimals of accuracy
[09:19:23][C][pytes_e_box:143]:   Commands in Queue: [index:0, command: "pwr"] [index:1, command: "pwr 1"] [index:1, command: "bat 1"] [index:2, command: "pwr 2"] [index:2, command: "bat 2"]
[09:19:23][D][pytes_e_box:145]: Sending command from queue: pwr from index: 0
[09:19:24][D][pytes_e_box:318]: parsed command -> Power Data [Battery: 0]
[09:19:24][D][sensor:094]: 'WiFi Signal': Sending state -45.00000 dBm with 0 decimals of accuracy
[09:19:24][C][pytes_e_box:143]:   Commands in Queue: [index:0, command: "pwr"] [index:1, command: "pwr 1"] [index:1, command: "bat 1"] [index:2, command: "pwr 2"] [index:2, command: "bat 2"]
[09:19:24][D][pytes_e_box:145]: Sending command from queue: pwr 1 from index: 1
[09:19:24][D][pytes_e_box:318]: parsed command -> Power Data Index [Battery: 1]
[09:19:25][D][text_sensor:064]: 'Battery 1 Barcode': Sending state 'ES1002905P100312'
[09:19:25][D][text_sensor:064]: 'Battery 1 Device Type': Sending state 'E-BOX-48100R-C'
[09:19:25][D][text_sensor:064]: 'Battery 1 Firmware Version': Sending state 'SPBMS16SRPV1.5.26.C16.T5'
[09:19:25][D][text_sensor:064]: 'Battery 1 Coulomb State': Sending state 'Normal'
[09:19:25][D][text_sensor:064]: 'Battery 1 Battery State': Sending state 'VNOR TNOR'
[09:19:25][D][text_sensor:064]: 'Battery 1 CMOS Status': Sending state 'ON'
[09:19:25][D][text_sensor:064]: 'Battery 1 DMOS Status': Sending state 'ON'
[09:19:25][D][text_sensor:064]: 'Battery 1 BAT Protect ENA': Sending state 'OV HV LV UV SLP OT HT LT UT'
[09:19:25][D][text_sensor:064]: 'Battery 1 PWR Protect ENA': Sending state 'OV HV LV UV SLP OT HT LT UT COC COC2 COCA DOCA DOC DOC2 SC'
[09:19:25][D][text_sensor:064]: 'Battery 1 Battery Events': Sending state '0x0'
[09:19:25][D][text_sensor:064]: 'Battery 1 Power Events': Sending state '0x0'
[09:19:25][D][text_sensor:064]: 'Battery 1 System Fault': Sending state '0x0'
[09:19:25][D][sensor:094]: 'Battery 1 SOC Voltage': Sending state 53.81000 V with 3 decimals of accuracy
[09:19:25][D][sensor:094]: 'Battery 1 Total Coulomb': Sending state 100.00800 Ah with 3 decimals of accuracy
[09:19:25][D][sensor:094]: 'Battery 1 Real Coulomb': Sending state 100.00000 Ah with 3 decimals of accuracy
[09:19:25][D][sensor:094]: 'Battery 1 Total Power In': Sending state 581.04395 Ah with 3 decimals of accuracy
[09:19:25][D][sensor:094]: 'Battery 1 Total Power Out': Sending state 497.00891 Ah with 3 decimals of accuracy
[09:19:25][D][sensor:094]: 'Battery 1 Work Status': Sending state 2.00000  with 0 decimals of accuracy
[09:19:25][D][sensor:094]: 'Battery 1 Cells': Sending state 16.00000  with 0 decimals of accuracy
[09:19:25][W][component:237]: Component pytes_e_box took a long time for an operation (194 ms).
[09:19:25][W][component:238]: Components should block for at most 30 ms.
[09:19:25][C][pytes_e_box:143]:   Commands in Queue: [index:0, command: "pwr"] [index:1, command: "pwr 1"] [index:1, command: "bat 1"] [index:2, command: "pwr 2"] [index:2, command: "bat 2"]
[09:19:25][D][pytes_e_box:145]: Sending command from queue: bat 1 from index: 2
[09:19:25][D][pytes_e_box:318]: parsed command -> Battery Data Index [Battery: 1]
[09:19:25][C][pytes_e_box:143]:   Commands in Queue: [index:0, command: "pwr"] [index:1, command: "pwr 1"] [index:1, command: "bat 1"] [index:2, command: "pwr 2"] [index:2, command: "bat 2"]
[09:19:25][D][pytes_e_box:145]: Sending command from queue: pwr 2 from index: 3
[09:19:25][D][pytes_e_box:318]: parsed command -> Power Data Index [Battery: 2]
[09:19:26][D][text_sensor:064]: 'Battery 2 Barcode': Sending state 'ES1002905P100312'
[09:19:26][D][text_sensor:064]: 'Battery 2 Device Type': Sending state 'E-BOX-48100R-C'
[09:19:26][D][text_sensor:064]: 'Battery 2 Firmware Version': Sending state 'SPBMS16SRPV1.5.26.C16.T5'
[09:19:26][D][text_sensor:064]: 'Battery 2 Coulomb State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Battery 2 Battery State': Sending state 'VNOR TNOR'
[09:19:26][D][text_sensor:064]: 'Battery 2 CMOS Status': Sending state 'ON'
[09:19:26][D][text_sensor:064]: 'Battery 2 DMOS Status': Sending state 'ON'
[09:19:26][D][text_sensor:064]: 'Battery 2 BAT Protect ENA': Sending state 'OV HV LV UV SLP OT HT LT UT'
[09:19:26][D][text_sensor:064]: 'Battery 2 PWR Protect ENA': Sending state 'OV HV LV UV SLP OT HT LT UT COC COC2 COCA DOCA DOC DOC2 SC'
[09:19:26][D][text_sensor:064]: 'Battery 2 Battery Events': Sending state '0x0'
[09:19:26][D][text_sensor:064]: 'Battery 2 Power Events': Sending state '0x0'
[09:19:26][D][text_sensor:064]: 'Battery 2 System Fault': Sending state '0x0'
[09:19:26][D][sensor:094]: 'Battery 2 SOC Voltage': Sending state 53.81000 V with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Battery 2 Total Coulomb': Sending state 100.00800 Ah with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Battery 2 Real Coulomb': Sending state 100.00000 Ah with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Battery 2 Total Power In': Sending state 581.04395 Ah with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Battery 2 Total Power Out': Sending state 497.00891 Ah with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Battery 2 Work Status': Sending state 2.00000  with 0 decimals of accuracy
[09:19:26][D][sensor:094]: 'Battery 2 Cells': Sending state 16.00000  with 0 decimals of accuracy
[09:19:26][W][component:237]: Component pytes_e_box took a long time for an operation (185 ms).
[09:19:26][W][component:238]: Components should block for at most 30 ms.
[09:19:26][C][pytes_e_box:143]:   Commands in Queue: [index:0, command: "pwr"] [index:1, command: "pwr 1"] [index:1, command: "bat 1"] [index:2, command: "pwr 2"] [index:2, command: "bat 2"]
[09:19:26][D][pytes_e_box:145]: Sending command from queue: bat 2 from index: 4
[09:19:26][D][pytes_e_box:318]: parsed command -> Battery Data Index [Battery: 2]
[09:19:26][D][text_sensor:064]: 'Cell 2.0 Base State': Sending state 'Charge'
[09:19:26][D][text_sensor:064]: 'Cell 2.0 Voltage State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.0 Current State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.0 Temperature State': Sending state 'Normal'
[09:19:26][D][sensor:094]: 'Cell 2.0 Voltage': Sending state 3.36500 V with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.0 Current': Sending state 74.33900 mA with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.0 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.0 Coulomb': Sending state 74.00000 % with 0 decimals of accuracy
[09:19:26][W][component:237]: Component pytes_e_box took a long time for an operation (70 ms).
[09:19:26][W][component:238]: Components should block for at most 30 ms.
[09:19:26][D][text_sensor:064]: 'Cell 2.1 Base State': Sending state 'Charge'
[09:19:26][D][text_sensor:064]: 'Cell 2.1 Voltage State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.1 Current State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.1 Temperature State': Sending state 'Normal'
[09:19:26][D][sensor:094]: 'Cell 2.1 Voltage': Sending state 3.36600 V with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.1 Current': Sending state 76.44500 mA with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.1 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.1 Coulomb': Sending state 76.00000 % with 0 decimals of accuracy
[09:19:26][W][component:237]: Component pytes_e_box took a long time for an operation (78 ms).
[09:19:26][W][component:238]: Components should block for at most 30 ms.
[09:19:26][D][text_sensor:064]: 'Cell 2.2 Base State': Sending state 'Charge'
[09:19:26][D][text_sensor:064]: 'Cell 2.2 Voltage State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.2 Current State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.2 Temperature State': Sending state 'Normal'
[09:19:26][D][sensor:094]: 'Cell 2.2 Voltage': Sending state 3.36700 V with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.2 Current': Sending state 77.94500 mA with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.2 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.2 Coulomb': Sending state 78.00000 % with 0 decimals of accuracy
[09:19:26][W][component:237]: Component pytes_e_box took a long time for an operation (86 ms).
[09:19:26][W][component:238]: Components should block for at most 30 ms.
[09:19:26][D][text_sensor:064]: 'Cell 2.3 Base State': Sending state 'Charge'
[09:19:26][D][text_sensor:064]: 'Cell 2.3 Voltage State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.3 Current State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.3 Temperature State': Sending state 'Normal'
[09:19:26][D][sensor:094]: 'Cell 2.3 Voltage': Sending state 3.36500 V with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.3 Current': Sending state 74.95700 mA with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.3 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.3 Coulomb': Sending state 75.00000 % with 0 decimals of accuracy
[09:19:26][W][component:237]: Component pytes_e_box took a long time for an operation (79 ms).
[09:19:26][W][component:238]: Components should block for at most 30 ms.
[09:19:26][D][text_sensor:064]: 'Cell 2.4 Base State': Sending state 'Charge'
[09:19:26][D][text_sensor:064]: 'Cell 2.4 Voltage State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.4 Current State': Sending state 'Normal'
[09:19:26][D][text_sensor:064]: 'Cell 2.4 Temperature State': Sending state 'Normal'
[09:19:26][D][sensor:094]: 'Cell 2.4 Voltage': Sending state 3.36400 V with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.4 Current': Sending state 78.59500 mA with 3 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.4 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:26][D][sensor:094]: 'Cell 2.4 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:26][W][component:237]: Component pytes_e_box took a long time for an operation (74 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.5 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.5 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.5 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.5 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.5 Voltage': Sending state 3.36500 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.5 Current': Sending state 74.34400 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.5 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.5 Coulomb': Sending state 74.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (74 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.6 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.6 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.6 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.6 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.6 Voltage': Sending state 3.36400 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.6 Current': Sending state 76.69500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.6 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.6 Coulomb': Sending state 77.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (73 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.7 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.7 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.7 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.7 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.7 Voltage': Sending state 3.36700 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.7 Current': Sending state 77.69500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.7 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.7 Coulomb': Sending state 78.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (79 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.8 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.8 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.8 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.8 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.8 Voltage': Sending state 3.36800 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.8 Current': Sending state 79.19500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.8 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.8 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (78 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.9 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.9 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.9 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.9 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.9 Voltage': Sending state 3.36500 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.9 Current': Sending state 78.39500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.9 Temperature': Sending state 29.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.9 Coulomb': Sending state 78.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (77 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.10 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.10 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.10 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.10 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.10 Voltage': Sending state 3.36700 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.10 Current': Sending state 78.99500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.10 Temperature': Sending state 28.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.10 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (85 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.11 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.11 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.11 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.11 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.11 Voltage': Sending state 3.36400 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.11 Current': Sending state 78.79500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.11 Temperature': Sending state 28.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.11 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (86 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.12 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.12 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.12 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.12 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.12 Voltage': Sending state 3.36700 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.12 Current': Sending state 78.99500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.12 Temperature': Sending state 28.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.12 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (76 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.13 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.13 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.13 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.13 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.13 Voltage': Sending state 3.36700 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.13 Current': Sending state 78.79500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.13 Temperature': Sending state 28.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.13 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (77 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.14 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.14 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.14 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.14 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.14 Voltage': Sending state 3.36600 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.14 Current': Sending state 78.99500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.14 Temperature': Sending state 28.00000 °C with 1 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.14 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:27][W][component:237]: Component pytes_e_box took a long time for an operation (81 ms).
[09:19:27][W][component:238]: Components should block for at most 30 ms.
[09:19:27][D][text_sensor:064]: 'Cell 2.15 Base State': Sending state 'Charge'
[09:19:27][D][text_sensor:064]: 'Cell 2.15 Voltage State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.15 Current State': Sending state 'Normal'
[09:19:27][D][text_sensor:064]: 'Cell 2.15 Temperature State': Sending state 'Normal'
[09:19:27][D][sensor:094]: 'Cell 2.15 Voltage': Sending state 3.36600 V with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.15 Current': Sending state 78.99500 mA with 3 decimals of accuracy
[09:19:27][D][sensor:094]: 'Cell 2.15 Temperature': Sending state 28.00000 °C with 1 decimals of accuracy
[09:19:28][D][sensor:094]: 'Cell 2.15 Coulomb': Sending state 79.00000 % with 0 decimals of accuracy
[09:19:28][W][component:237]: Component pytes_e_box took a long time for an operation (76 ms).
[09:19:28][W][component:238]: Components should block for at most 30 ms.
[09:19:28][I][pytes_e_box:204]: PytesEBox command queue done.
[09:19:38][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[09:19:38][D][esp32.preferences:114]: Saving 1 preferences to flash...
[09:19:38][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[09:20:23][D][sensor:094]: 'Uptime': Sending state 104.74400 s with 0 decimals of accuracy
[09:20:23][C][pytes_e_box:143]:   Commands in Queue: [index:0, command: "pwr"] [index:1, command: "pwr 1"] [index:1, command: "bat 1"] [index:2, command: "pwr 2"] 

heyho :wink:

you wont get a Buffer #n line?

[12:32:55][I][pytes_e_box:399]: Buffer: 1 53649 22122 27000 26000 26000 3349 3361 Charge Normal Normal Normal 40% 2025-08-05 18:35:24 Normal Normal

can you see the correct data when you use a serial connection to the master battery?

i rechecked my values, and they are 3 different barcodes. maybe you have done something wrong with the Master-Slave wire?

Hi,
trying since several days to read my 6 Pytes batteries and failing,
i do not get anything working…
any more detailed manual available ?

regards
Uwe

not yet sry … and tbh its not planed :confused:

can you tell me what the problem is, i’m willing to help you out.