Closed Nabys closed 2 days ago
You can switch on debug logging on the integration page.
Thank you. It comes up with this:
2024-07-05 12:39:11.133 DEBUG (MainThread) [custom_components.fusion_solar.fusion_solar.kiosk.kiosk] calculated API base url for ABCDE: https://uni004eu5.fusionsolar.huawei.com 2024-07-05 12:39:11.134 DEBUG (MainThread) [custom_components.fusion_solar.sensor] fusion_solar 2024-07-05 12:39:11.134 DEBUG (MainThread) [custom_components.fusion_solar.sensor] ABCDE 2024-07-05 12:39:11.675 DEBUG (SyncWorker_9) [custom_components.fusion_solar.fusion_solar.kiosk.kiosk_api] Received data for ABCDE: 2024-07-05 12:39:11.676 DEBUG (SyncWorker_9) [custom_components.fusion_solar.fusion_solar.kiosk.kiosk_api] {'realTimePower': 1.343, 'cumulativeEnergy': 11742.800000000001, 'monthEnergy': 86.11, 'dailyEnergy': 11.120000000000001, 'yearEnergy': 2720.17} 2024-07-05 12:39:11.679 DEBUG (MainThread) [custom_components.fusion_solar.sensor] Finished fetching FusionSolarKiosk data in 0.545 seconds (success: True)
And this gets repeated every 10 mins.
I also tried removing the integration completely and adding it again which hasn't worked. Still HA only ever shows 1 data point and the previously reported point is no longer available.
I'm closing this as I'm a complete noob and this is totally a me issue and not anything to do with the integration. Sorry! (When re-adding the integration I renamed the sensors differently by accident and seeing I have several things excluded from the recorder, these were now also excluded...)
Describe the bug Now that #178 is fixed, my HA is receiving kiosk data again, but every received data point overrides the previous, which means no history is being build.
So eg the real time power sensor only every shows the latest data point of max 30 mins old and nothing before that.
Debug information Answer the questions below before submitting a new issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior With every data point received from the kiosk, HA builds a history of the points, instead of only recording the latest one.
The below screenshots look the same, but they're at different kWh and they show that no history is recorded.
Screenshots If applicable, add screenshots to help explain your problem.