I would like to control the charge rate of the OpenEVSE using an Arduino. I do not do wifi but would prefer to wire it using whatever equipment is required. Please could someone point me to the "simple well documented" commands. I do not know emonpi or nodered. I would like to integrate the charging system with my offgrid solar to charge my car so I need a dynamic means of varying the charge rate to match the energy I have available from my solar system. My existing Arduino system can create a turn on/ increase / decrease / turn off signal of some kind but how to get it to the OpenEVSE puzzles me.
Any help with hardware or software that would be required I am grateful for. I have done a bit of work with RS232 interfacing my diversion control with the Midnite Solar Classic charge controller but do not pretend to be an expert. The location of information that could teach me what I ned to know would also be very helpful.
Thanks
Will
OpenEVSE is controlled over standard 5v TTL Serial, so you could send it commands with an Arduino, Raspberry Pi/PC/MAC with USB TTL adapter or WiFi. WiFi you could send commands with a simple URL or MQTT. No need for an App or Webservice.
The commands are simple and well documented so you have a lot of options...
As far as I can tell from a quick look at the code, the OpenEVCS is essentially an Arduino, and its external interface is a serial port running a nice simple CLI. Appaarently, when you plug in the WiFi adapter, it connects to this serial port and implements a TCP-to-serial interface. If this (extremely cursory) analysis is true, you can either buy the WiFi adapter and implement a trivial socket-based program on any computer on your intranet, or you can wire a little computer that has a serial port directly to the serial port in place of the WiFi adapter. In either case, you are completely free of the baggage of apps, development platforms, bloated libraries, and all that other garbage that is so trendy these days, unless you choose to use them.
There is a lot of exciting progress on this front... OpenEVSE is working very closely with Open Energy Project. Using OpenEVSE + an EmonPi with MQTT and NodeRed you can setup a very smart system.
Check our this blog.
Joel Evans
I live in an off grid house and have a hybrid hydro/solar charging system. The solar produces little in the winter and the hydro little in the summer. They are connected to a 12kwh battery bank ( lead acid so only 6kwh useable) . I have a chevy volt that I plug into the house at 12 amps (110v) and it drains the battery until the state of charge gets to 75%, then i unplug it. On the hydro only I can get 30km per day into the car... which would otherwise be wasted ... if I am attentive to plugging it in and unplugging it at very specific intervals. On solar it can produce enough to charge it nearly completely in perfect conditions and if my car is not at work with me. I want to control the charging with the relay output that is present on either the charge controller or the inverter of the off grid system ( which can be programmed to turn on or off at a specific voltage or battery state of charge). Is there a good place to interface the open evse with the 12v relay control present on the inverter/or cc. I have thought of a few:
At the panel: The 12v relay output could turn on or off a relay right at the panel ... this would turn on and off the branch circuit that the open evse would be plugged into. Is it good to cycle an open evse on and off by essentially unplugging it under load. This sort of is like turning the power off on your computer by pulling the plug. It is the easiest though as the inverter relay control is right beside the panel
In the EVSE :A secondary transistor between the transistor and power relay inside the EVSE controlled via a bluetooth or wifi link( or wire) that overrides the power being sent to the vehicle. It would .... or should be a softer disconnect method and the evse would remain powered up . Would the evse throw an error code?
Ground the Pilot: A transistor or relay that connects the pilot to ground inside the evse that was connected to the relay control on the evse would cause the evse to register an error and turn the relays off I think.
Any thoughts on this. Or other methods that may be easier that I have not thought of. I am looking for a soft method of controlling the on off of the evse charging with a 12 volt signal from an off grid inverter.