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

Control "Storage Default Mode" Through Automation #209

Open
dsmck58 opened this issue Oct 10, 2023 Discussed in #199 · 3 comments
Open

Control "Storage Default Mode" Through Automation #209

dsmck58 opened this issue Oct 10, 2023 Discussed in #199 · 3 comments

Comments

@dsmck58
Copy link

dsmck58 commented Oct 10, 2023

Apologies if this is the wrong way to do this but I have a follow on question. I have managed to get to a similar stage setting up my automation. However, whenever I select a different battery control mode e.g. Charge from PV, it works for a very short period (seconds to minutes) and then automatically switches back to "Maximise self consumption". I have tried everything I can think of but no luck.

the same thing happens when I select the charge mode "manually" from the Select grouping on the Overview tab .

Getting very frustrated so would welcome any help.

Thanks

An example while testing an automation this morning. I set the automation to begin charging at 7:30 and it started at 7:39 and the automation was set to revert at 12:00. At 7:45, it just switched back to self consumption with no intervention or change.

Changed to Maximize self consumption
07:45:18 - 3 hours ago
Changed to Charge from PV and AC triggered by service Select: Select
07:39:58 - 3 hours ago

Discussed in #199

Originally posted by Darkclad117 September 17, 2023
Hi all,

I've been using this project for some time and now would like to start controlling my invertor. I've completed the setup and can read all the data and change the settings from the UI, however I'm stuck when trying to do this from an automation.

How can I set the "select.solaredge_storage_default_mode" entity from an automation? I've tried using Call Service from the automation however I can't see the entity in the Automation UI. Do you have any advise please?

Automation
Dashboard

Thank you to everyone who has contributed to this project, I'm very grateful!

@bradrushworth
Copy link

This has been happening to me for the last week also. I've tried everything I can think of, but it just keeps happening.

@dsmck58
Copy link
Author

dsmck58 commented Oct 24, 2023

Hey Brad. I was the same and Solaredge never responded to the query I raised. I just kept trying to override it and then it just stopped happening. No idea what I did I'm afraid so I am no use to you whatsoever. I wish I could be more helpful.

@bradrushworth
Copy link

It seems that:

Storage Default Mode needs to be set to "Maximize self consumption" or whatever you need, first.
Storage Control Mode needs to be set to "Remote Control" second.
Storage Remote Command Mode finally needs to be set to "Charge from PV first" or whatever you want, last.

I had these in a single Scene and this caused it to break. If I don't set the Storage Default Mode and Storage Control Mode in the scene settings, and just set the Storage Remote Command Mode only, then it seems to work.

Finally, note that Storage Remote Command Timeout is usually set to 3600s, which means after an hour the above command will automatically reset from the current Storage Remote Command Mode to whatever is in the Storage Default Mode. This is often desirable behaviour, so I think this is the right way to tackle this issue i.e. if Home Assistant crashes on you, the battery goes back to something sensible in a hour.

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

No branches or pull requests

2 participants