-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Energy dashboard not all graphs are populating with Envoy system #54455
Comments
enphase_envoy documentation |
Hey there @gtdiehl, mind taking a look at this issue as it has been labeled with an integration ( |
In that case, I'm not sure what you are asking for? |
I think you configured it incorrect. Grid consumption and return to grid must be from a smart electricity meter entity (P1 port). That's not an envoy problem. |
@dennis07527 It is also listed as solar production for the same sensor, which is not correct. The same sensor cannot be measuring solar production and what is going back to the grid. Those are different things. |
@frenck I should have mentioned @anachronox99 in my previous post. The energy dashboard is working fine only the topic starter has not al the required sensors I guess. |
@dennis07527 Are you looking for more fine-grained energy production details, such as individual inverter data? I'm not sure what the problem is if the dashboard is working now. |
Thanks all for your feedback. I think maybe my expectations were wrong. I was thinking that when I configured the Energy tab, and selected the consumption and return fields, that I would be able to pick the correct envoy sensor that represented this. But I only see 'Lifetime Energy Consumption' and 'Lifetime Energy Production' as options to pick, when in reality, I have several more envoy sensors automatically surfaced for me by the Envoy integration in HA. Here are the sensors that the Envoy integration surfaces: (I excluded all the individual sensors for the inverters to reduce the size of the list). I now realise that none of these sensors actually measure the energy returned to grid. But I could create a new calculated sensor based on the amount currently being produced and consumed. Is this what I need to do? And if I did, how do I surface this so it shows up in the drop down list in the Energy config tab? Are the other two fields (Grid Consumption and solar production) correctly configured? thx |
@gtdiehl I am not the one with the problem, just trying to help ;) |
@anachronox99 This is my setup. Only lifetime envoy data is needed at solar production. It calculates the solar production based on that sensor. The rest of the sensors are from different integration (dsmr reader in my situation). |
Envoy's are installed in two different configurations when using Consumption CTs. Depending on if the Envoy is configured as Net or Total Consumption could impact the values you are seeing in Home Assistant. The Envoy backend should actually have both values, and the API retrieving the data should be getting the Total Consumption data. I only mention this just in case for some reason the Envoy backend is not returning what is expected. You are correct the sensors don't show directly what is being returned to the Grid but by using Production (under Solar Panels) and Consumption data the difference will give you what is being returned to the Grid, if any. EDIT: I think I get what you are saying Home Assistant needs a third Envoy sensor to show what is being returned to the Grid? |
Thanks all. So some questions on the 3 input sensors that are required: Thanks |
I don't have access to an Envoy with Consumption and MyEnlighten app. The I did create a 3rd sensor in my development environment, but not sure if it is working correctly though since I can only see the current data from the Envoy and not the hourly data from MyEnlighten. If the below works it could be added
Edit: Looking into it a bit more and I don't think the above will work. Might have to come up with a different way of calculating grid export kWh from the data the Envoy returns. |
Thanks - will try it. I was wondering why you used the lifetime rather than the current value sensors? |
@gtdiehl happy to debug with you if you'd like to try on my system. |
@anachronox99 After looking at the above template I think the But this still gives us Net Energy in both directions, so it should be filtered even more to only include a negative value. I don't know still looking into this. Lifetime is being used so the |
@anachronox99 I don't have access to an Envoy system that is exporting much to the grid. The below might work. The template only records a value when the Envoy has a Net Consumption of a negative value. The Envoy resets this counter every day, so the Timezone configured in Home Assistant needs to match your Envoy device. If you don't mind can you try this out? Replace
I've commented out the |
@anachronox99 Thanks for checking it out. Thats strange looking at the net consumption part of the JSON output I see a negative value for Here's the section I'm looking at from the JSON output: EDIT: I thought Enlighten would display the Export to Grid value? I would expect to see Enlighten showing something being returned to the grid? EDIT: I found this reference that others having the same issue of |
@anachronox99 Here is another stab at it
|
Sorry - not looking right yet. Still doesn't show anything being returned to the grid.
|
Ok thank you for trying it out. I'll see what the issue is. Maybe in a few days I'll have an idea 😂 |
Can I see the Return to Grid graph from the Developers Tool? |
Thank you. The template is not working as I expected. The graph should be continuing upward until around Midnight, this is about when it should drop to zero due to the counter on the Envoy being reset. But that downward slope before Midnight should not be happening. That's probably why Home Assistant displayed the graphs because the calculations had negative values. I'll go back to the drawing board on this one. Come back in a few days. |
I modified the template above with the following logic to prevent the return to grid values from rendering if there isn't any solar production. Will let you know if this helps in the next 24 hours :)
|
Thanks - have put that in will leave it running and see how it goes and will post back tomorrow |
Just realized this isn't going to work at all. It won't register return to grid values until the daily power production exceeds the daily power consumption. {sigh} back to the drawing board. |
Found this thread that addresses the problem nicely! :) https://community.home-assistant.io/t/enhpase-envoy-on-2021-8-with-new-energy-feature/328668 |
Nice one - have implemented it and will report back. |
@anachronox99 If the configuration fixes your issue I’d say close it. |
Yes confirmed all working. Thanks all. |
The problem
I have tried to setup the Energy dashboard to work with my Envoy system. However, when doing the configuration, I only get two options to pick from when setting up the Consumption, Return and Solar Panels. Below is an example of the options I see when setting up Consumption.
Here's my configuration. Picked what seemed to make sense to me.
So my problem is that the Energy dashboard doesn't populate all parts. Solar Production and self-consumed solar energy are empty.
Have I configured correctly? I'm not sure what else to try.
Thanks
What is version of Home Assistant Core has the issue?
core-2021.8.4
What was the last working version of Home Assistant Core?
new feature not supported in previous version
What type of installation are you running?
Home Assistant Core
Integration causing the issue
envoy
Link to integration documentation on our website
https://www.home-assistant.io/integrations/enphase_envoy/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: