Comments (6)
Yeah, the
/ivp/ensemble/inventory
endpoint does not give input/output. I calculate the Battery Energy Charged and
Discharged entities by taking the difference between the two most recent values of Total Battery Capacity. Does that give you want you need?I suppose I can also calculate watts from the watt hours of the Battery Energy Charged/Discharged and elapsed time.
I found an endpoint exposing input/output power: https://envoy.local/ivp/ensemble/power
{
"devices:": [
{
"serial_num": "xxx",
"real_power_mw": -227000,
"apparent_power_mva": -227000,
"soc": 82
},
{
"serial_num": "xxx",
"real_power_mw": 0,
"apparent_power_mva": 0,
"soc": 14
},
{
"serial_num": "xxx",
"real_power_mw": -92000,
"apparent_power_mva": -92000,
"soc": 93
},
{
"serial_num": "xxx",
"real_power_mw": 0,
"apparent_power_mva": 0,
"soc": 8
},
{
"serial_num": "xxx",
"real_power_mw": -27000,
"apparent_power_mva": -27000,
"soc": 94
},
{
"serial_num": "xxx",
"real_power_mw": -88000,
"apparent_power_mva": -88000,
"soc": 100
}
]
}
pwer is in mW
soc is the battery percentage
power_mw is negative when charging
software version on envoy is D7.6.111
from home_assistant_custom_envoy.
I have a system where the battery info comes in through the /ivp/ensemble/inventory
endpoint and not the /production.json
endpoint. I would need someone with production.json
to work on this.
from home_assistant_custom_envoy.
I can help with data/samples/access if it'd help. Let me know what data/help needed and I'll get it to you.
from home_assistant_custom_envoy.
Actually looking, I see all of the individual battery information under /ivp/ensemble/inventory
but I don't see the input/output power to each battery there.
from home_assistant_custom_envoy.
Yeah, the /ivp/ensemble/inventory
endpoint does not give input/output. I calculate the Battery Energy Charged and Discharged entities by taking the difference between the two most recent values of Total Battery Capacity. Does that give you want you need?
I suppose I can also calculate watts from the watt hours of the Battery Energy Charged/Discharged and elapsed time.
from home_assistant_custom_envoy.
The ivp endpoint doesn't, but the production.json does (even when the rest of the stats is in the ivp endpoint).. I've just worked around it for myself by adding CTs to the battery panel and to the load panel to view input/output there.
I get wh, etc from the batteries via /ivp/ensemble/inventory
just real-time is in production.json
in the storage bit..
from home_assistant_custom_envoy.
Related Issues (20)
- Current and Today's Energy Production with strange values/behaviour HOT 9
- Questions on migrating to new HA Core version HOT 8
- Missing all "net" entities and consumption amps entities, but CTs are installed and enabled HOT 7
- Question: Which Sensor shows the power consumption of the house HOT 2
- Filtrage des valeurs incohérentes HOT 5
- Current measurement does not look ok HOT 4
- disable power production by negative energy prices HOT 4
- All connection attempts failed HOT 16
- HA - Invalid authentication
- Entities have no value anymore after update envoy (automatically by enphase) on 01-04-2024 HOT 10
- Binary Sensor Grid Status no longer available HOT 3
- error communicating with API HOT 5
- support for enlighten v4 API HOT 3
- Question: Which Sensor shows the energy send to the grid? HOT 28
- "Production Current" is non-zero amps at night...huh? HOT 1
- Connectivity issues since a few days HOT 2
- Microinverters appear on wrong Envoy HOT 11
- 14,000kwH generated and it's only 10am. It went whacky HOT 5
- Power factor entities flood logbook HOT 12
- Inverter update frequency now once per hour (?) HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home_assistant_custom_envoy.