Page 12 of 13

Re: Tesla Charger alternative firmware

Posted: Tue Aug 16, 2022 10:34 pm
by EV_Builder
arber333 wrote: Mon Aug 15, 2022 2:55 pm Attached is a CAN log of charging session with alternative firmware. Byte numbers are left to right.
What is your AC line voltage?

Re: Tesla Charger alternative firmware

Posted: Wed Aug 17, 2022 5:28 am
by arber333
EV_Builder wrote: Tue Aug 16, 2022 10:34 pm What is your AC line voltage?
230Vac 3phase. I have a solar PV netmetering plant which can drive the voltage from 228Vac to 243Vac when full power.

Re: Tesla Charger alternative firmware

Posted: Wed Aug 17, 2022 6:23 am
by EV_Builder
Charger reports 160Volts AC 50Hz.
I will recheck.

Some times I see 190 and 230.

Re: Tesla Charger alternative firmware

Posted: Wed Aug 17, 2022 8:20 am
by arber333
EV_Builder wrote: Wed Aug 17, 2022 6:23 am Charger reports 160Volts AC 50Hz.
I will recheck.

Some times I see 190 and 230.
Hm.. which module would that be?

Re: Tesla Charger alternative firmware

Posted: Wed Aug 17, 2022 8:35 am
by EV_Builder
Phase 3 I checked. What i see is that error flag gets raised.
Or am I looking at the wrong module?

Re: Tesla Charger alternative firmware

Posted: Wed Aug 17, 2022 8:54 am
by arber333
EV_Builder wrote: Wed Aug 17, 2022 8:35 am Phase 3 I checked. What i see is that error flag gets raised.
Or am I looking at the wrong module?
Do you think i could get better resilts if i disconnect 3rd phase and 1st and 2nd would increase their output?

Re: Tesla Charger alternative firmware

Posted: Wed Aug 17, 2022 9:00 am
by m.art.y
arber333 wrote: Wed Aug 17, 2022 8:54 am Do you think i could get better resilts if i disconnect 3rd phase and 1st and 2nd would increase their output?
Not really better if you'll always have one module off. Still minus 3.3 kw. But you can try and see if one module is indeed a problem.

Re: Tesla Charger alternative firmware

Posted: Wed Aug 17, 2022 10:22 am
by EV_Builder
It depends; do you measure the same? Do you have small capacity connection somehow?

Always good to start with one module full swing and then scale up.

Re: Tesla Charger alternative firmware

Posted: Tue Aug 30, 2022 9:52 am
by et0
et0 wrote: Tue Aug 09, 2022 10:19 am
edit 2: OK with the new FW, and "timedly" set to 1, it does wait 1 minute and then start!

I'll work back towards CAN control during the week.
@johu, do you agree about that time delay issue, and can you make a new release to solve it?

Also do you think will implement the additional couple of CAN parameters I asked for in PM - I think this will make it fully usable as a "slave" for a charge controller.

Thanks!

Re: Tesla Charger alternative firmware

Posted: Thu Sep 29, 2022 11:22 am
by et0
OK, I don't want to keep bugging johu because it's been 2 months and several messages here, DM and email without any answer at all - I understand everyone's busy!

The request was a small bug fix, and a minor feature to add. This is the commercial / supported firmware, that's why we've been waiting, but would have understood "no" so that we could move on.

To be clear, the original release works fine if you can work with the features it supports.

Re: Tesla Charger alternative firmware

Posted: Thu Sep 29, 2022 11:25 am
by EV_Builder
et0 wrote: Tue Aug 30, 2022 9:52 am Also do you think will implement the additional couple of CAN parameters I asked for in PM - I think this will make it fully usable as a "slave" for a charge controller.
Can you elaborate on this?

Re: Tesla Charger alternative firmware

Posted: Thu Sep 29, 2022 11:34 am
by et0
EV_Builder wrote: Thu Sep 29, 2022 11:25 am Can you elaborate on this?
This was the request, an additional CANBUS parameter:

"I would like to be able to set iaclim. Per 1 amp would be fine, so a single byte. It would be nice to see feedback of module AC current too, and 3-phase status, but not critical."

This was an attempt to get the charger to work behind a charge controller which manages the combo port (it takes the PP and CP connections), and deals with AC or DC charging. It has *almost* everything it needs, but obviously passing through the cable and EVSE limit is an important one.

Re: Tesla Charger alternative firmware

Posted: Thu Oct 06, 2022 7:29 pm
by Wayne Campbell
et0 wrote: Thu Sep 29, 2022 11:22 am OK, I don't want to keep bugging johu because it's been 2 months and several messages here, DM and email without any answer at all - I understand everyone's busy!

The request was a small bug fix, and a minor feature to add. This is the commercial / supported firmware, that's why we've been waiting, but would have understood "no" so that we could move on.

