Adding my work to third party support

So Ive been working on integrating support for third party batteries and have come to the conclusion that it would be best to create installable modules and add them to the supported list.

And I honestly have no idea how to do that, or who is responsible for the third party batteries github.

Afaik, I cant do the work myself but rather need someone to do it for me? Since Ive added tested support for two battery manufacturers and have a third untested version, who do I get in touch with about having that support added to the official installer?

Also, is there a cerbo installer front end that I should port my other work to ?

Then theres also the issue of a bluetooth bug I found in the kernel, Ive reported it to the appropriate people, as its a ā€œlinux thingā€. The issue however also arises in the cerbo kernel as well and could essentially be fixed in the next release.

Victron don’t generally support third party mods. They only support CAN based batteries that use the victron BMS CAN spec and complete the relevant testing. This is achieved via contacting the regional manager.
There are already other third party mods, such as serial battery, which are independently maintained and supported.

Thiemo van Engelen is one of the developers more involved in low level firmware, from what I’ve gather during time.

Hi, that is largely beyond the scope of this community.
Best approach is to mail your request to your regional manager, details on the victron contact page.
Maybe @guystewart can advise? The passion and enthusiasm is great though.

Hi @bachete

What you see at first sight and get you excited…
You will find out that the hardware and (important) low level drivers are not open-source. Which is normal.
The system exposes to the exterior MQTT and Modbus and based on them you can do whatever you want with the data.
More of that the MQTT and Modbus drivers are also open-source. Which is good.
Also the structure of the dbus system is also open source and therefore, whatever you cannot do at high level you can do at low level.
Additionally, the comms over the buses are becoming more and more open, because of the enthusiasts that have reverse engineered them and it’s now common knowledge how to pick or poke additional info.
So, you see, it’s not that bad…

What you don’t see at first sight and get you somehow disappointed…
What started ā€œdifferentā€ from other manufacturers (openes, user’s involvment, etc) and used as a strength in marketing, now somehow backfired and made some a little bit uncomfortable.
I am also an enthusiast like you, but soon realized that this community is not for ideas exchange, but more for testing Victron ideas, in the limits defined by Victron and not for outside of the box thinking.
You need to follow a code, being put back in place almost immediately by quoting the rules if you step out of the bounds.
And you will find that the more ā€œrigorousā€ ones are having or getting advantages from Victron in various forms.
But, then again, it’s normal, because the base domain for this community it’s victronenergy…

Once you get past these, you can look relaxed at the community and see that the new users that are meeting the Victron universe for the first time, don’t have any chance and get trapped here. Because the Victron universe is quite complex, from both technical and social point of view…
It will become a sadistic/masochistic relationship where the users want for more and Victron says maybe later…

Rant over… Waiting for moderation… Just kidding… Or not. :grinning_face_with_smiling_eyes:

That’s because the hardware evolved on the run… I’ve said my 2 cents here about it.

In my opinion this is not an obstacle. It’s the easiest to get pass by…
The components used on all hardwares are general purpose components, obtainable on bulk on Alibaba.
Because of some of the things we are involved in, we have contacts on some far eastern companies, that, for a fee, are extracting for you the firmware from almost any microcontroller.
I’ve personally witnessed the process where they were exposing the microcontroller’s die and removed the flash array protection at physical level. Then, it’s only a matter of reading back the flash array through JTAG.
This is possible because all western companies are making the commercial chips on their country and therefore they have access and knowledge to the layout of the physical die and where different functional blocks are located.
In commercial, general purpose products (like Victron’s) nobody is using the latest chips with cutting edge flash protection. Most microcontrollers used have only some simple bits that are set/reset for flash and/or eeprom protections, easier to invalidate if you have access to the physical die.
Once you have the unencrypted firmware, it’s easier to use tools like IDA Pro to find out the encryption algorithm and then all subsequent firmware updates to be decrypted.

I believe we are talking about different things…
You are talking about Cerbo - the system controller (isn’t it?) and I am talking about inverters, chargers, MPPTs - the workload horses… :grinning_face_with_smiling_eyes:
On Cerbo all is in clear, the others have the firmware encrypted. And the inverters can work without Cerbo, but not the other way around.
You can duplicate the hardware of an inverter, but without the firmware it’s difficult to multiply it, so there is the magic spot…

Do you think it is feasible, at all, to modify the MP-II firmware to accept lower minimum voltage settings? I run Li-Ion 12S, 44V nominal. Safe cell Voltage range from 3V to 4.2V, 36V to 50.4V. I can set the lower cut-off voltage limits on the MP-II (via mk3-usb plus laptop and old fashioned Victron app) to 36V and indeed it will run (almost) that low in inverter mode. But the lowest ā€˜safe recharge’ voltage I can set is 5.2V higher at 41.2V which means it will never discharge lower than that in ESS/DESS mode, leaving about 20 to 25% capacity ā€˜on the table’. And yes I am aware the inverter gets quirky on its waveforms at those low voltages but still I rather have the ability to do a full discharge onto the grid, occasionally for battery cycle/capacity measurements.

You’re going to find that many of the truths we cling to depend greatly on our own point of view.

There is no spoon Oracle.

I unplugged before you could, remember.

Yeah, I got that, hahaha. I was just wondering whether it could be as simple as decompiling the f/w (or the app for that matter) searching for that 40.2V minimum limit and change or disable it, hoping it is implemented as an interface / data entry only feature, and not checked further down the line during operation.

Anyway, I’ve some other projects much more ā€˜in your neck of the woods’, BMS related. I’ll circle back to you when I find the time to pick those projects up again.

Btw, care to provide some context to that picture?

Are you aware of the bounties work of Louis Rossmann?

Sorry… I am lost…
Can you please tell of what are you talking about?