Search found 21 matches

by lewurm
Tue Mar 25, 2025 8:36 pm
Forum: Batteries and Charging
Topic: Open source CCS using AR7420
Replies: 479
Views: 496072

Re: Open source CCS using AR7420

I can't quite make out the y-axis in the video, but it's weird to me that it jumps between three voltages (I assume 12V, 9V, 6V?).

Once you plug in, you should see 9V aka. state B immediately. Then the PLC communication starts and quite some communication should happen until you see a transition to ...
by lewurm
Sun Mar 23, 2025 6:54 pm
Forum: Batteries and Charging
Topic: Open source CCS using AR7420
Replies: 479
Views: 496072

Re: Open source CCS using AR7420

Welcome PLSee!

I don't see anything obvious, just some thoughts:
please share the pcap file, it's richer in details
did you check the service menu of your tesla? sometimes error messages give clues what could be wrong
did you patch the EVSE bits accordingly?
what exact plc modem are you ...
by lewurm
Sat Mar 22, 2025 10:03 pm
Forum: Events and Meetups
Topic: Linux Info Tag Augsburg 2025
Replies: 2
Views: 3545

Re: Linux Info Tag Augsburg 2025

would love to talk about V2x and meet up, alas that weekend doesn't work for me :(
by lewurm
Thu Mar 06, 2025 9:42 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)


But before getting into that rabbit hole I'll try to replace the TPlink TL-PA4010P v2.3 that I'm currently using with a v5.0 and hope that the higher version number implies higher reliability :mrgreen:

I did that a few days after I've posted that and with v5.0 I did not get a single timeout ...
by lewurm
Mon Feb 17, 2025 7:15 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)


but you're living in the range of my ID.5 (approx. 160 km), and maybe we should try my ID.5 on your DC Wallbox. :D

that would be interesting :) send me a PM or find me otherwise on the internet (using the same nickname).


Unfortunately I didn't find a cable with a shielded CP inside a cable ...
by lewurm
Fri Feb 14, 2025 10:32 pm
Forum: V2x
Topic: Bidirectional charger with PV Hybrid inverter and pyPLC
Replies: 38
Views: 45518

Re: Bidirectional charger with PV Hybrid inverter and pyPLC

(Sorry for posting charger related stuff in the other thread: https://openinverter.org/forum/viewtopic.php?p=79001#p79001 )

For completness, also mentioning it here: To apply a HV voltage to the DC lines, I use this modded step-up converter: https://github.com/dalathegreat/Battery-Emulator/wiki ...
by lewurm
Fri Feb 14, 2025 10:08 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)


It's on my list to check if any differences in the messages pyPLC sends avoids the heating,

So from the logs of this V2L device that was discussed, it appears that it sends EVSEMaximumPowerLimit with 480kW. In the OpenV2G fork that is used for pyPLC, this value is hard coded to 10kW. For testing ...
by lewurm
Wed Jan 22, 2025 11:16 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)


Looks like the Teslas 15Ah limit can be worked-around by pretending a charge current while actually discharging: https://openinverter.org/forum/viewtopic.php?p=78883#p78883

Alas nope, there was a follow-up: https://teslamotorsclub.com/tmc/threads/teslaunch-north-americas-first-v2l-discharge ...
by lewurm
Tue Dec 17, 2024 10:46 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

Some setback on my side. For context, my current setup looks like this: (1) RaspberryPi with pyPLC running (hooked up via WiFi to the local network), (2) an ESP32 running the battery emulator code for communication with the inverter via RS485 and also controls some additional contactors (also hooked ...
by lewurm
Sun Dec 08, 2024 1:37 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)


The Kostal is even a very good Tip

No no no... please don't get a Kostal. Basically every other inverter has a ModBus or CAN interface, except for the Kostal, they implement a custom (undocumented) protocol over RS485, which isn't fully understood yet. There are some timing related things in the ...
by lewurm
Mon Nov 25, 2024 7:22 am
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

Finally...
kostal-discharging.png
Convincing the Kostal inverter was trickier than expected. After some help by the Battery Emulator community I finally got it to work. There is also a ModBus register in the inverter where the current can be changed from -13A up to +13A. Both works :)


Just a ...
by lewurm
Tue Nov 19, 2024 9:18 am
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

Let's make that ~70 minutes :)

The car sent a PowerDeliveryReq with "ReadyToChargeState": "0", and then a SessionStopReq, last lines of the log is attached.

Also the alerts in the service menu are very interesting. Seems to be the threshold is 15Ah of discharge.
Screenshot 2024-11-19 at 10.15.59 ...
by lewurm
Tue Nov 19, 2024 7:36 am
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)


I would expect, that the voltage of your step-up converter does not matter as soon as the precharge is finished.

That's what I initially tried, but it didn't work. I'm not sure anymore which is the right log for it... I'll redo the experiment and come back to you later this week.

My current ...
by lewurm
Sat Nov 16, 2024 11:11 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

Quick update: I attached the 5V power supply to a relay of the Raspberry Pi I'm using, and came up with this quick hack: https://gist.github.com/lewurm/e994ae4d016beaa9b51b7455e465ca61

So basically the step-up converter gets enabled on the first PreChargeReq . And indeed, that makes the situation ...
by lewurm
Wed Nov 13, 2024 9:17 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

That makes perfect sense, thank you!

I'll try to hook up a relay that enables the step-up converter at the right time. It provides the voltage pretty quickly, so maybe that's good enough timing wise.
by lewurm
Wed Nov 13, 2024 8:14 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

Hopefully the "welded contactor" is just a false alarm.

Yeah, I'm a bit worried about the nature of this. I didn't mention it in my previous post, but initially I just had the step-up converter on the DC +/- lines, and once the contacters closed I switched the flip on the light bulbs (with HV ...
by lewurm
Tue Nov 12, 2024 9:34 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

Thank you uhi22!

I indeed having some success here with this step-up converter: https://www.amazon.de/dp/ B07KG4RR74

I attached it to the 5V pin of the Raspberry Pi and adjusted it to output roughly 400V. When attaching the CCS plug it drops down to ~350V and the car was not happy with it. You ...
by lewurm
Fri Nov 08, 2024 10:00 pm
Forum: Batteries and Charging
Topic: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)
Replies: 131
Views: 94691

Re: Drawing power out of CCS port (V2x, inverse charging, bidirectional CCS)

I managed to talk to a Tesla Model 3 2019 (EU). Alas it did not close the contactors, that is, I did not measure any voltage on the DC pins. pyPLC logs attached.

The car also has a "hidden" service menu, with information about the HV state. Apparently it opened the positive contact for precharging ...
by lewurm
Fri Nov 08, 2024 9:47 pm
Forum: Batteries and Charging
Topic: charging station / wallbox hardware basics
Replies: 42
Views: 15903

Re: charging station / wallbox hardware basics

Just another "me too" report, that I was able to communicate with a Tesla Model 3 2019 (Europe) via pyPLC.

My biggest hurdle was to get a proper 5% PWM signal on CP. Long story short, after I finally got my hands on an oscilloscope, it was clear that the opamp that I was using did not behave at all ...
by lewurm
Tue Nov 05, 2024 3:34 pm
Forum: Batteries and Charging
Topic: Open source CCS using AR7420
Replies: 479
Views: 496072

Re: Open source CCS using AR7420

Can this MQTT backend be optional? I think it would be great to have it for future development (e.g. to communicate with the battery_emulator), but as uhi22 said, probably too intrusive to force it on everyone.