Closed dan-s-github closed 11 months ago
I was about to open an issue about the same thing. Everything with the new API works except the Energy tab reporting.
I am in GMT+10, and I think what I'm seeing is that the values start working by themselves by 10am.
Interesting observation and I had to check
I am in GMT+13 and can confirm that my values also started to show up at 1pm
looks like something was reset at 1pm
three sensors were reset at midnight and four at 1pm (don't know about solar to grid) one sensor did not some other jump
will check if this will happen again tomorrow
last nights log entry around midnight
2023-11-20 00:00:07.646 ERROR (MainThread) [custom_components.alphaess] Unexpected error fetching alphaess data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alphaess/coordinator.py", line 45, in _async_update_data
_pv = _onedateenergy.get("epv")
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
2023-11-20 00:01:10.619 ERROR (MainThread) [custom_components.alphaess] Unexpected error fetching alphaess data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alphaess/coordinator.py", line 45, in _async_update_data
_pv = _onedateenergy.get("epv")
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
and two other entries after 1pm
2023-11-20 13:45:10.539 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.al2002118050331_solar_to_load from integration alphaess has state class total_increasing, but its state is not strictly increasing. Triggered by state 12.6 (12.8) with last_updated set to 2023-11-20T00:40:30.680668+00:00. Please create a bug report at https://github.com/CharlesGillanders/homeassistant-alphaESS/issues
2023-11-20 13:45:10.539 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.al2002118050331_total_load from integration alphaess has state class total_increasing, but its state is not strictly increasing. Triggered by state 12.6 (12.8) with last_updated set to 2023-11-20T00:40:30.680994+00:00. Please create a bug report at https://github.com/CharlesGillanders/homeassistant-alphaESS/issues
History panel views
Duplicat of Issue 85
I installed new Integration on Friday afternoon and noticed that the Energy dashboard didn't show any values on Saturday.
After rebooting Home Assistant values came back.
Same thing happened today and I restarted Home Assistant again, waiting for Energy to show data
Startup log looks mostly fine
checking home-assistant.log.1 I found these issues
What I also noticed that solar production was not reset at midnight the day before (#75) affects also other totals but not all, somehow grid_to_battery was not reset yesterday but was today while others didn't reset at all.
Service seem to work without issues