Modbus comunication with level sensor and DI/DO module through Node-Red

Hello,

I’m struggling with to set the whole set i have.I have to say, that’s my first time with this type od things and have no expirience with Node-red and Modbus.
I’ve allready set the comunication with RS585 module and I have everything checked on ModbusPool and set a server for HA, but need guidance how to add the functions to HA. I’ve search internet, and supposedly Node-red be the best tool.

First thing is level sensor, whitch suppose to masure level in the tank.
Already done the link whitch is active, but dont know what’s further, what node to use, to show the numbers.

Second thing is 8DI/8DO module. Don’t know at all how to bite it.

I’m adding the screanshots.

Thank you for your understanding for me as a begginer and help.