-
Notifications
You must be signed in to change notification settings - Fork 112
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
Remove RAPI #643
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
There's #512 related to this issue |
Oh thanks! I didn't see this one! |
I've added the evse restart endpoint to the newflags branch & ui |
@KipK : and what what about the ammeter calibration ( |
@mathieucarbou yes I need to make it configurable on UI , you can already use the /config api endpoint to set the "scale" & "offset" values but I've raised a new issue, something's wrong somewhere, #645 |
@jeremypoulter I don't believe there's any http api to directly set the pilot current. Is that correct? |
There are HTTP and MQTT APIs to set a pilot current: this is the manual override mode. MQTT integration example: http://gist.github.com/mathieucarbou/92a3d5e0dc38d6b68aa1bdaf153a80c5 I am sending to the topic |
@cholawo using RAPI as you're doing currently is messing up the wifi gateway. You can't use booth without expecting issues. |
Thanks both. |
Here is what I do: When off-peak hours triggers, I am sending to the topic When peak hours trigger, I am sending to the topic I don't really understand your timer thing, IMO, it does not seem necessary: OpenEVSE already has a limit capability where in the UI you can stop the charge based on conditions, like charge duration, power sent to vehicle, battery capacity reached, etc |
I'm not actually trying to do anything outside of the wifi module, I use both timer and eco mode in the wifi module and tend to leave both on all the time - to charge from sun in the day, and at night with timer. The two issues I had are that I that either eco mode charging was at full power (I think this might have since been fixed), and more recently that the timer at night was charging at the slowest rate. I was merely trying to find a command that could modify the pilot value without altering eco mode and timer, to ensure pilot was correct under their conditions. In an ideal world I wouldn't need to intervene. I wonder if a better option rather than send RAPI when pilot is wrong, is just to restart the wifi module and hope it recovers, but maybe that is risky since the issue is happening during a charge. |
Have you updated wifi module to latest firmware? And what fw version is installed on your openevse module? |
fw is 7.1.3.T2 and wifi is 4.1.9. I'll update wifi to 4.2.2 now. Thanks for all your input! |
you should update your openevse fw too if you can. There's important fix for T2 socket |
ok, I'll try get round to that. I just did some tests and still see my problem so I'll start a new issue for it. |
We will leave the support for |
Also not going to block on #512 for this ticket or the v5 release |
Thanks @jeremypoulter. My charger is now behaving after I stopped sending RAPI commands so I blame myself for all the unnecessary conversation in this thread |
This is because the ESP32 now does a lot of the functionality and sending RAPI commands can disrupt this Fixes #643
Since the switch to v4 and the move to have more of the smart features on the ESP32 RAPI it has always been the intention to remove or limit the user's ability to use RAPI: https://github.com/OpenEVSE/ESP32_WiFi_V4.x/blob/master/docs/rapi.md
We now are in a place where the HTTP/MQTT APIs offers all the functions that RAPI can provide so I think the time has come to remove the RAPI commands from MQTT and limit the HTTP to RAPI gateway to just the
$Gx
for debugging.Issues to resolve first
The text was updated successfully, but these errors were encountered: