-
Notifications
You must be signed in to change notification settings - Fork 76
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
None of the Daily/Weekly Sensors showing and data #88
Comments
So you are using an Envoy Model S Metered but the CT's are not connected? Here you can see the output of the production endpoints in a similar configuration. |
Thanks for the reply. Yes, the CT's are not able to be used in a SCE ( SoCal Edison ) panel. No-one but Edison has access and the in and out are connected to a busbar. So I purchased and connected the Emporia Vue Utility Connect device which connects to the SCE meter via zigbee. Through their app I can see a graph that basically goes up and down with production and consumption and changes colour depending on which is greater. Graph turns green and starts from zero when production becomes more than consumption. There is a great HA integration that gets me that data in HA. Are you basically saying there is no way to do what I need to do? Thanks again for your time! |
Hey @asinla, to get values for "Lifetime Energy Production" right now you could fork the repository and change lines 653/654 in envoy_reader.py. from:
to:
"Lifetime Energy Production" could to be used as an input for the home-assistant energy dashboard. At the moment I am not aware of a local API endpoint that would provide the missing data for Maybe at some point in the future someone figures out a way to collect this data in a configuration like yours. Hope I could help. |
Think the key to detection if an envoy-s metered is using production meters is in the returned json. A non-metered Envoy (mine) only returns 1 production element in production.json
An ENVOY Metered returns a second production segment (see 51)
An Envoy metered with no production CT connected will report activeCount 0 in the second production segment, see 51
So if there's a production[1] and activecount = 0 then use the production[0][whlifetime] instead of the [1] one. Provided that this number is the correct number as there seems to be some discussion on that. You should be able the validate that number against the enphase website numbers. |
Thanks so much for your time catsmanac. I really appreciate it. I was sure that if the Enlighten app was giving me production numbers and the Emporia Vue app was giving me consumption numbers then I would be able to use those 2 in HA in some way. Thanks again, have a great week. |
Hey @catsmanac, If you like you could give it a try. |
Trying it, feedback in your repo's issues |
Hi I can confirm this fix is working for me!! I changed the code on lines 657/658 (below ENVOY_MODEL_S and is not self.isMeteringEnabled) though... |
Same issue here. No production values, only current production. |
Same issue here, the HA integration stopped working for me, but this custom integration works .. except the today, week and lifetime stays at 0 Wh. Envoy-S-Metered-EU |
I have the same issue, today's and 7 day power counters are report 0. With the 5.x firmware and default HA integration these values were reported. In the installer app they are also reported. Update: It seems that with the latest firmware /api/v1/production returns 0 for the wattHoursToday and wattHoursSevenDays. I have opened an issue in the Enphase installer app. Firmware D7.6.175 (f79c8d) |
My Envoy-s EU non metered now on 7.6.175 is still reporting all data as before in v1/production. Data in production.json was not correct before and now with the exceptions of wNow that matches wattsNow in v1/production. Seems metered ones are impacted (with and withouth meters connected/enabled) |
Are all of you with this problem using ENVOY metered without CT's connected? (With activeCount 0 for type eim in production.json
) |
I have a non metered (Envoy-s standard). In my Envoy-s the fields wattHoursToday and wattHoursSevenDays are both 0. However the Enphase website shows them correctly. |
Keep us posted. I'm running Envoy-s standard EU with d7.6.175 as well and am getting v1/production correctly (fingers crossed I guess)
|
@Imaginous can we close this one? |
Does it actually already work without modification of the code for non metered? |
Mine still not working. I just got PTO officially yesterday and the system had been turned off the week prior by my installer so I’m waiting for at least a week of fresh data to try again. |
@Theetjuh I'm running ENVOY-S EU Standard (non-metered) with V0.0.17. Which is something different as ENVOY-S metered without CT configured/connected. Sometimes there's confusion about this detail. For real plain vanilla ENVOY-S non metered the only fundamental change is the cached token so a restart/reload is not dependent on the Enphase web-site performance. You may consider switching to new HA Core enphase envoy expected in one of September releases. |
@asinla the metered envoy without CT configured/connected is known to not return daily and last seven day values. Furthermore it reportedly resets lifetime production to 0 when it reaches ~1.2Mhh, see note 2 in the readme. Since mid july release the code recognizes this situation and grabs the lifetime and current values from a different location in the same report so these are at least available. |
Got it, thanks. I’ll keep my eye open for the HA Sept release and see if there’s any movement. |
HA release will have same issue as it's an Envoy firmware problem, we worked around the best we could and I think HA core one did too. |
Well that didn't work, so I'm back :) |
It's been reported at various locations that ENVOY-Metered without CT's installed/configured is not providing data in daily weekly entities. Can you post the diagnostic report of the Envoy here just to confirm I'm not overlooking anything? (download it to your pc from the envoy device page in HA, Rename it to .txt and upload in a reply. Sensitive data like pw are hidden, but you may want to remove other entities if you like and/or replace the Envoy serial if you want to hide it as well) |
I’ll try and create a seperate HA instance, cause constant switching between the implementations causes major corruption in my energy history. Give me some time for that please, for now I can tell you that this DEV implementation gives lifetime sensor data and the one in HA doesn’t. |
I see quite some activities in the HA Core Envoy environment, so they are probably working out the startup issues. |
HA 2023.9.1 seems to be working in my test environment, at least I see the same current power production and lifetime energy production as in my prod environment, so they probably changed something in the .1 release. Will run it for a day or so and see if the energy dashboard is updated, then I'll update my prod environment. |
It works, so I migrated to the HA implementation, thanks for all the info and help @catsmanac! |
Install went fine, thanks so much for this.
However the Daily, Weekly and Lifetime production sensors show 0.0 after 4 days of me installing the integration. My Enlighten app and website show the data fine but for some reason in HA it's just 0.
I do not have CT's installed (cannot do that with SCE meter unfortunately) so consumption will definitely show as 0. I am setting up my Emporia View data to work with this Enphase data as soon as I can figure out this issue.
Thanks for your time!
I'll buy you a coffee today!
The text was updated successfully, but these errors were encountered: