warp-more-hardware / esp32-firmware

TinkerForge WARP software for more hardware
14 stars 1 forks source link

EVSE mockup module #15

Open bs-github opened 1 year ago

bs-github commented 1 year ago

I'd like to have an EVSE mockup module.

The module should provide the functionality to simulate a charge cycle without any hardware (EVSE, car) so we can test the software.

Solution I'd like

I think the best would be to have a drop in replacement to emulate the serial communication with the GD chip on the AC011K hardware. That would enable us to develop for the AC011K without having the hardware available.

But that would put the additional burden on us to emulate that thing.

Alternatives I've considered

The second possibility would be to copy the evse_v2 module and strip it down to just work in software and trigger state changes via the HTTP/MQTT api.

This is probably more easy.