How can read this data

[19:28:18][D][modbus_controller.sensor:025]: Sensor new state: 47172.00
[19:28:18][V][sensor:043]: ‘Remain Capacity’: Received new state 47172.000000
[19:28:18][D][sensor:094]: ‘Remain Capacity’: Sending state 47172.00000 AH with 0 decimals of accuracy
[19:28:18][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[19:28:18][V][json:058]: Size after shrink 80 bytes
[19:28:18][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2662311404
state: 47172
missing_state: NO
}
[19:28:18][D][modbus_controller.sensor:025]: Sensor new state: 13368.00
[19:28:18][V][sensor:043]: ‘Average Cell Temp’: Received new state 13368.000000
[19:28:18][D][sensor:094]: ‘Average Cell Temp’: Sending state 13368.00000 C with 0 decimals of accuracy
[19:28:18][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[19:28:18][V][json:058]: Size after shrink 84 bytes
[19:28:18][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3887614590
state: 13368
missing_state: NO
}
[19:28:18][W][component:214]: Component modbus_controller took a long time for an operation (0.20 s).
[19:28:18][W][component:215]: Components should block for at most 20-30ms.
[19:28:18][D][uart_debug:158]: <<< “\x01\x03\x06\x00\x00\xB8D48R\xD2”
[19:28:18][V][modbus_controller:047]: Sending next modbus command to device 1 register 0x100A count 1
[19:28:18][D][uart_debug:158]: >>> “\x01\x03\x10\n”
[19:28:18][VV][uart.arduino_esp32:180]: Flushing…
[19:28:18][V][modbus:199]: Modbus write: 01.03.10.0A.00.01.A0.C8 (8)

There isn’t enough information in that random log snippet to tell what you’re trying to do (and no, “how can read this data” is not enough either). Please post your properly formatted YAML configuration for the device and what it is you’re trying to do in a bit more detail.

1 Like
Narada 48NPFC100 lithium with rs485 esp32 rs to ttl adapter

ESP Code
esphome:
  name: solar-inverter-esp32

esp32:
  board: esp32dev


#////////Enable logging////////////
logger:
  level: VERY_VERBOSE
  logs:
    scheduler: DEBUG
    component: DEBUG

#//////////////Enable Home Assistant API/////////////
api:
  encryption:
    key: "j74oVBj2fY2ctE/FJ/yQJOyaCVzM3IEbE2scrALcamU="
#//////////OTA/////////////
ota:
  password: "713da4e538b9c2c1e323deea20bf0ce6"
#//////////WiFi//////////////
wifi:
  ssid: Home WiFi
  password: Home5642096


#////////////fallback hotspot///////////
  ap:
    ssid: "Narada-Bms Hotspot"
    password: "internetit"
#/////////mqtt//////////


#////////uart////////////

captive_portal:
uart:
  id: uart_bus
  tx_pin: GPIO19
  rx_pin: GPIO18
  baud_rate: 9600
  stop_bits: 1
  debug:
    direction: BOTH
    dummy_receiver: false
    after:
      delimiter: "\n"
    sequence:
      - lambda: UARTDebug::log_string(direction, bytes);



#////////////modbus//////////

modbus:
  id: modbus1
  flow_control_pin: GPIO4
  uart_id: uart_bus
  send_wait_time: 500ms

modbus_controller:
  - id: epever
    address: 0x01  ## address of the ModBUS slave device on the bus
    modbus_id: modbus1
    
    command_throttle: 200ms
    setup_priority: -10
    update_interval: 10s
    

#//////////////Sensor/////////////////////////
#//////////////Sensor/////////////////////////
sensor:
#//////////Cell Volte////////////////////////
- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_0
  name: "Cell Volte 0"
  address: 0x100D
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding       
  bitmask: 0xC000

- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_1
  name: "Cell Volte 1"
  address: 0x100E
  entity_category: DIAGNOSTIC
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding      
  bitmask: 0xC000
  
- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte2
  name: "Cell Volte 2"
  address: 0x100F
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding      
  bitmask: 0xC000
  
- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_3
  name: "Cell Volte 3"
  address: 0x1010
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding      
  bitmask: 0xC000
  
- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte4
  name: "Cell Volte 4"
  address: 0x1011
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding   
  bitmask: 0xC000
  
- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_5
  name: "Cell Volte 5"
  address: 0x1012
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding     
  bitmask: 0xC000
  
- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte6
  name: "Cell Volte 6"
  address: 0x1013
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding    

- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_7
  name: "Cell Volte 7"
  address: 0x1014
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding    

- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte8
  name: "Cell Volte 8"
  address: 0x1015
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding   

- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_9
  name: "Cell Volte 9"
  address: 0x1016
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding


- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte10
  name: "Cell Volte 10"
  address: 0x1017
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding


- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_11
  name: "Cell Volte 11"
  address: 0x1018
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding


- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte12
  name: "Cell Volte 12"
  address: 0x1019
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding


- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_13
  name: "Cell Volte 13"
  address: 0x101A
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding


- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte14
  name: "Cell Volte 14"
  address: 0x101B
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type:  holding


- platform: modbus_controller
  modbus_controller_id: epever
  id: cell_volte_15
  name: "Cell Volte 15"
  address: 0x101C
  unit_of_measurement: "V" ## for any other unit the value is returned in minutes
  register_type: holding


#///////////////////Cell Temp/////////////////
- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 0"
  id: cell_temp_0
  register_type: holding
  address: 0x101E
  unit_of_measurement: "C"


- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 1"
  id: cell_temp_1
  register_type: holding
  address: 0x101F
  unit_of_measurement: "C"


- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 2"
  id: cell_temp_2
  register_type: holding
  address: 0x1020
  unit_of_measurement: "C"


- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 3"
  id: cell_temp_3
  register_type: holding
  address: 0x1021
  unit_of_measurement: "C"



- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 4"
  id: cell_temp_4
  register_type: holding
  address: 0x1022
  unit_of_measurement: "C"


- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 5"
  id: cell_temp_5
  register_type: holding
  address: 0x1023
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 6"
  id: cell_temp_6
  register_type: holding
  address: 0x1024
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 7"
  id: cell_temp_7
  register_type: holding
  address: 0x1025
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 8"
  id: cell_temp_8
  register_type: holding
  address: 0x1026
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 9"
  id: cell_temp_9
  register_type: holding
  address: 0x1027
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 10"
  id: cell_temp_10
  register_type: holding
  address: 0x1028
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 11"
  id: cell_temp_11
  register_type: holding
  address: 0x1029
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 12"
  id: cell_temp_12
  register_type: holding
  address: 0x102A
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 13"
  id: cell_temp_13
  register_type: holding
  address: 0x102B
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 14"
  id: cell_temp_14
  register_type: holding
  address: 0x102C
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Temp 15"
  id: cell_temp_15
  register_type: holding
  address: 0x102D
  unit_of_measurement: "C"


#///////////////Cell D/////////////
- platform: modbus_controller
  modbus_controller_id: epever
  name: "Remain Capacity"
  id: remain_capacity
  register_type: holding
  address: 0x1001
  unit_of_measurement: "AH"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Average Cell Temp"
  id: average_cell_temp
  register_type: holding
  address: 0x1002
  unit_of_measurement: "C"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Current Battery"
  id: current_battery
  register_type: holding
  address: 0x1000
  unit_of_measurement: "AH"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Cell Number"
  id: cell_number
  register_type: holding
  address: 0x100C
  unit_of_measurement: "#"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Full Capacity"
  id: full_capacity
  register_type: holding
  address: 0x102E
  unit_of_measurement: "AH"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Remain Charge Time"
  id: remain_charge_time
  register_type: holding
  address: 0x102F
  unit_of_measurement: "Min"

- platform: modbus_controller
  modbus_controller_id: epever
  name: "Remain Discharge Time"
  id: remain_discharge_time
  register_type: holding
  address: 0x1030
  unit_of_measurement: "Min"
  

- platform: modbus_controller
  modbus_controller_id: epever
  name: "BMS PCB TEmp"
  id: bms_pcb_temp
  register_type: holding
  address: 0x100A
  unit_of_measurement: "C"

#/////////////web Server/////////////////////
web_server:
  port: 80
  auth:
    username: admin
    password: internetit
  • List item

ESP reading

INFO ESPHome 2023.12.5
INFO Reading configuration /config/esphome/solar-inverter-esp32.yaml…
INFO Starting log output from 192.168.101.170 using esphome API
INFO Successfully connected to solar-inverter-esp32 @ 192.168.101.170 in 0.027s
INFO Successful handshake with solar-inverter-esp32 @ 192.168.101.170 in 0.170s
[18:06:11][I][app:102]: ESPHome version 2023.12.5 compiled on Jan 1 2024, 19:08:13
[18:06:11][C][wifi:573]: WiFi:
[18:06:11][C][wifi:405]: Local MAC: E0:E2:E6:AC:AC:BC
[18:06:11][C][wifi:410]: SSID: [redacted]
[18:06:11][C][wifi:411]: IP Address: 192.168.101.170
[18:06:11][C][wifi:413]: BSSID: [redacted]
[18:06:11][C][wifi:414]: Hostname: ‘solar-inverter-esp32’
[18:06:11][C][wifi:416]: Signal strength: -70 dB ▂▄▆█
[18:06:11][V][wifi:418]: Priority: 0.0
[18:06:11][C][wifi:420]: Channel: 1
[18:06:11][C][wifi:421]: Subnet: 255.255.255.0
[18:06:11][C][wifi:422]: Gateway: 192.168.101.254
[18:06:11][C][wifi:423]: DNS1: 192.168.101.253
[18:06:11][C][wifi:424]: DNS2: 8.8.8.8
[18:06:11][C][logger:443]: Logger:
[18:06:11][C][logger:444]: Level: VERY_VERBOSE
[18:06:11][C][logger:445]: Log Baud Rate: 115200
[18:06:11][C][logger:447]: Hardware UART: UART0
[18:06:11][C][logger:451]: Level for ‘scheduler’: DEBUG
[18:06:11][C][logger:451]: Level for ‘component’: DEBUG
[18:06:11][W][modbus_controller:030]: Modbus device=1 set offline
[18:06:11][D][modbus_controller:043]: Modbus command to device=1 register=0x100A countdown=0 no response received - removed from send queue
[18:06:11][V][modbus_controller:047]: Sending next modbus command to device 1 register 0x100C count 17
[18:06:11][VV][uart.arduino_esp32:180]: Flushing…
[18:06:11][V][modbus:199]: Modbus write: 01.03.10.0C.00.11.41.05 (8)
[18:06:11][V][modbus_controller:509]: Command sent 3 0x100C 17
[18:06:11][C][uart.arduino_esp32:137]: UART Bus 1:
[18:06:11][C][uart.arduino_esp32:138]: TX Pin: GPIO19
[18:06:11][C][uart.arduino_esp32:139]: RX Pin: GPIO18
[18:06:11][C][uart.arduino_esp32:141]: RX Buffer Size: 256
[18:06:11][C][uart.arduino_esp32:143]: Baud Rate: 9600 baud
[18:06:11][C][uart.arduino_esp32:144]: Data Bits: 8
[18:06:11][C][uart.arduino_esp32:145]: Parity: NONE
[18:06:11][C][uart.arduino_esp32:146]: Stop bits: 1
[18:06:11][D][uart_debug:158]: >>> “\x01\x03\x10\f\x00\x11A\x05”
[18:06:11][V][modbus:042]: Modbus received Byte 1 (0X1)
[18:06:11][V][modbus:042]: Modbus received Byte 3 (0X3)
[18:06:11][V][modbus:042]: Modbus received Byte 34 (0X22)
[18:06:11][V][modbus:042]: Modbus received Byte 0 (0X0)
[18:06:11][V][modbus:042]: Modbus received Byte 0 (0X0)
[18:06:11][V][modbus:042]: Modbus received Byte 184 (0Xb8)
[18:06:11][V][modbus:042]: Modbus received Byte 68 (0X44)
[18:06:11][V][modbus:042]: Modbus received Byte 77 (0X4d)
[18:06:11][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:11][V][modbus:042]: Modbus received Byte 112 (0X70)
[18:06:11][V][modbus:042]: Modbus received Byte 132 (0X84)
[18:06:11][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:11][V][modbus:042]: Modbus received Byte 78 (0X4e)
[18:06:11][V][modbus:042]: Modbus received Byte 68 (0X44)
[18:06:11][V][modbus:042]: Modbus received Byte 53 (0X35)
[18:06:11][V][modbus:042]: Modbus received Byte 56 (0X38)
[18:06:11][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:11][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:11][V][modbus:042]: Modbus received Byte 69 (0X45)
[18:06:11][V][modbus:042]: Modbus received Byte 76 (0X4c)
[18:06:11][V][modbus:042]: Modbus received Byte 84 (0X54)
[18:06:11][V][modbus:042]: Modbus received Byte 69 (0X45)
[18:06:11][V][modbus:042]: Modbus received Byte 75 (0X4b)
[18:06:11][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:11][V][modbus:042]: Modbus received Byte 50 (0X32)
[18:06:11][V][modbus:042]: Modbus received Byte 49 (0X31)
[18:06:11][V][modbus:042]: Modbus received Byte 46 (0X2e)
[18:06:11][V][modbus:042]: Modbus received Byte 83 (0X53)
[18:06:11][V][modbus:042]: Modbus received Byte 54 (0X36)
[18:06:11][V][modbus:042]: Modbus received Byte 46 (0X2e)
[18:06:11][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:11][V][modbus:042]: Modbus received Byte 55 (0X37)
[18:06:11][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:11][V][modbus:042]: Modbus received Byte 50 (0X32)
[18:06:11][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:11][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:11][V][modbus:042]: Modbus received Byte 57 (0X39)
[18:06:11][V][modbus:042]: Modbus received Byte 171 (0Xab)
[18:06:11][V][modbus:042]: Modbus received Byte 36 (0X24)
[18:06:11][W][modbus_controller:064]: Modbus device=1 back online
[18:06:11][V][modbus_controller:078]: Modbus response queued
[18:06:11][W][component:214]: Component modbus took a long time for an operation (0.24 s).
[18:06:11][W][component:215]: Components should block for at most 20-30ms.
[18:06:11][V][modbus_controller:086]: Process modbus response for address 0x100C size: 34
[18:06:11][V][modbus_controller:121]: data for register address : 0x100C :
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 0.00
[18:06:11][V][sensor:043]: ‘Cell Number’: Received new state 0.000000
[18:06:11][D][sensor:094]: ‘Cell Number’: Sending state 0.00000 # with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 72 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 1971029063
state: 0
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 2.00
[18:06:11][V][sensor:043]: ‘Cell Volte 0’: Received new state 2.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 0’: Sending state 2.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 72 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071111
state: 2
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 1.00
[18:06:11][V][sensor:043]: ‘Cell Volte 1’: Received new state 1.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 1’: Sending state 1.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 72 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071110
state: 1
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 1.00
[18:06:11][V][sensor:043]: ‘Cell Volte 2’: Received new state 1.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 2’: Sending state 1.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 72 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071109
state: 1
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 0.00
[18:06:11][V][sensor:043]: ‘Cell Volte 3’: Received new state 0.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 3’: Sending state 0.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 72 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071108
state: 0
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 1.00
[18:06:11][V][sensor:043]: ‘Cell Volte 4’: Received new state 1.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 4’: Sending state 1.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 72 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071107
state: 1
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 0.00
[18:06:11][V][sensor:043]: ‘Cell Volte 5’: Received new state 0.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 5’: Sending state 0.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 72 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071106
state: 0
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 11589.00
[18:06:11][V][sensor:043]: ‘Cell Volte 6’: Received new state 11589.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 6’: Sending state 11589.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:11][V][json:058]: Size after shrink 76 bytes
[18:06:11][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071105
state: 11589
missing_state: NO
}
[18:06:11][D][modbus_controller.sensor:025]: Sensor new state: 19540.00
[18:06:11][V][sensor:043]: ‘Cell Volte 7’: Received new state 19540.000000
[18:06:11][D][sensor:094]: ‘Cell Volte 7’: Sending state 19540.00000 V with 0 decimals of accuracy
[18:06:11][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 76 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071104
state: 19540
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 17739.00
[18:06:12][V][sensor:043]: ‘Cell Volte 8’: Received new state 17739.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 8’: Sending state 17739.00000 V with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 76 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071119
state: 17739
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 11570.00
[18:06:12][V][sensor:043]: ‘Cell Volte 9’: Received new state 11570.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 9’: Sending state 11570.00000 V with 0 decimals of accuracy
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3432071118
state: 11570
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 12590.00
[18:06:12][V][sensor:043]: ‘Cell Volte 10’: Received new state 12590.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 10’: Sending state 12590.00000 V with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 80 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3467076738
state: 12590
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 21302.00
[18:06:12][V][sensor:043]: ‘Cell Volte 11’: Received new state 21302.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 11’: Sending state 21302.00000 V with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 80 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3467076739
state: 21302
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 11824.00
[18:06:12][V][sensor:043]: ‘Cell Volte 12’: Received new state 11824.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 12’: Sending state 11824.00000 V with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 80 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3467076736
state: 11824
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 14125.00
[18:06:12][V][sensor:043]: ‘Cell Volte 13’: Received new state 14125.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 13’: Sending state 14125.00000 V with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 80 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3467076737
state: 14125
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 12848.00
[18:06:12][V][sensor:043]: ‘Cell Volte 14’: Received new state 12848.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 14’: Sending state 12848.00000 V with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 80 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3467076742
state: 12848
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 12345.00
[18:06:12][V][sensor:043]: ‘Cell Volte 15’: Received new state 12345.000000
[18:06:12][D][sensor:094]: ‘Cell Volte 15’: Sending state 12345.00000 V with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 80 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3467076743
state: 12345
missing_state: NO
}
[18:06:12][W][component:214]: Component modbus_controller took a long time for an operation (0.83 s).
[18:06:12][W][component:215]: Components should block for at most 20-30ms.
[18:06:12][C][modbus:143]: Modbus:
[18:06:12][C][modbus:144]: Flow Control Pin: GPIO4
[18:06:12][C][modbus:145]: Send Wait Time: 500 ms
[18:06:12][C][modbus:146]: CRC Disabled: NO
[18:06:12][D][uart_debug:158]: <<< “\x01\x03"\x00\x00\xB8DM0p\x84-ND580-ELTEK-21.S6.07-2009\xAB$”
[18:06:12][V][modbus_controller:047]: Sending next modbus command to device 1 register 0x101E count 19
[18:06:12][VV][uart.arduino_esp32:180]: Flushing…
[18:06:12][V][modbus:199]: Modbus write: 01.03.10.1E.00.13.60.C1 (8)
[18:06:12][V][modbus_controller:509]: Command sent 3 0x101E 19
[18:06:12][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor ‘Cell Volte 0’
[18:06:12][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: ‘’
[18:06:12][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: ‘V’
[18:06:12][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 0
[18:06:12][D][uart_debug:158]: >>> “\x01\x03\x10\x1E\x00\x13`\xC1”
[18:06:12][V][modbus:042]: Modbus received Byte 1 (0X1)
[18:06:12][V][modbus:042]: Modbus received Byte 3 (0X3)
[18:06:12][V][modbus:042]: Modbus received Byte 38 (0X26)
[18:06:12][V][modbus:042]: Modbus received Byte 0 (0X0)
[18:06:12][V][modbus:042]: Modbus received Byte 0 (0X0)
[18:06:12][V][modbus:042]: Modbus received Byte 184 (0Xb8)
[18:06:12][V][modbus:042]: Modbus received Byte 68 (0X44)
[18:06:12][V][modbus:042]: Modbus received Byte 77 (0X4d)
[18:06:12][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:12][V][modbus:042]: Modbus received Byte 112 (0X70)
[18:06:12][V][modbus:042]: Modbus received Byte 132 (0X84)
[18:06:12][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:12][V][modbus:042]: Modbus received Byte 78 (0X4e)
[18:06:12][V][modbus:042]: Modbus received Byte 68 (0X44)
[18:06:12][V][modbus:042]: Modbus received Byte 53 (0X35)
[18:06:12][V][modbus:042]: Modbus received Byte 56 (0X38)
[18:06:12][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:12][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:12][V][modbus:042]: Modbus received Byte 69 (0X45)
[18:06:12][V][modbus:042]: Modbus received Byte 76 (0X4c)
[18:06:12][V][modbus:042]: Modbus received Byte 84 (0X54)
[18:06:12][V][modbus:042]: Modbus received Byte 69 (0X45)
[18:06:12][V][modbus:042]: Modbus received Byte 75 (0X4b)
[18:06:12][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:12][V][modbus:042]: Modbus received Byte 50 (0X32)
[18:06:12][V][modbus:042]: Modbus received Byte 49 (0X31)
[18:06:12][V][modbus:042]: Modbus received Byte 46 (0X2e)
[18:06:12][V][modbus:042]: Modbus received Byte 83 (0X53)
[18:06:12][V][modbus:042]: Modbus received Byte 54 (0X36)
[18:06:12][V][modbus:042]: Modbus received Byte 46 (0X2e)
[18:06:12][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:12][V][modbus:042]: Modbus received Byte 55 (0X37)
[18:06:12][V][modbus:042]: Modbus received Byte 45 (0X2d)
[18:06:12][V][modbus:042]: Modbus received Byte 50 (0X32)
[18:06:12][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:12][V][modbus:042]: Modbus received Byte 48 (0X30)
[18:06:12][V][modbus:042]: Modbus received Byte 57 (0X39)
[18:06:12][V][modbus:042]: Modbus received Byte 171 (0Xab)
[18:06:12][V][modbus:042]: Modbus received Byte 36 (0X24)
[18:06:12][V][modbus:042]: Modbus received Byte 252 (0Xfc)
[18:06:12][V][modbus:042]: Modbus received Byte 13 (0Xd)
[18:06:12][V][modbus:042]: Modbus received Byte 166 (0Xa6)
[18:06:12][V][modbus:042]: Modbus received Byte 245 (0Xf5)
[18:06:12][V][modbus_controller:078]: Modbus response queued
[18:06:12][W][component:214]: Component modbus took a long time for an operation (0.26 s).
[18:06:12][W][component:215]: Components should block for at most 20-30ms.
[18:06:12][V][modbus_controller:086]: Process modbus response for address 0x101E size: 38
[18:06:12][V][modbus_controller:121]: data for register address : 0x101E :
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 0.00
[18:06:12][V][sensor:043]: ‘Cell Temp 0’: Received new state 0.000000
[18:06:12][D][sensor:094]: ‘Cell Temp 0’: Sending state 0.00000 C with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 72 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351783
state: 0
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 47172.00
[18:06:12][V][sensor:043]: ‘Cell Temp 1’: Received new state 47172.000000
[18:06:12][D][sensor:094]: ‘Cell Temp 1’: Sending state 47172.00000 C with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 76 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351782
state: 47172
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 19760.00
[18:06:12][V][sensor:043]: ‘Cell Temp 2’: Received new state 19760.000000
[18:06:12][D][sensor:094]: ‘Cell Temp 2’: Sending state 19760.00000 C with 0 decimals of accuracy
[18:06:12][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:12][V][json:058]: Size after shrink 76 bytes
[18:06:12][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351781
state: 19760
missing_state: NO
}
[18:06:12][D][modbus_controller.sensor:025]: Sensor new state: 28804.00
[18:06:12][V][sensor:043]: ‘Cell Temp 3’: Received new state 28804.000000
[18:06:13][D][sensor:094]: ‘Cell Temp 3’: Sending state 28804.00000 C with 0 decimals of accuracy
[18:06:13][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:13][V][json:058]: Size after shrink 76 bytes
[18:06:13][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351780
state: 28804
missing_state: NO
}
[18:06:13][D][modbus_controller.sensor:025]: Sensor new state: 11598.00
[18:06:13][V][sensor:043]: ‘Cell Temp 4’: Received new state 11598.000000
[18:06:13][D][sensor:094]: ‘Cell Temp 4’: Sending state 11598.00000 C with 0 decimals of accuracy
[18:06:13][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:13][V][json:058]: Size after shrink 76 bytes
[18:06:13][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351779
state: 11598
missing_state: NO
}
[18:06:13][D][modbus_controller.sensor:025]: Sensor new state: 17461.00
[18:06:13][V][sensor:043]: ‘Cell Temp 5’: Received new state 17461.000000
[18:06:13][D][sensor:094]: ‘Cell Temp 5’: Sending state 17461.00000 C with 0 decimals of accuracy
[18:06:13][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:13][V][json:058]: Size after shrink 76 bytes
[18:06:13][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351778
state: 17461
missing_state: NO
}
[18:06:13][D][modbus_controller.sensor:025]: Sensor new state: 14384.00
[18:06:13][V][sensor:043]: ‘Cell Temp 6’: Received new state 14384.000000
[18:06:13][D][sensor:094]: ‘Cell Temp 6’: Sending state 14384.00000 C with 0 decimals of accuracy
[18:06:13][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:13][V][json:058]: Size after shrink 76 bytes
[18:06:13][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351777
state: 14384
missing_state: NO
}
[18:06:13][D][modbus_controller.sensor:025]: Sensor new state: 11589.00
[18:06:13][V][sensor:043]: ‘Cell Temp 7’: Received new state 11589.000000
[18:06:13][D][sensor:094]: ‘Cell Temp 7’: Sending state 11589.00000 C with 0 decimals of accuracy
[18:06:13][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:13][V][json:058]: Size after shrink 76 bytes
[18:06:13][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351776
state: 11589
missing_state: NO
}
[18:06:13][D][modbus_controller.sensor:025]: Sensor new state: 19540.00
[18:06:13][V][sensor:043]: ‘Cell Temp 8’: Received new state 19540.000000
[18:06:13][D][sensor:094]: ‘Cell Temp 8’: Sending state 19540.00000 C with 0 decimals of accuracy
[18:06:13][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[18:06:13][V][json:058]: Size after shrink 76 bytes
[18:06:13][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2066351791
state: 19540
missing_state: NO
}

You unfortunately missed the part about properly formatted YAML configuration.

I didn’t understand what you meant

There is a link right in my initial and follow up posts that takes you right to the forum help section that talks about how to format your YAML so that it’s readable in the forum.

now is ready after editing