Skip to content
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

adding "action:9" to switch back to schedule after manually pausing #42

Merged
merged 3 commits into from
May 19, 2024

Conversation

msftphleiten
Copy link
Contributor

When you run scheduled sessions, but also optimize the prizing using EPEX Spot pricing to manually start and stop charing the charger does not return back into the desired "Scheduled" state (state code 179), but stays in paused (cde 182).

with the new function you can put the charger back into the desired scheduled state as documented here: https://github.com/SKB-CGN/wallbox

When you run scheduled sessions, but also optimize the prizing using EPEX Spot pricing to manually start and stop charing the charger does not return back into the desired "Scheduled" state (state code 179), but stays in paused (cde 182).

with the new function you can put the charger back into the desired scheduled state.
@tmenguy
Copy link

tmenguy commented May 11, 2024

Fix #41

Copy link
Owner

@cliviu74 cliviu74 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
Can you please add a description for this method to the README.md? README.md

@tmenguy
Copy link

tmenguy commented May 13, 2024

Cool thx for that! (I have contributed the change to https://github.com/SKB-CGN/wallbox for the action 9) We may have others because the API has added some endpoints especially to check the state of the charge to see if the command 9 is successful, strangely they are using the session object to prob it in the iOS App.
But from What I have seen it was more for the eco smart mode (in the UI it is stated this way), so perhaps the name of the function or at minimum the documentation should state it no?

@msftphleiten
Copy link
Contributor Author

I did a test in my environment where I'm not connected to any inverter or solar panels, I'm just using it for scheduling the time to charge as my energy costs are cheaper at 1am. The function basically resets the status of the charger back to the "scheduled and eco smart" mode.

@Philippe59710fr
Copy link

Great, I am looking for the same functionnality, as I need to stop the ecomode, unless my home battery keeps depleting, as the charger always sees energy available.
I will compute and send the order when needed.
I may test this addon as well if I can help

@msftphleiten msftphleiten requested a review from cliviu74 May 17, 2024 10:42
@tmenguy
Copy link

tmenguy commented May 17, 2024

Great, I am looking for the same functionnality, as I need to stop the ecomode, unless my home battery keeps depleting, as the charger always sees energy available. I will compute and send the order when needed. I may test this addon as well if I can help

@Philippe59710fr : this one may not allow you to stop the eco mode, it is another API, I'll probably open a PR on it too (now the API is available to set and toggle the EcosSmart mode you need), I'm just waiting for @cliviu74 to merge the 4 current PR we have. Will update the Wallbox API doc in https://github.com/SKB-CGN/wallbox too.
Well saying that and doing pause charge first then this action to restaure it may be enough in fact.

@cliviu74 cliviu74 merged commit 2f2bfdd into cliviu74:master May 19, 2024
@msftphleiten msftphleiten deleted the patch-1 branch May 22, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants