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

Improvement: Libbi overnight SoC targets #8

Open
salewis38 opened this issue Aug 15, 2023 · 5 comments
Open

Improvement: Libbi overnight SoC targets #8

salewis38 opened this issue Aug 15, 2023 · 5 comments

Comments

@salewis38
Copy link

I've written some routines for GivEnergy batteries to set overnight SoC targets based on daily usage and Solcast forecasts. I'd be happy to share for use with the Libbi if there's any interest.
www.github.com/salewis38/palm

@CJNE
Copy link
Owner

CJNE commented Sep 12, 2023

Looks very nice :)
This library is mainly focused on communicating with the myenergi API and to be used by other projects, such as yours, so i think what you have done for GivEnergy is a bit out of the scope for this project.
If you had anything specific in mind, feature requests are always welcome!

@reedy
Copy link

reedy commented Sep 13, 2023

Maybe more in scope for the HA add on project (whether it's own, or in the myenergi one, or cross communication between them..), but this is something I have an interest in too...

I don't have a Libbi, but I do have a Zappi and an Eddi...

And then a Sunsynk based PV and battery system.

How much should I charge each overnight (Octopus Go)? Should I? Is there likely to be enough sun tomorrow, so minimal to nothing is actually needed?

AIUI there's only a couple of inverter manufacturers that provide this sort of prediction.

While the SEG rates are going up (yay), using it, rather getting less than I'd buy the unit for (at any time) would seem like a worthwhile goal.

Something to do in my infinite free time... maybe.

Will have a look properly at the code!

@salewis38
Copy link
Author

salewis38 commented Sep 13, 2023 via email

@reedy
Copy link

reedy commented Sep 13, 2023

Would be interested in it for the Zappi and Eddi too!

I know this is getting slightly off topic..

https://github.com/kellerza/sunsynk is what I use for it with HA.

For "write actions" it does say

DISCLAIMER: Use at your own risk! Especially when writing any settings.

HA is possibly excessive indeed for just this, but if you've got something around already... it maybe makes some sense, rather than a script running somewhere on a machine you might've forgotten about :)

Plus, I have the inverter plugged into HA with a USB to RS 485 adapter... with respect to the api stuff above, I'd either need to find a way to "share" that, or expose some sort of api of the add on from HA too..

Possibly/probably doable with a modbus gateway; I do have one I got for experimenting, but haven't put it into use just yet.

🐢

There seems to be a few library's for accessing their "cloud" API and some via the dongle locally too.

Such as https://pypi.org/project/sunsynkloggerapi/ too, but the source code links are broken (obviously can get it from pypi too)

Need to have a play...

Most of the "monitoring" I'm doing at/for home is in HA in one way or another.

Could be worth you bringing it up over in that repo too, see if they're amenable to that sort of functionality; especially if write is useable etc.

Other stuff for me to look at too...

https://github.com/MorneSaunders360/Solar-Sunsynk

https://github.com/MorneSaunders360/Solar-Sunsynk

@salewis38
Copy link
Author

salewis38 commented Sep 13, 2023 via email

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

3 participants