-
Notifications
You must be signed in to change notification settings - Fork 38
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 Monitor Home Assistant #37
Comments
Hi have the same question. All sensors are not shown in the energy configuration panel. I think I have to include a last_reset property. But I'm not sure how to do this. |
I got I sensor working. and it needs to be a sensor with But I'm not sure with sensor is the correct one for Edit: |
Thanks for trying @kolossboss . There should probably more people who have this “problem” we will wait (and Google in the mean time) |
Yes let's try to get this working. Not sure about the reset time, but maybe
the API also shows kWh this year and we can use start of current year for
this.
…On Wed, Aug 4, 2021, 18:54 Alfagek ***@***.***> wrote:
Thanks for trying @kolossboss <https://github.com/kolossboss> . There
should probably more people who have this “problem” we will wait (and
Google in the mean time)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEQZ3B46AOOP56LA7PT643T3FWDBANCNFSM5BRKZMNA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hi,
An created a Utility Meter Sensor and cycle daily
Added a few missing attributes to
Now the sensor is detected by the Energy Management configuration. But I'm not sure if its working, because I'm not receiving any data at this moment (house ins running on battery) |
I did try to add the device class to my configuration.yaml (pv-etoday) but it’s not showing up in my energy monitor. @kolossboss, maybe it’s not showing up yet, because it’s a daily sensor that you are creating.And what i know it will add the value on 00:00 daily |
I do hope as well changes will be made to this component to make it work with Hass Energy. I'd rather not create a utility meter, because in essence you'll have two utility meters. The one you create with the utility meter integration and the new Energy Management feature, which is a utility meter in itself. |
With a quick look at the documentation it seems we need to expose another sensor with All above requirements seem to be simulated the above approach, and maybe also by |
Still cant see my PV production in Energy section. Anybody got it working? |
Just got my first values showing up on the Energy dashboard, followed @kolossboss method of adding a utility meter sensor with the source of daily production total and then after a restart I customised that sensors device_class and unit of measurement. |
I added an extra sensor for total kWh in a branch. It is released as It does not yet show up for me in the dashboard, but I'll wait an hour and see what happens. |
Great news, i was allready messing around with the sensors.. installing the beta -now- ;) |
@TimSoethout |
Just tested and the same as @tabnul above, I was able to get it to show up by
It'll take around one hour before I can tell if it matches the output from the utility meter option |
I'm having the same. It's not showing in the list of the power manager. I am hoping it will turn up after a while as @conormce was saying: "It looks like you need a full hours data from the sensor before it turns up." Does anyone know how to check if statistics are working? |
The source contains:
Apparently that is not enough to add those state attributes? I need to make diner now and will check later tonight again. EDIT: Probably have to add |
@TimSoethout will wait, thanks for now. Have a nice meal! |
https://github.com/TimSoethout/goodwe-sems-home-assistant/releases/tag/3.3.0-beta3 This seems to work and I can select it in the Energy config! |
Yup, working here as well. Thanks @TimSoethout ! |
Working here as well. Just a question, should I add "Inverter GoodWe Energy" to both the "Solar Panel" section and the "Return to grid" section? |
@TheGabeMan , I guess only "Solar" because the kWh it shows is what is produced by the panels, before any consumption in my house. Only left over energy after usage in the house goes back to grid. |
@TimSoethout ah and then the "Return to grid" should probably come from my P1 monitoring devcie. |
@TimSoethout , awesome job. Thanks for the quick fix (y) |
Works for me as well. Tnx!! Now I only have to wait for the sun to see it in action.. 😀 |
exactly, p1 / meter does that part Confirmed that beta 3 fixes it indeed. great work! |
It is now 7:48am down here and my GoodWe sensor (sensor.pv_outputpower) is showing 260W output, but the Energy dashboard remains empty for the solar panel section. In the developer tools, the "sensor.inverter_goodwe" shows a value of 260 and the attribute outputpower: 260. |
i think this is one of the major downsides of this dashboard. data lags behind massively. it calculates per hour. |
I think the Energy tab shows the total kWh (kW times hour) produced on the current whole day. If you have 0.6 kW power for 1 hour, you produce 0.6 kWh energy in total. I am glad it seems to work. I guess we can promote it to a non-beta version. |
Released as 3.3.0. :D |
@TimSoethout it doesn't seem to working correctly yet. My SEMS is registering a different output / capacity than the energy dashboard is showing. Any idea why so? |
@kevinvugts, I don't know. You mean that the 3.8 kWh from the energy overview differs from the PV Energy Day of 7.5 kWh? Maybe it is related to the delay (1 or 2 hours) in statistics that was mentioned earlier? Or it is related to this being the first day that the new version of the component is installed. That would clear up after running it for at least a full calendar day. |
@kevinvugts
I would think a combination of the two could be affecting you, 1) the current hours production will be the highest since it is approaching peak sun so the inverters total will be adding up but the dashboard won't change until 10 past the hour. 2) all the solar energy generated before you added the sensor to the dashboard won't count |
After waiting over 2 hours, still nothing is showing up in the new energy dashboard, |
Hi. HA takes care of tracking total per day from total kWh value.
The current output sensor contains other attributes as well. See readme in
how to get them as seperate sensors.
…On Mon, Aug 9, 2021, 06:38 Harrison Cook ***@***.***> wrote:
After waiting over 2 hours, still nothing is showing up in the new energy
dashboard,
One strange characteristic of the selected sensor, is that it is the total
energy produced, total. No other sensor can even be selected.
Is this the right one to use, or am I missing something?
I also don't seem to get any other sensors from the panels, just current
production and total.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEQZ3GNLV5YQ7R37RFACDTT35LVJANCNFSM5BRKZMNA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hi, |
I guess the component uses |
Definitely etotal. |
Hi, I guess you need another component for this that tracks your power taken and returned from/to the grid. You fill them in separately on the first screen of the Energy Monitor. For me this data comes from a |
I thought that templated sensors (such as buy) were not currently supported by the energy component of HA. I hope to be wrong in a good way :-) |
yes here too. The combination of utility meter and adding those extra atrributes seems to do the trick very nicely :-) |
I'm in the same time zone +1 Europe/Prague :-( |
:-(
That is from a custom integration, we do not support that. Please raise an issue with the author of that integration. |
I have little bit investigated data of sensors (Buy and Seller) and it seems that problem can be in real time of resetting. Last measurement I have at 23:45:50 (0,54 kWh) and first at 00:00:50 (0 kWh). Do you know how to move first measurement to midnight? |
It seems that my problem is solved by changing of sensor state_class from "measurement" to "total_increasing". :-) |
Aha, good! The latest version 3.4.0 should also fix it then, since it has the same change. |
Hey Tim,
First a big thank you for making this. I’m using it almost a year and it’s working great.
But I have a question. Home Assistant has a new Energy monitor (2021.8). And I’m using your setup to get all things that I want in Home Assistant. But i don’t see my power return in this Energy monitor. I do have it as a entity.
Do you know how I can get this now to use it in the new Home Assistant Energy Monitor.
https://developers.home-assistant.io/docs/core/entity/sensor#long-term-statistics
Thanks in advance,
Marco
The text was updated successfully, but these errors were encountered: