While watching some basketball over the weekend, I brought up old program that I wrote to read information from my Morningstar Tristar-60 Solar controller. This controller used Modbus-TCP as a protocol, and the great thing about the Cerbo GX is that uses Modbus-TCP. Modbus is very convenient in that you can read multiple registers at once, so it simplifies the call to the device.
So I took the old program as a starting point, and developed one for my Victron stuff. They have an excel sheet that gives you all the registers that are available , what post processing you will need to do and such, so pretty easy.
So this is my test example program ( visual studios C# program). Being that I am using pretty much all Victron or Victron supported devices they were all available. In my old Sportsmobile had to use multiple protocols to get all the similar data ( multiple serial ports, both 232 and 485, Modbus and more. Here I just used the local IP for the Cerbo, and pretty much get the data I want.
I know it may be a little overly geeky excitement, but I remember how much coding went into getting that data on my old van. Plus, it is fun to push the brain a little.