Remote control rs485 rtu wired wi fi for heat pump

Good morning, I have installed a Ferroli Omnia 3.2 heat pump, in turn equipped with a wired remote control with RS485 btu connection, and wi-fi connected to the router, reachable via app presumably on a remote cloud. I wanted to read the registers of the machine through HA, as there is no integration for my case, reflection of pecking through the IP address assigned to it by the router with its dedicated port 502 for modbus the various readings, but I tried these 2 lines of

modbus code : name: hub1
type: tpc host:
port: 502
sensor_rails: name: “ferr 1”
address: 40001
scan_interval: 20 slave: 1

sensors: name: "Ferr 2
" unit_of_measurement: hz
scale: 0.1 slave: 0
accuracy: 2
input_type: input address: 40102
scan_interval: 30

but without getting results. Perhaps someone has already carried out this test or can give me some advice. Thank you

you solved ??