-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add IQ Storage power (charge/discharge) and correct consumption #55
base: main
Are you sure you want to change the base?
Conversation
I attempted to use this pull request however it doesn't seem to be providing the battery data correctly. I am getting "Unknown" for the Battery Power Charge and Battery Power Discharge. The rest of the metrics come back ok. it appears there is a call that is not authorized.
|
I tested this one by installing from @isottipietro but got an error. Am I doing something wrong?
Using ENVOY_S EU version, not metered |
Hey @catsmanac, Even with that error fixed the original code doesn't seem to correctly detect your Envoy-Model-S non metered. It detects an Envoy-Model-C which probably doesn't support this endpoint. Just to confirm for further development you are running an ENVOY_S EU version, not metered with Encharge Batteries? |
I'm using ENVOY_S EU Version, no meters, no batteries, just solar panels. It determines that as model P (ENVOY_MODEL_C) because it does not have production and consumption (has_production_and_consumption) and will report 200 to endpoint_production_v1_results.
I see what you mean by the indentation issue, thanks! I'll give it a try later to confirm compatibility with my plain vanilla envoy-s. |
Just got IQ Enphase Batteries installed and was looking just for this, would be happy to test if needed. |
The current version V0.0.17 has battery support as well as import/export values. It obtains the data from different pages as this one, but it may provide what you are looking for? |
Looking at this PR it seems to replace battery energy charge/discharge by battery power charge and discharge. Adding the latter is probably useful, but removing the energy charge/discharge probably not as I guess these are drivers for the battery storage of the energy dashboard. |
@catsmanac I know it has been a while, but you make a good point. Currently there are entities for charge/discharge that provide the data for the energy dashboard (Wh), but no entities for the power usage (W) which could be useful in realtime overviews. Any updates on this? I'd be more than happy to contribute/test I have the EU version of the gateway metered (version 8), IQ8+ inverters and 2 batteries (5P) |
That's a while back indeed. Adding battery power is probably a small thing. If I recall correctly this PR had more impacting changes for which I didn't felt qualified to decide on then. |
I use the power from the batteries because is useful to know how much power is draining or chargeing, then i calculate the energy with the integration template to have both. I'm going to write a new PR to only add power from battery without removing the energy |
Added the endpoint exposing ensemble power, sensors of battery charge/discharge and correct consumption (based on battery power). Hope it's useful