-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Wh] counters at home assistant core 2023.9.1 not working #323
Comments
Hi @christianmhuber, sorry to hear you're running into problems. I can't observe the behavior on my deployments of 2023.9.2, but those are not cascaded deployments. Let's take a look at your log messages:
This could be related to your problem. I wonder why the value would be reported as infinity, though. This usually only happens if the number exceeds the maximum representable value. And that should happen on 2023.8 and 2023.9 alike. If you're adventurous and want to try another update, we might glean something from the debug logs.
This sounds identical to #258, which is only a warning and shouldn't cause a failure. I still haven't gotten around to fixing that. |
Hi @christianmhuber, i have a similar setup with two Storage DC 10 in Master/Slave mode and observed the same behaviour. Sometimes the values in the Energy Dashboard got updated after a restart, but not always. I am using the "All Generators Energy Production Total" entities for Master and Slave for solar production. They were showing as unavailable in the configuration of the dashboard. For my setup it seems to be solved by deactivating all External Energy production entities as well as all Slave Consumer Energy entities in the setup of the RCT Plugin. Hope that helps... |
Hi @weltenwort, hi @rhoegen, thanks for the update and feedback. Thanks a lot to both of you for your support. |
@weltenwort Thanks a lot for the awesome integration.
I'm running home assistant on a QNAP NAS since a month and using the integration to pull data from my two RCT power storage DC10 and DC 6 (master and slave). The energy dashboard at home assistant is using for solar production the tags:
Besides this, I added at another dashboard to show some other RCT power storage DC tags.
E.g. "... DC 10 Generator A Energy Production Day" and "... DC 10 Generator A Power".
Back last Saturday I updated home assistant core to 2023.9.1.
After this all [Wh] counters had stopped working, e.g. Production Total as well as Production Day.
The [W] Power were still updating as expected.
Strange thing, after a restart of home assistant, the [Wh] counters got updated just ones to the correct value, then not anymore.
Therefore the solar production at home assistant energy dashboard showed non updating data.
Whereas grid energy consumption total, grid energy production absolute total, battery used and stored energy were working fine.
From the log e.g.:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 604, in state raise ValueError(
ValueError: Sensor sensor.rct_power_storage_dc_10_external_energy_production_year has device class 'energy', state class 'total_increasing' unit 'Wh' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-finite value: 'inf'
2023-09-11 07:55:10.350 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.rct_power_storage_dc_10_consumer_energy_consumption_day from integration rct_power has state class total_increasing, but its state is not strictly increasing. Triggered by state 2971.4 (2979.7) with last_updated set to 2023-09-11T05:53:23.981629+00:00. Please report it to the custom integration author.
Switched back to home assistant core 2023.08 this week Tuesday (switched to MariaDB too).
Since then both dashboards are working fine again.
Is this something, which should be addressed to home assistant or I'm here at the right spot?
Best regards
Christian
The text was updated successfully, but these errors were encountered: