SmartEVSE / SmartEVSE-2

Smart Electric Vehicle Charging Station (EVSE)
86 stars 43 forks source link

Advice how to implement charging over night #22

Open jimon opened 3 years ago

jimon commented 3 years ago

Hi, I would like some advice how to implement charging during specific periods and/or remotely controlled.

A super naive way I can do right now is to MITM Sensorbox report and replace it with predefined frame that tells the controller "no energy is available", but that will result in my car complaining that charging cannot be started.

I could also expand solar timer logic to achieve something similar.

Which way should I take? Thanks!

jimon commented 3 years ago

Guess the idea of sensorbox becoming the master device is better, than it could run this logic and control charging stations modes more correctly.

PA1RB commented 3 years ago

For now I have implemented automation rules in my domotica (Home Assistant) that start and stop charging through the car API (in my case it is a Skoda Enyaq, for which a plug-in is available in Home Assistant).

image

When the new release of the sensorbox software is available, I do plan to link Home Assistant to SmartEVSE / Sensorbox.

PA1RB commented 2 years ago

@mstegen on the Sensorbox: I'll release a version of the PIC firmware soon that will only do the CT measurements, and will not use the RS485 bus, nor use the P1 port. On this version the ESP32 will handle everything else.

Is this already on the horizon, or any support the team can give?

mstegen commented 2 years ago

@PA1RB I've uploaded the code for the Sensorbox-2 to Github. It's still acting as a slave/node to the SmartEVSE, but all the modbus handling is now done by the ESP. Also added a way for the SmartEVSE to retrieve the time/date so charging at a specific time/day could be added to the SmartESVE code.