Hi
So, first off, all homage to skonk's amazing work in this thread:
https://www.electricmotorcycleforum.com/boards/index.php?topic=13489.0It is the springboard that sent me down the rabbithole of building upon his work.
I had several reasons for doing so..
- Hardware - that arduino + 3 layers would never fit my bike within the range of the bike's cable connector.
- More web control
- added support for HomeAssistant
What i made is exactly what i sought out to create.
DISCLAIMER: I used and still use Claude AI as i am NOT as proficient a coder as i would've loved to be. I do however have experience as a project manager and a product developer as well as being an electrical engineer.
I mentioned in the thread i referenced above that i had already made something there. I ended up discarding that one and restarting from (almost) scratch.
So.. I took the header files from skonk's project and restarted a new arduino project using a LilyGo T2-CAN unit as it is both 2 isolated CAN bus transceivers as well as a beefier processing unit.
In addition it handles 12-24VDC input, so i could skip one of the PSU's from that project, keeping this even more lean.
Anyway.. I am _almost_ ready to post my new version. it has taken the better part of my life these past few weeks, but it's finally functioning well enough that I'm doing cosmetic fixes..
So.. Here's some screenshots for you:
First iteration i made.. Quite heavily dependent on AI (but i did like the lowkey design of it):

This one kinda reveals i'm not a native english speaking user..



Still..
I went back to the design board rather than relying on adaptations of others.
I wrote myself an overview of functionality, and began building the thing from scratch. (+ those previously mentioned header files)
I built it section by section and bugfixed them as i did before continuing onto the next "module".
It is not "perfect" yet.. But what i have now, supports 1,2,3 and 4 chargers (because i had already controls at home to decide how many chargers to energize)
I made it possible to read the different CAN addresses Elcon chargers have, so it would be possible to get data from all 3, before i figured out they are all set up with the same ID.. As such, it's currently set up to just take the static setting in the screenshots instead and i made that a setting to adjust from HA so i can tie that in to possible automations from HA.
I wanted both coarse and fine adjustment control of the chargespeeds, so the slider seen below adjusts on a per 100w increment. Btw, the slider adjusts to the number of chargers you tell it is available.
And so for the people that think AI just ruins everything:
I have security audited this app and tightened controls and functions to a fairly high level. I know nothing is airtight, but security is not without thought here.
Some screenshots:


Oh, and also.. This platform handles OTA updates so i don't have to go out in the garage with the laptop every time i had to upload a new version (and there were A LOT of versions) as well as doing logging to the web so i could look at debug pointers. stuff i can clean up before publishing..
Next on my roadmap is designing a companion pcb for the bike/psu part for those that don't have the tools to build their own.
I'd also like to make a pilot signal pcb/module so it conforms to that part too, but that would require a lot of designing, so it's not first on my list..