Hi, I'm not sure if this is the correct forum for this - I'm sure somebody will let me know if it is not. :-)
In my off-grid home, I use the open source project OpenHAB to manage energy consumption, display status information and produce warnings for potential issues.
First suggestion - No MQTT shutdown
I connect to the MQTT broker on my venus GX to obtain a the huge wealth of data that the Victron systems make available.
While I fully understand that Victron do not want every Venus user in the world permanently connected to their MQTT broker (the Venus OS mirrors data from the local broker to the Victron broker), resolving this by shutting down the Venus data propagation every 60 seconds seems like a bad idea (to me anyway). I have of course prevented this shut-down on my system (by publishing to the broker every 30 seconds), but in so doing, I am generating traffic out of my network AND placing an additional load on the Victron broker.
Perhaps it would be a better plan to have a script wake up every 15 minutes to publish the data from the local broker to the Victron broker, then close down THAT link (only)? This would mean that a keep-alive would no longer be required, the local broker would continue to get updated, Victron brokers would not be getting hit as much and (very importantly) retained data on the local server would no longer disparate if the keep-alive stops.
Second suggestion - MPPT PMax data
My automation system tries to optimise energy usage by attempting to use energy when there is an excess (in the middle of a sunny day) and conserve when there is a shortage (overcast).
One thing that makes this difficult, is that once the solar controllers go out of bulk mode, I never really know how much more energy I can use before I start discharging the battery (or making the controllers drop back to bulk). The data value that would make this really easy would be "estimated max power" - the controllers estimation of how much output power would be generated if the controller went back to MPPT mode.
Right now I estimate this data by combining information from my own weather station (solar radiation) with information from the Venus controller. This tends to be fairly unreliable due to the infrequent updates from the weather station (20 seconds) and the fact that I have three solar arrays pointing in three different directions.
I realise that the MQTT part of the Venus is open source and I would love to contribute, but while I have some programming experience, none is with Python and I don't think my skills would be up to producing anything worthwhile. I would of course be very happy to help with testing etc.