Hello @mvader (Victron Energy)
After a few weeks of trying to implement a new driver (https://github.com/victronenergy/venus/wiki/howto-add-a-driver-to-Venus) for Kostal PV Generators (that is using Sunspec Standard but on different settings :) ) and looking into a lot of your code blocks on Github and on the CCGX, I found out that there is a python Service already running (dbus-systemcalc-py), that is fetching and merging all infos together... Just what I need...
So I tried to implement a driver that fetches ModbusTCP data from external devices, where I got stuck, because I am not able to install pip or other software (apt-get) on the gx device :( ...
So I looked a lot how you solve and address these things and stranded in a lot of c++ code..
After a few days of success and misses I was mowing the lawn and thought about the Xlsx Sheet ModbusTcp Register list, where there are a lot of writeable registers (from external).
And there, a new idea popped up.
Is it possible, that victron implements a writeable registerlist for one complete generic Generator with the required information for each position in the ESS System
One AC in / One AC out
then I am able to fetch all available PV, Wind and other Generators connected in the Sytem, parse them together and send the Sum of them to this generic Generator;
The same also for DC Generators as well
(I was listening to Bob Hopman on todays (26.6.2020) Webinar of mppt s, and a customer asked if it is possivle to add Data of 40 BlueSolars to the system... so, this is not possible, but when you fetch this data with different hardware and post it to the VenusOS via ModbusTCP, then you would have all the info there as well.)
So I get all the measurements of each phase and write them once per second to the generic Generator;
The dbus_systemcalc.py could fetch this data as well, and on the other hand, it would be possible to show these readings on the Display as well, and on VRM Portal for logging.
What do you think about?
It would open up the world and reduces your work to implement each different Type of Generator moving along or beside sunspec standards, device Id s and so on..
Wish you all the best