My home-made wallbox to charge the electric car!

Moderator: leecollings

Post Reply
User avatar
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

My home-made wallbox to charge the electric car!

Post by psubiaco »

I've made an EV charging station connecting together
* the EVSE module DomBusEVSE
* a contactor
* an energy meter
* a differential protection RCCB Type-B

It's possible to add an energy meter connected to the main switch (to measure the grid energy), but as I already have the grid power meter connected to Domoticz, I'm using a simple script to send the current grid power to the EVSE module. In this way I save cost and power consumption.
To make a wallbox by yourself, a full knowledge about electric systems and power dissipation is mandatory!!

It works perfectly with Domoticz, and permit to choose the source of energy:
1. only from the renewable plant (solar photovoltaic in my case)
2. adding 25-100% of power from grid
3. managed mode: a Domoticz script can set the charging current in Ampere
This is a video showing Domoticz panel, including the wallbox controls and my car controls.
Video: https://youtu.be/m_n_A4lo9Gw

This is the picture of a self-built wallbox.
creDomBusEVSE_wallbox_photo_domoticz.jpg
creDomBusEVSE_wallbox_photo_domoticz.jpg (146.46 KiB) Viewed 1188 times
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: My home-made wallbox to charge the electric car!

Post by kiddigital »

Impressive!
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
User avatar
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Re: My home-made wallbox to charge the electric car!

Post by psubiaco »

This is the connection scheme to connect the EVSE module to contactor, protection, energy meters.
The DombusEVSE module works perfectly with Domoticz, through the plugin downloadable at https://github.com/CreasolTech/CreasolDomBus
Once configured, the charging station works with and without Domoticz.
dombusevse_wallbox_domoticz_schematic.png
dombusevse_wallbox_domoticz_schematic.png (321.8 KiB) Viewed 1106 times
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
willemd
Posts: 621
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: My home-made wallbox to charge the electric car!

Post by willemd »

Impressive.

I am reading and following your warning:
To make a wallbox by yourself, a full knowledge about electric systems and power dissipation is mandatory!!
I am staying far from it, I am more a software person.

I am planning to use the creasol software for interfacing to my car soon.
tux21
Posts: 20
Joined: Wednesday 28 May 2014 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: My home-made wallbox to charge the electric car!

Post by tux21 »

Hi Paolo,
Thank you for sharing your stuff, it looks pretty good! I'm close from use it in my system, would I have few questions please?

I'm using Domoticz obviously and offgrid solar system based on Victron components. I'm able to read current solar production, SOH of my home battery, Inverter power, SOH of my car battery which is Nissan Leaf 1st gen etc. Leaf has 1 phase charger able to deliver max 3,6kW.

And now the questions.
Is the system able to change charging current fluently from 6 to 16 amps? Or possibly in steps 6, 10, 16A based on solar production and/or inverter load?
Is the system able to switch to grid when it reach previously set SOH of home battery to not drain it to zero at the evening? I have 10kWh home battery while Leaf has 24kWh and here is cheaper night tarif starting in the night from 2AM. So for example my use case is connect the vehicle, let it charge till home battery reach for example 40% SOH, stop charging, wait till 2AM, switch to grid, switch to 16A and continue witch charging from the grid.

Thank you,
Jiri
User avatar
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Re: My home-made wallbox to charge the electric car!

Post by psubiaco »

tux21 wrote: Wednesday 30 August 2023 21:15 Is the system able to change charging current fluently from 6 to 16 amps? Or possibly in steps 6, 10, 16A based on solar production and/or inverter load?
Is the system able to switch to grid when it reach previously set SOH of home battery to not drain it to zero at the evening? I have 10kWh home battery while Leaf has 24kWh and here is cheaper night tarif starting in the night from 2AM. So for example my use case is connect the vehicle, let it charge till home battery reach for example 40% SOH, stop charging, wait till 2AM, switch to grid, switch to 16A and continue witch charging from the grid.
To answer Jiri questions:
* the system is able to change the current from 6 to 16A (or 32A) in 1A step.
* the charging current is chosen base on a energy/power meter connected to the grid: if you already have a power meter that measure the power exchanged with the electrical grid, you can use a simple script to pass this value to the EVSE.
If you have an offgrid system, you can put the wallbox in "managed" mode and use a script to pass the wanted charging current to the EVSE: for example, instead of charging 2000W to the battery you can set the EVCurrent device to 8 or 9 Ampere. Also, you can set the charging current depending on the house-battery SoC and EV battery SoC : it's up to you to decide how much power to use in managed mode.
* when house battery SoC is low, you can decide to stop charging, or switch to grid by and set the EVCurrent to your preferred value (you must have a power meter to avoid overload on grid power).

Script example for your offgrid system:
IF EVState changes from Disconnected to Connected (car plugged) => if time > sunrise and time < sunset => set EVMode to "Managed" and set EVCurrent to 0 (do not charge) or between 6 and EVMAXCURRENT (16A in your case) based on excess power from photovoltaic, house battery SoC, car battery SoC.
If time==sunset => EVMode goes Off
if time == 2AM => EVMode goes 100% (use 100% of power from grid, to maximize the power factor) and send the grid power value to the "Grid Power" virtual device to let the EVSE know how much power is drained from the grid preventing overloads

I don't know if it's clear, but in case don't hesitate to ask again.
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
tux21
Posts: 20
Joined: Wednesday 28 May 2014 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: My home-made wallbox to charge the electric car!

Post by tux21 »

Hi Paolo,

Thank you for your answer. Is there a way how to easily transfer dombus protocol over the air? Using ESP32or something like that?

Thank you, Jiri
HvdW
Posts: 504
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: My home-made wallbox to charge the electric car!

Post by HvdW »

Hi Paolo,
Great! Thanks for sharing.
Bugs bug me.
User avatar
psubiaco
Posts: 194
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Re: My home-made wallbox to charge the electric car!

Post by psubiaco »

This is a dashboard for DomBusEVSE wallbox using HomeHabit app for Android/iOS, showing a charging session using only energy from photovoltaic and adding 25/50/75/100% of available power from grid. It's possible to see that increasing the charging power, the Power Factor increases (as like as charging efficiency).
homehabit2.gif
homehabit2.gif (217.03 KiB) Viewed 947 times
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests