-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safety check toggle RAPI protocol 4.0.1 support #145
Conversation
The RAPI HTTP endpoint "/r" should be using the RapiSender class, or are you asking about backward compatibility? |
@chris1howell The updated API now has support for enabling/disabling the temperature monitoring, should we add this as an option to toggle via the wifi-gateway? I think not, since temperature monitoring is so critical to openevse safety. I can't see a use case when we would need to turn it off via the wifi-gateway. Yeah, I agree. If it really needs to be off the command can be issued via RAPI. @chris1howell Should we try and maintain compatibility with older version of the RAPI API using the old (now deprecated API, see below)? I think since the change of API only effects enabling/disabling the tests (checking the status of the tests remains the same), it's acceptable to drop support for the old API. It just means users running older FW will have to resort to using the LCD menu to enable/disable the tests. No big deal. I'm keen to get the new API supported since the new non-tethered openevse unit we are working on does not have menu button therefore being able to toggle to tests via WiFi is important. All the non-tethered units will be shipped with the new FW. We should keep compatibility. It should be very easy with several optional. The first would be super easy, simply send both old and new commands. The unrecognized command would result in $NK. A better way would be to recognize the command that results in $NK and just send the correct command. The best option would be to read the RAPI version and issue the correct command for the version. I would be fine with any of the options. @chris1howell we should have a separate discussion about doing a stable open_evse FW release. There are a number of important and useful fixes since the latest update. I have been running V4.11.0 for a couple of months now with no issues. The current stable release is 4.8.0 I am open to a release any time. I will compile 4.11.0 and test it. |
Conflicts: src/data/home.htm src/data/home.js src/web_server.home.htm.h src/web_server.home.js.h
Wops, I didn't mean to merge this. Was it ready? It tested with the new RAPI protocol 4.0.1+ and it worked well. Have you tested the fallback to the older API? I don't have an open_evse controller running the older API to hand. |
Yeah, my device is the old API and this works
…On 7 March 2018 at 12:35, Glyn Hudson ***@***.***> wrote:
Wops, I didn't mean to merge this. Was it ready? It tested with the new
RAPI protocol 4.0.1+ and it worked well.
Have you tested the fallback to the older API? I don't have an open_evse
controller running the older API to hand.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#145 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF1WgNh0WyAbzLISNzxAYWg43rdRBNJiks5tb9QjgaJpZM4R1ATj>
.
|
In RAPI protocol 4.0.1+ (openevse FW vD4.9.1 2017-08-11) the RAPI command for enable/disable the safety checks have changed. The new protocol is as follows:
From: https://github.com/lincomatic/open_evse/blob/development/firmware/open_evse/rapi_proc.h#L103
This PR enables support for the new 4.0.1 RAPI API and removes safety check toggle support for older versions of RAPI API.
Questions
RapiSender
class function to send these RAPI commands and then check for a successful OK?Old RAPI API