Using the USB to serial cable am I able to:
a. Control the max current from say a raspberry pi
b. Query the vehicals battery level during a charge (so it tells me it's 85% full for example).
I want to get one of these to integrate into my automation system and just want to be sure it will do what I want before I commit to buying.
OpenEVSE can be fully controlled via RAPI over the USB Serial device or via WiFi module with HTTP requests or MQTT.
a. Yes, you can adjust current, start, stop and change settings via.
b. The charging station does not have any information about the vehicle, this information has to be pulled either from the vehicle directly via CAN/ODB or through the vehicles online portal. What kind of vehicle do you have?
Unfortunately, there is no digital communication between the vehicle and charging station.
Yeah, max current is no problem. I would recommend WiFi and MQTT for automation.
Yes, WiFi has standard security protections:
WiFi will connect to your local network with encrypted WPA
The Admin console requires authentication, both default username and password can be changed
Requests via HTTP require authentication
MQTT connects to the broker with username and password
USB serial will work fine, it just requires an additional host like a raspberry pi or PC.
I've gone the USB to serial route and am just wondering, is the 5v and 0v lines necessary? As the computer has power and the OpenEVSE has power, why does 5v need to be supplied down the cable? Sorry if this is a dumb question but it seems like I should only need Tx and Rx lines.