FlexyZ wrote: ↑Tue Dec 16, 2025 11:27 pm
When are you releasing the CAPE board?
Nothing to stop me really. Could basically put it up on the shop now with a couple of weeks lead time
Re: Energy Controller including CCS interface
Posted: Wed Dec 17, 2025 1:50 pm
by FlexyZ
I understand now that the voltage has to be the same supply side before the car will close the contactors. So what high voltage supply device are you using to get that step done?
Thank you and sorry for the stupid questions
Felix
Re: Energy Controller including CCS interface
Posted: Wed Dec 17, 2025 4:47 pm
by johu
Look on ebay for "5V400V"
Should look like this:
Re: Energy Controller including CCS interface
Posted: Thu Dec 18, 2025 8:19 am
by FlexyZ
Thank you - so in your setup, how do you control the supply to output the correct voltage?
Re: Energy Controller including CCS interface
Posted: Thu Dec 18, 2025 11:01 am
by johu
I don't
I connected 10uF to its output so the ramp from 0-400 takes 6s. I simulate this cap curve in pyplc and rely on the fact that 30ms<<6s so the precharge will complete when voltage suits.
Alternatively you can supply PWM directly to the converters FET and control output voltage with pwm frequency
Re: Energy Controller including CCS interface
Posted: Thu Dec 18, 2025 11:17 am
by FlexyZ
got it and thanks again
Re: Energy Controller including CCS interface
Posted: Fri Dec 19, 2025 10:18 am
by FlexyZ
Johannes,
The MQTT commands you run on the video are actually sent to the beagle board and from there to the inverter?
So beagle board is controlling duty cycle on CCS and contactors?
beagleboard controls CP PWM and the changeover relay between stationary and car battery. Contactors in the car are run by Foccci
Re: Energy Controller including CCS interface
Posted: Fri Dec 26, 2025 7:18 pm
by Henry
I'm wondering if I can use this to use my new Cupra Tavascan as a Home battery together with my Sungrow SH10RT hybrid inverter?
Re: Energy Controller including CCS interface
Posted: Sat Dec 27, 2025 9:41 am
by johu
Not quite. pyPlc talks the DIN protocol which is meant only for charging. Quite a few cars will also allow discharging during a charge session but the MEB cars do not allow this.
To make it possible we'd have to marry pyPlc to ISO 15118-20. With that MEB cars allow 10 MWh of discharging. So obviously not a full replacement for a home battery but an addition.
Re: Energy Controller including CCS interface
Posted: Sun Dec 28, 2025 1:15 pm
by Henry
johu wrote: ↑Sat Dec 27, 2025 9:41 am
Not quite. pyPlc talks the DIN protocol which is meant only for charging. Quite a few cars will also allow discharging during a charge session but the MEB cars do not allow this.
To make it possible we'd have to marry pyPlc to ISO 15118-20. With that MEB cars allow 10 MWh of discharging. So obviously not a full replacement for a home battery but an addition.
Thanks for your answer - is your plan to implement ISO 15118-20 in the future? Would be great. I'm getting the car in about 8-10 months from now, would be very nice If I can implement your solution then to use the 10MWh allowed discharge as an addition to my Home battery. Currently I have the Sungrow SH10RT + 9.6KWh battery.
If I can do anything to help let me know, I am no C++ expert, but I have lots of experience with Python, Linux, and e.g. Home Assistant which I use for e.g. intelligent energy usage (PV + dynamic energy tarrif)
I've also added the precharge supply back in. I connected a 10uF 400V elcap and a 1M resistor to the output. This gives it a pretty deterministic voltage ramp which I think is also slow enough (0-400V in 6s) so that the vehicle will just report precharge completed.
Will start selling it on the shop soon. Hows interest?
I'll be intersted as well, if I could use it together with my current installation. Currently I have a pv Inverter from SMA STP-100-3SE-40 and a connected BYD HVM Battery. The SMA inverter should be similar to your Sungrow. My car ist meanwhile a BMW i3s. The management of my smarthome is iobroker with javascripts that manage tibber, the Sma inverter and many other things. So the main thing I'm looking for is a solution to get the energy out of the car as well. What else beneath of your cape ist necessary for my environment?
so no one tried it with an BMW i3 until now, whether it's possible or not, then maybe I should trie it. maybe the older i3 is different to the ix platform from BMW. I think BMW did it already together with a Kostal inverter in a pilot project. And BiDI charging should have worked there - don't- now how they did the communication but it worked.
Yes, I m not so far away from Linz, and I probably will come to test at your Wallbox in spring when the weather becomes better.
Re: Energy Controller including CCS interface
Posted: Sat Jan 10, 2026 2:44 pm
by jrichl
johu wrote: ↑Wed Nov 26, 2025 6:53 pm
What would be the "minimum viable product"?
- Just the cape
- Cape + preprogrammed BeagleBone
maybe both versions or both parts separate. I will try it at first by myself with just the cape to learn, and if I fail to get it running I would take a programmed BeagleBone as well or just the ssd with all the configuration. Which software(Version) are you using on the BeagleBone?
Re: Energy Controller including CCS interface
Posted: Mon Jan 12, 2026 7:41 am
by uhi22
I'm doing the first steps now, I've never used beaglebone before, so a lot to learn. Just some beginners-experiences:
- I'm using the BeagleBone Black (BBB) because I thought that desktop mode with HDMI helps me. But it does not, see below.
- microSD card is not required for normal operation. The BBB has internal eMMC. Booting from microSD requires holding a button during power-on, this is impractical in daily life.
- Booting the image am335x-debian-11.8-xfce-armhf-2023-10-07-4gb.img.xz from microSD to graphical desktop took ~3 minutes, this is disappointing.
- microSD card IS required to update the OS on the eMMC.
- My BBB was delivered with a quite old version, cat /etc/debian_version says 7.9. This has still python 2.7, and got lot's of errors when trying to install python packages.
- trying to install a recent image incl graphical desktop on the eMMC (https://files.beagle.cc/file/beagleboar ... 4gb.img.xz) leads to "disk 99% full". So this is no option.
- Trying to go with a small image now: https://www.beagleboard.org/distros/am3 ... ot-flasher. This reports the same version as johu showed above:
debian@BeagleBone:~/myprogs/pyPLC$ uname -r
5.10.168-ti-r71
- Beginners lessons for the BBB helped me, e.g.
Re: Energy Controller including CCS interface
Posted: Wed Jan 14, 2026 3:21 pm
by johu
Got the new boards in yesterday
And immediately spotted a problem, dead short from 3v3 to GND. Turns out down to my ego:
image.png (7.66 KiB) Viewed 607 times
DRC warned me about it and I ignored it. As celeron says, DRC always wins.
Nothing a Dremel can't fix.
I tried the new PWM generator and it isn't really much better:
When loaded with 2k7 it drops very close to 8V instead of 9V.
All else remained unchanged so should just work.
Tried to add it to the shop but it doesn't let me add a picture anymore
Depending on perception I will add more options later, like the preloaded BeagleBone and more connectors.
Re: Energy Controller including CCS interface
Posted: Sat Jan 31, 2026 10:44 am
by uhi22
Thanks to Johannes I got a FoccciCape on my desk. Added a display via CAN. Dry-run with using Foccci as car works fine. Very excited to connect it to my Ioniq... Coming soon...
Re: Energy Controller including CCS interface
Posted: Sat Jan 31, 2026 12:02 pm
by uhi22
Ioniq is happy, but only for two seconds. (Cannot add pictures, is the forum disk full?)
Edit: Now the pictures work, see below