nordicopen / easee_hass

Custom component for Easee EV charger integration with Home Assistant
207 stars 34 forks source link

statistics not defined #205

Open tomasenskede opened 2 years ago

tomasenskede commented 2 years ago

Question

HA 2022.8.7, trying to add sensor.hermanssons_equalizer_import_energy to the Energy (:8123/config/energy) dashboard... gets error;

statistics_not_defined sensor.hermanssons_equalizer_import_energy

Entity unavailable The state of these configured entities are currently not available: sensor.hermanssons_equalizer_import_energy (unavailable)

What version of the integration are you using?

v0.9.44

Anything in the logs that might be useful for us?

No response

Additional information

No response

olalid commented 2 years ago

I think you just need to wait for a while until there is enough data collected. The energy sensors only updates once per hour normally (limitation of the standard used in the electric meters) so you need to have a few hours pass. Let us know if does not work after 24 hours.

tomasenskede commented 2 years ago

Three days later, I still have the same error

statistics_not_defined

Entiteten är inte tillgänglig Tillståndet för dessa konfigurerade entiteter är för närvarande inte tillgängligt:

I have data on the sensor in all other dashboards... only the "Energy" dashboard that doesn't have it...

Tomas


Från: Ola Lidholm @.*** Skickat: den 26 augusti 2022 11:38 Till: fondberg/easee_hass Kopia: Tomas Hermansson; Author Ämne: Re: [fondberg/easee_hass] statistics not defined (Issue #205)

I think you just need to wait for a while until there is enough data collected. The energy sensors only updates once per hour normally (limitation of the standard used in the electric meters) so you need to have a few hours pass. Let us know if does not work after 24 hours.

— Reply to this email directly, view it on GitHubhttps://github.com/fondberg/easee_hass/issues/205#issuecomment-1228283159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHYV3F5XGFY5UTDC2P74AY3V3CGA3ANCNFSM57V7RK5Q. You are receiving this because you authored the thread.Message ID: @.***>

olalid commented 2 years ago

Unavailable sort of indicates to me that the name of the sensor is not correct/has changed since you configured it, but hard to tell without actually being able to see your UI... I assume you mean that is in this view you see the error message?

Screenshot 2022-08-29 at 13 49 56

Can you see history of this sensor if you look at it as a sensor? I.e. not just the present state?

olalid commented 2 years ago

I.e. history like this:

Screenshot 2022-08-29 at 13 53 50
tomasenskede commented 2 years ago

The history is there: @.***

But the dashboard has no information at all @.***

These are my settings;

@.***

Från: Ola Lidholm @.> Skickat: den 29 augusti 2022 13:54 Till: fondberg/easee_hass @.> Kopia: Tomas Hermansson @.>; Author @.> Ämne: Re: [fondberg/easee_hass] statistics not defined (Issue #205)

I.e. history like this: [Screenshot 2022-08-29 at 13 53 50]https://user-images.githubusercontent.com/34105674/187195307-0796d31d-3cdd-4c6c-af33-16d4f31472ff.png

— Reply to this email directly, view it on GitHubhttps://github.com/fondberg/easee_hass/issues/205#issuecomment-1230184095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHYV3F63OKEVVFT3AVLD4OTV3SQHJANCNFSM57V7RK5Q. You are receiving this because you authored the thread.Message ID: @.**@.>>

tomasenskede commented 2 years ago

Ops… is this the root cause of the error maybe? “energy” dosnt have data, “power” has… if so, then the next question… why isn’t “energy” updated? Easee plugin issue`?

@.***

Från: Ola Lidholm @.> Skickat: den 29 augusti 2022 13:54 Till: fondberg/easee_hass @.> Kopia: Tomas Hermansson @.>; Author @.> Ämne: Re: [fondberg/easee_hass] statistics not defined (Issue #205)

I.e. history like this: [Screenshot 2022-08-29 at 13 53 50]https://user-images.githubusercontent.com/34105674/187195307-0796d31d-3cdd-4c6c-af33-16d4f31472ff.png

— Reply to this email directly, view it on GitHubhttps://github.com/fondberg/easee_hass/issues/205#issuecomment-1230184095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHYV3F63OKEVVFT3AVLD4OTV3SQHJANCNFSM57V7RK5Q. You are receiving this because you authored the thread.Message ID: @.**@.>>

olalid commented 2 years ago

I guess you tried to attach some pictures by replying to the email? Seems like it did not work which makes it very hard to follow...

niclasdahlquist commented 2 years ago

"Ops… is this the root cause of the error maybe? “energy” dosnt have data,", I think you are right on this one. I have the same issue and it is only the "energy" sensors that are available from the Energy card, not "power" I get this errror when setting this. I hope the attchment is visible.

Br //Niclas

Energy_error

niclasdahlquist commented 2 years ago

This is the view from Integration, where you can also see "unavailable" and below category "Diagnostik"??! The Power sensors seem to work fine, but as I said, these are not available in drop down when configuring Energy card, only the "Energy", which are unavailable.
Energy_error_2

olalid commented 2 years ago

I assume your sensors are not disabled, right?

Screenshot 2022-08-29 at 22 23 06

Unless that is the case I think this is likely a cloud and/or issue with compatibility between equalizer and electric meter. Also, please check if you can see these values in the easee web interface. If you can not see them there either, the problem is most likely in the Easee cloud.

niclasdahlquist commented 2 years ago

yes, they are activated. Not exactly sure what value to correspond to from easee web, is it "Kumulativ aktiv strömimport/export". The are right now 0 so it seems like a compatibility issue as you say. It is a completely new meater from Eon (E360). So, only option is to report to Easee instead then or any other suggestions of workaround? easee_web

olalid commented 2 years ago

Yes, it is "Kumulativ aktiv strömimport/export" that corresponds to these sensors. (I do not really like their translations, makes no sense to me, it is energy, not current...). The only thing we can do is report to Easee. Their support is usually good, but if you feel you get nowhere let me know.

niclasdahlquist commented 2 years ago

Good news. Got a quick respons from Easee support that they were aware of the issue and a fix is included in next FW upgrade. Do not know of their release schedule but hopefully soon :-)

olalid commented 2 years ago

Good, thanks for letting us know.

tomasenskede commented 1 year ago

Thanks, will the new firmware release be updated automatically or should check somewhere?

Tomas Hermansson 076-7218145

Sent from my mobile please excuse brevity and typos

31 aug. 2022 kl. 19:31 skrev niclasdahlquist @.***>:

Good news. Got a quick respons from Easee support that they were aware of the issue and a fix is included in next FW upgrade. Do not know of their release schedule but hopefully soon :-)

olalid commented 1 year ago

It is usually updated automatically.

niclasdahlquist commented 1 year ago

Not sure if it is released yet, but I pushed for a release date and then they actually pushed out the (test) new version to my specific device (very service minded 😊), version v111 and can just confirm that everything now works fine in HA with both import export data in HA. So, if you cannot wait, maybe you could ask for the same.

tis 11 okt. 2022 kl. 20:02 skrev Ola Lidholm @.***>:

It is usually updated automatically.

— Reply to this email directly, view it on GitHub https://github.com/fondberg/easee_hass/issues/205#issuecomment-1274793411, or unsubscribe https://github.com/notifications/unsubscribe-auth/APC2LNPQJ5CPR3DAQKEZ5JLWCV3BNANCNFSM57V7RK5Q . You are receiving this because you commented.Message ID: @.***>