OpenEVSE_RAPI_WiFi_ESP8266 icon indicating copy to clipboard operation
OpenEVSE_RAPI_WiFi_ESP8266 copied to clipboard

FR: MQTT EVSE Status Enhancements

Open akkord64 opened this issue 7 years ago • 3 comments

Sorry is this is the wrong place to post a Feature Request, so feel free to close if this is the wrong avenue for communicating this.

I have integrated the MQTT status into my Home automation system and have rules set up that if the EVSE is not plugged into the car to alert me (State 2 or 3 indicate the EVSE is plugged in). However when you set up a charge timer, the status is always 596 while not charging. Is there a way to create an additional state to include scheduled and plugged in, vs. only scheduled?

akkord64 avatar Mar 23 '17 11:03 akkord64

Hi, this repo has been moved. I recomend posting the feature request to the new repo:

https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/issues

Are you referring to a charging timer being set on the EV or the EVSE? I don't believe the EVSE can determine if the EV has a charging timer set (via the pilot signal). @chris1howell will be able to confirm.

Here are the list of states openEVSE MQTT supports : https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/blob/master/src/input.cpp#L133

glynhudson avatar Mar 23 '17 20:03 glynhudson

Hi Chris,

The latest development OpenEVSE firmware has a new RAPI command to get plug state. G0 - get EV connect state response: $OK connectstate connectstate: 0=not connected, 1=connected, 2=unknown -> connectstate is unknown when EVSE pilot is -12VDC

Here is the RAPI documentation for the latest devolopment version. https://github.com/lincomatic/open_evse/blob/development/firmware/open_evse/rapi_proc.h

Chris

On Thu, Mar 23, 2017 at 1:28 PM, Glyn Hudson <[email protected]mailto:[email protected]> wrote:

Hi, this repo has been moved. I recomend posting the feature request to the new repo:

https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/issues

Are you referring to a charging timer being set on the EV or the EVSE? I don't believe the EVSE can determine if the EV has a charging timer set (via the pilot signal). @chris1howellhttps://github.com/chris1howell will be able to confirm.

Here are the list of states openEVSE MQTT supports : https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/blob/master/src/input.cpp#L133

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/chris1howell/OpenEVSE_RAPI_WiFi_ESP8266/issues/24#issuecomment-288849892, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABvYHzLqNOaMSXNlok3jBLP_Xb-TFkUJks5rotXlgaJpZM4Mmn7F.

chris1howell avatar Mar 23 '17 21:03 chris1howell

@chris1howell - Ok sounds good. I will have to try out the dev branch. Hopefully the MQTT code will poll and broadcast connection state to the broker. Now I just need to go unbolt the EVSE from the wall and upgrade 👍

@glynhudson - I was referring to the EVSE scheduler.

Thanks all.

akkord64 avatar Mar 23 '17 22:03 akkord64