To be clear, the original release works fine if you can work with the features it supports.
@johu do you think you will/can fix the bug on the commercial version ? just a yes or no please !

Re: Tesla Charger alternative firmware

Posted: Thu Oct 06, 2022 8:25 pm
by johu
No.

I think I'll rather make the firmware public so someone else can maintain it. More to come.

Re: Tesla Charger alternative firmware

Posted: Sat Oct 08, 2022 7:28 pm
by johu
I have published the full source code on patreon. https://www.patreon.com/openinverter

Re: Tesla Charger alternative firmware

Posted: Sun Oct 09, 2022 4:37 pm
by janosch
Wicked!

Had a browse just then and it should be easy to modify for the community and add features.

What a great contribution, I like how short it is, only 1037 lines in src/*.

Re: Tesla Charger alternative firmware

Posted: Sun Oct 09, 2022 9:10 pm
by catphish
johu wrote: Thu Oct 06, 2022 8:25 pm I think I'll rather make the firmware public so someone else can maintain it. More to come.
Please do! Hopefully others can contribute the features they want! It doesn't always work this way, but we can hope!

Re: Tesla Charger alternative firmware

Posted: Mon Oct 10, 2022 11:15 am
by Jack Bauer
thank you Johannes.

Re: Tesla Charger alternative firmware

Posted: Mon Oct 10, 2022 1:44 pm
by johu
Thanks for the comments :) Janosch is currently adding some magic, will become available soon.

Re: Tesla Charger alternative firmware

Posted: Fri Oct 14, 2022 12:38 pm
by janosch
Gonna get stage fright here!

I just sent you an update, with my changes, let me know if you want more cleanup done as I just quickly whacked my test-"framework" in and tested ~200 LOC of primitives and left some stubs in case someone else has time to flesh it out more.

Hope it meets the standard!

Re: Tesla Charger alternative firmware

Posted: Wed Nov 09, 2022 6:47 pm
by et0
johu wrote: Sat Oct 08, 2022 7:28 pm I have published the full source code on patreon. https://www.patreon.com/openinverter
Adding a thanks for that.

Re: Tesla Charger alternative firmware

Posted: Wed Nov 09, 2022 11:06 pm
by johu
great :)
Audi and foc keeps me from getting back to this, will publish the code on github soon including Janoshes test suite.

Re: Tesla Charger alternative firmware

Posted: Fri Nov 25, 2022 5:09 am
by KimchiKimKim
Having an issue right now where my gen 2 Tesla OBC with the latest firmware from Patreon. The parameters do not save on a power cycle. The charger works but I need to manually set parameters every time I turn it on via the web interface. Does anyone know a workaround?

I'm thinking about compiling a version of firmware to upload to the charger that auto-sets type 1 and turns timdly to default at 0 not -1.

I cant get the code to compline in cube though. It's weirdly greyed out.

Thanks in advance.

EDIT FIXED: I was using a 2019 Macbook pro bootcamped (running windows 10 pro) to connect to the ESP8266. Apparently drivers are really janky for the broadcom wifi onboard in windows since I tried setting parameters with another device and it quite literally just worked. If anyone wants a fix for a macbook pro bootcamped I rolled back my drivers in device manager and it seemed to let me control via the web interface now and save parameters successfully!

I Hope this helps someone

Re: Tesla Charger alternative firmware

Posted: Wed Nov 30, 2022 2:05 pm
by RGr
I'm about to buy Tesla Gen 3 charger, interested in 3 phase unit, compatible with this software.

Wiki page for Tesla Model S/X GEN3 Charger (https://openinverter.org/wiki/Tesla_Mod ... N3_Charger) lists just one P/N 103564701C
I seem to be able to get P/N 1055139-01-B unit - it's got four orange power cables going in, on its label it says "KIT:X-EU" then "KIT, GEN3 CHRG SYS, 3PH EU EMC, M...", so I expect it is a 3phase unit with 3 modules inside? it's got a big "3" on it, where often I saw similar-size sticker with current rating (e.g. 48A/72A) but this one doesn't seem to have any sticker with number related to current rating.

I have also P/N 1055139-02-A and this is 48A (two modules inside) working with current software.

If anyone could confirm 1055139-01-B is a 21kW with 3 modules inside would be great. Thank you.

Re: Tesla Charger alternative firmware

Posted: Wed Nov 30, 2022 2:18 pm
by m.art.y
RGr wrote: Wed Nov 30, 2022 2:05 pm If anyone could confirm 1055139-01-B is a 21kW with 3 modules inside would be great. Thank you.
Hi, all gen3 charger versions will work with this firmware. However none of the gen3 chargers is 22 kw. The one with 2 modules is ~12 kw, the one with 3 modules is ~17kw. I have both versions for sale at good prices, PM if interested 😊