Best way to monitor DC voltage from solar array and battery bank?

If you have one of their hubs (Core or M1), you can use the Renogy API and this Home Assistant integration:

Version 1.0 was just released. Check it out!