How to get information from inverter and battery?

Hey,

I’m fairly new to the solar energy world. I just bought a lexron 3000W invertor which has a BMS/RS485 and an RS232 ethernet-like jacks.

I’m also going to order a 24V 200ah lifepo4 battery that has bluetooth BMS as I read from the specs.

I have experience with esphome and doing my own simple devices but I cannot get my head around on how I could get data from the inverter or the battery to my home assistant.

Are there devices that can be pluged to those ethernet-like jacks and connect to home assistant via wifi etc.

What would be the direction you could point me to understand the system a bit better.

Finding the manual for your inverter that specifies the services / API available on those ports would be the best starting point.