Comments (19)
If your system is < v7 could you send me the output of
``
curl http://envoy-ip/home.json
curl http://envoy-ip/inventory.json?deleted=1
curl http://envoy-ipproduction.json?details=1
curl http://envoy-ip/info.xml
``
replacing envoy-ip as appropriate
from enphasecollector.
Possibly good to get both when exporting power and not exporting power outputs
from enphasecollector.
from enphasecollector.
Thanks I will see if that helps me understand what is happening.
Be aware that it may be something special in how your installer wired things up
from enphasecollector.
Ok, so both your net consumption and total consumption measuring devices in the envoy are returning negative consumption values.
For the point in time that the data was captured you had approx
total production=1288W
total consumption=-266W
Not sure how to interpret that. The basic calculations I do is read production and consumption then export is when production > consumption and import is when consumption > production.
consumption should not go negative.
You mention you have 2 systems connected up. Since I cannot read the other system then I doubt I can create accurate stats.
I have a few choices here, I could zero out negative consumption or treat negative as positive. maybe but I really don't know why consumption is negative.
from enphasecollector.
from enphasecollector.
Unfortunately, the enphase controller doesn't report grid import or export that I know of. It reports production and consumption values and then I calculate import/export.
The code is based on reverse engineering the data I see. If you know of a field that supplies grid import/export then I can look at that.
Maybe in your scenario a negative consumption is grid export, does that seem right?
from enphasecollector.
from enphasecollector.
from enphasecollector.
The net consumption value is also negative. It is also the sum of production and total consumption if both were negative.
total production=1288W
total consumption=-266W
net consumption = -1554
The endpoints under the ivp path are supposed to be realtime but require a different password so I never used them as most of the data I needed was under the open endpoints and the other data was protected by a basic scheme.
From V7 the ivp endpoints may be broken, there was some discussion on the forums about it but I cannot check.
from enphasecollector.
from enphasecollector.
Sorry, no images are shown. Might need to link to them or email direct to dlmcpaul AT gmail.com
So what is the ask here.
- Treat negative consumption as grid export?
- Have a mode to use ivr stats for consumption instead of net or total consumption?
The second looks cleaner if it's possible.
from enphasecollector.
from enphasecollector.
How do you run the application? Java jar or docker image?
Can you see the images in your comments because I don't. > 10Mb perhaps?
from enphasecollector.
from enphasecollector.
Ok I have a first cut of something to try. Will build a docker image for you to test with soon.
from enphasecollector.
There is an experimental docker image that tries to generate the stats while expecting consumption to track import/export
You will need something like
docker run -it -e TZ=US/Pacific -e ENVOY_CONTROLLER_HOST=XXX -e SPRING_PROFILES_ACTIVE=experimental -p 8080:8080 dlmcpaul/enphasecollector:experimental
I have pushed the code I am using under MetricCalculatorNegativeConsumption and that is activated by the experimental profile.
Might need to find a better name for the profile if this goes ahead.
from enphasecollector.
from enphasecollector.
@goldserve Did the new profile module work for you
from enphasecollector.
Related Issues (20)
- Duplicate key error on new deployment when writing to influxdb HOT 5
- Can't get Docker Build to Complete HOT 38
- Receiving error after updating to current version HOT 12
- H2 database upgrade to V2 HOT 3
- Support InfluxDB > 1.8 HOT 2
- Remove Hibernate and just rely on basic Spring Data
- Publish real-time stats to MQTT server HOT 3
- Automatically select https (port 443) for V7 enphase devices HOT 5
- Not an Issue -- Thank you HOT 1
- Enphase Gateway (Envoy) API changes HOT 33
- Update "How to build" docu HOT 7
- Battery data not in database HOT 28
- New release needed HOT 2
- Is "excess" equal to what is being exported to the grid? HOT 1
- Dockerfile bug: unknown instruction: IF HOT 3
- How to connect to MQTT publisher HOT 3
- Error retrieving solar stats - IO error HOT 8
- Unrecognized field "system_id" HOT 4
- problems connecting MQTT server HOT 6
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 enphasecollector.