As I understand it with this new release, Demand Shaper will no longer work.
If so then that would be disappointing. In my view, Solar Divert (ECO-mode) and Demand Shaper are not alternatives but are complementary OpenEVSE features that are important at different times of the year.
Are there plans to incorporate Demand Shaper features into v4.1.0 and if so, when?
Correct, as mentioned in the release notes, all V4.x releases don’t support Demand Shaper. If you want to use Demand Shaper you will need to stick to V3.x.
There are plans to integrate Demand Shaper into the OpenEVSE interface directly. It was a poor user experience having the EVSE controlled from multiple locations, it caused a lot of conflicts. I’m sorry for this change, but hopefully it should be a far better experience once demand shaper has been implemented natively.
@glyn.hudson that sounds interesting, so would that be available as an update to the EmonEVSE as well? However, I’m finding it hard to understand what the Demand Shaper brings? Is it basically integration with Octopus Agile? If that’s it, then I see no real need at the moment, as the Agile tariff doesn’t seem any cheaper than just charging on Octopus Go at a rate of 5p. I can already charge in Eco mode from my solar panels, so what does it bring?
The charger has been working fine for a few weeks but a couple of weeks ago I had to restart the firmware to start the charging.
This time that simple fix did not work.
But I’ve now switched off Demand Shaper, reset the firmware and IT’S CHARGING J - a great relief!
Re Demand Shaper …
Solar gen in Nov to Feb incl is 25% of the summer average so just enough to keep PowerWall charged and it to satisfy a lot of the house load.
There’s not enough to also charge the EV in ECO-mode – so it’s a case of EV charge overnight at the cheap rates.
But if you’ve been following Octopus Agile rates, it’s pretty clear that 5p to 7p rates are a thing of the past – so Demand Shaper sophistication has perhaps become less valuable.
Till now in winter, I’ve been running a Python script that in early evening sends my son a text suggesting he connects the EV before going to bed.
The script also disables OpenEVSE (to stop charging happening immediately on connection).
It then re-enabled the charger shortly after midnight when Demand Shaper took over.
I will now need to modify that script so that the charger is not re-enabled until say 1am which will then trigger the start of NORMAL charging – a crude approach.
Reading the notes on the new WiFi firmware suggests the RAPI command $ST to control timing has been disabled?
Thx & regards
John (Banks)
PS – Doing all this remotely (my son lives 40 miles away) is great ‘fun’ but as you know, I’m a great fan of remote.it
I notice you do not have any times populated on the EVSE, if you have set cheap times, as I do Octopus go faster then you can set the timers to only charge during these times.
As I prefer to use a script to control things (rather than inputting to the webpage) that means using the openEVSE RAPI command $ST.
And I’ve noticed the following in the V4.1.0 Release Notes … Block set-timer $ST RAPI commands that will interfere with WiFi module schedule manager.
The $ST command sets the timers on the OpenEVSE module, there is now a new API to set the timers on the WiFi module, this is what the UI uses. I haven’t written up the docs yet for the web API, but there are some examples in ESP32_WiFi_V4.x/schedule.http at master · OpenEVSE/ESP32_WiFi_V4.x · GitHub
The SoC in V4.1.0 is obtained via Tela API for via an MQTT feed. This is a work in progress, in a future FW update we will add SoC limit e.g stop charging at 80% SoC
Thanks to @jeremypoulter for answering the issue regarding RAPI timers and a link to the new API. The reason for deprecating RAPI for timers is the new API will in the future allow more advanced weekly schedules to be set.
@glyn.hudson
I am intrigued by yr reference to using a Tesla EV API as for some months I’ve been running a Python script to query the EV to get INPUTS to emon - soc, battery range miles, odometer miles and state (online or asleep).
In Feb, Tesla changed their security and my script stopped working but with info from a Tesla forum, I got it running again.
Well - Tesla have done it again - introducing captcha as an extra security measure.
My script stopped working a few days ago and the Tesla forum still seems to be struggling to find a solution.
Hence my great interest in the Tesla EV API you are using that does not even require knowing username & password.
Would you pls provide details.
Then if I get my script running again or find a different approach, I’ll post details on this fourum.
Thx in advance.
PS - And a solution that just provided soc would be better than nothing.
Is broken for OpenEVSE as well, kind of. The only part that is the issue is the login, so if you save the OAuth tokens and implement the refresh then you should be good.
@jeremypoulter
Many thx for that info and the link that in turn links to an Android App called Tesla Tokens …
This App works for me – providing an Access Token which I copy to the clipboard and email to myself. So, worst case, I must do this every 30 days or so until I find a way to automate it in a Python script that runs monthly by cron.
The App also provides an SSO Refresh Token (in JSON Web Token format) – quite different to the Refresh Token I was using prior to Tesla’s security change introducing Captcha.
This may be of interest – from an email I’ve received from the App author …
Since the changes in Tesla's authentication system in February now the process to refresh the token has changed.
Now there two kinds of sessions:
- SSO session
- Owner API session
For each kind of session we have an access token and a refresh token.
In the new authentication system we have to get an SSO session and use the SSO access token to get an Owner API session.
In the Owner API session, we use the Owner API access token to call Tesla's APIs to get vehicles informations.
Since these changes, the Owner API refresh token is now useless, and cannot be used anymore to get a new Owner API access token.
The refresh process is to get a new SSO access token from the SSO refresh token, and then get a new access.
All this is documented here:
https://tesla-api.timdorr.com/api-basics/authentication#refreshing-an-access-token
That's why in my app I chose to expose only the SSO refresh token and the Owner API access token, because only these two tokens can be used by users for respectively refresh the token and call Tesla's APIs.
I wonder whether this process can be automated in a Python script?
Also it would seem that, in future, openEVSE will need inputs – user credentials or the regular Access token or the SSO Refresh token?
Thx to the help of others incl yourself, I’ve now got a Python script running as a cronjob every 30 days which updates & saves a valid Tesla Access Token to a file.
This file can be read by other scripts that need the Token.
I’ll post the detail in a separate forum topic as it is not clear this topic relates to Tesla tokens.
Sorry to hear you’re having issues. Is this a different charging point to the one we have been discussing in this thread? If so, I will move this issue to a new thread to avoid confusion.
What can you see on the LCD, does it display OpenEVSE WiFi at startup? If your unit has an external button, holding this down for 10s should reset the WiFi. However, this should not be required.