-
Notifications
You must be signed in to change notification settings - Fork 17
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
Comments
Looks very nice :) |
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! |
Hi Sam,
Happy for you to adapt for Sunsynk if you wish, it should just be the
inverter API calls that are different. Either within or outside of HA (HA
has a lot of bloat for what boils down to doing some sums and writing a
single integer to an API once a day and the whole HA installation &
configuration process can put people off).
Cheers
Steve
…On Wed, 13 Sept 2023 at 12:30, Sam Reed ***@***.***> wrote:
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!
—
Reply to this email directly, view it on GitHub
<#8 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALAPCY34N75ITLFMWQUYIILX2GKOFANCNFSM6AAAAAA3RRXEJI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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
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... |
GivEnergy inverters store no usage history locally, only instantaneous
values which can be accessed locally over Modbus; however, there's API
access to their server for both historical data and control/status.
For simplicity, the standalone versions of PALM only access the API for
historical consumption data, status monitoring (% SoC in particular)
and control. The HA version still sources all of its data using the API but
writes the target SoC directly to the inverter (because that's how the
GivEnergy add-ons for HA work). As an alternative, it could pull historical
data from HA if it existed locally.
Minimum inverter data needs to set overnight charge:
* Historical consumption data for 30-minute intervals. As much as the user
wants for averaging purposes, at least 24 hours, maybe >=7 days.
* Ability to write the target SoC for overnight charge
A few extras:
* Current battery SoC - so the battery can be held at the current charge
level if the target would otherwise be lower
* Ability to write the charge start/end times to support twice-daily
charging regimes, such as Octopus Flux
* Instantaneous generation data if the PVOutput.org upload is wanted
…On Wed, 13 Sept 2023 at 18:22, Sam Reed ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub
<#8 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALAPCY4RIKH3YOZFJXGVU5LX2HTU5ANCNFSM6AAAAAA3RRXEJI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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
The text was updated successfully, but these errors were encountered: