SEPLOS 3.0 Modbus Home assitant code Help

good morning community
I wanted to integrate bms selpos 3.0 starting from an elfin ew1 or usb rs485.
Following a first test and manual any help is welcome.
Seplos Manual.

2024-10-07T22:00:00Z

#____________________________test seplos_________________________-
# Bms seplos 3.0 modbas tet by djstorm v1
#1.1 Configuration:
#Baud Rate:19200
#Parity bit:No
#Data Bits:8
#Stop Bit:1

#1.2 Port features:
#RS485:BMS response which is self address only.
modbus:
  - type: rtuovertcp
    name: SEPLOS3
    host: 192.168.1.88
    port: 8899
    delay: 0 # modifica da 0 a 5
    message_wait_milliseconds: 1000
    timeout: 4
#COLLEGAMENTO VIA USB MODIFICARE PARTE SOPRA PARTE SOPRA
#COLLEGAMENTO VIA USB TOGLIERE PARTE SOPRA
# - type: serial
#    name: hub2
#    method: rtu
#    port: /dev/ttyUSB0
#    baudrate: 115200
#    stopbits: 1
#    bytesize: 8
#    parity: N
# MODBUS SENSORI EPEVER DIVISIONE ID 1-2-3 VEDI SLAVE: MOD ERNESTO ________

    sensors:
# 1000    Pack Voltage                R    UINT16    2    10mV DEC 4096
      - name: SEPLOS N1 TENSIONE
        unique_id: SEPLOS_N1_TENSIONE
        unit_of_measurement: V
        slave: 0 #SLAVE
        address: 4096 #0X100
        input_type: input
        scale: 0.01 #10mV
        precision: 2
        device_class: voltage
        scan_interval: 5
# value_type: U_WORD```

for now I just put a variable

type: tcp

slave: 1 # 0 it’s broadcast address


I have to read variable loops. counter that counts a number of battery cycles can you tell me how… I thought…

1007 Cycle R UINT16 2 1 …DEC 4103


- name: SEPLOS N1 SOH
unique_id: SEPLOS_N1_SOH
unit_of_measurement: “?”
slave: 0
address: 4103
input_type: input
device_class: ?
scan_interval: 300
scale: 0
accuracy_decimals: 0 #verificare e aggiungere su tutti