CharlesGillanders / homeassistant-alphaESS

Monitor your energy generation, storage, and usage data using the official API from Alpha ESS.
MIT License
101 stars 22 forks source link

No daily consumption values since API coming back #137

Closed tbgoose closed 1 month ago

tbgoose commented 1 month ago

Hi all

After many restarts and reloads of the integration in HA I finally have some of my sensors back (instantaneous, some misc others), however have no consumption data (charge, discharge, grid to load, grid to X, solar to X etc). alpha1 alpha2

Anyone else have this happening or any ideas how to fix?

Logs:

2024-10-19 09:43:32.563 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alphaess which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-19 09:56:38.147 DEBUG (MainThread) [custom_components.alphaess] Finished fetching alphaess data in 17.271 seconds (success: True)
2024-10-19 09:56:38.147 INFO (MainThread) [custom_components.alphaess] Initializing Inverters
2024-10-19 09:56:38.147 INFO (MainThread) [custom_components.alphaess] Serial: AL2002XXXX Model: SMILE5-INV
2024-10-19 09:57:55.653 DEBUG (MainThread) [custom_components.alphaess] Finished fetching alphaess data in 17.674 seconds (success: True)
2024-10-19 09:59:12.757 DEBUG (MainThread) [custom_components.alphaess] Finished fetching alphaess data in 17.778 seconds (success: True)
2024-10-19 10:00:30.280 DEBUG (MainThread) [custom_components.alphaess] Finished fetching alphaess data in 18.301 seconds (success: True)

Postman indicates the alpha api isn't providing these values, so perhaps not related to this addon at all... {{BaseUrl}}/getSumDataForCustomer?sysSn={{SysSn}}

{
    "code": 200,
    "msg": "Success",
    "expMsg": null,
    "data": {
        "epvtoday": 0,
        "epvtotal": 42850.50,
        "eload": 0,
        "eoutput": 0,
        "einput": 0,
        "echarge": 0,
        "edischarge": 0,
        "todayIncome": 0.0,
        "totalIncome": 8153.85,
        "eselfConsumption": 0.78,
        "eselfSufficiency": 0.83199,
        "treeNum": 7336.5379,
        "carbonNum": 36851.4300,
        "moneyType": "AUD"
    },
    "extra": null
}

{{BaseUrl}}/getOneDateEnergyBySn?sysSn={{SysSn}}&queryDate={{CurrentDate}}

    "code": 200,
    "msg": "Success",
    "expMsg": null,
    "data": {
        "sysSn": "AL2002XXXX",
        "theDate": "2024-10-19",
        "eCharge": null,
        "epv": null,
        "eOutput": null,
        "eInput": null,
        "eGridCharge": null,
        "eDischarge": null,
        "eChargingPile": null
    },
    "extra": null
}
tbgoose commented 1 month ago

Went over to the openapi git to see if any chat there about similar issues and issue tracker is gone, and all links to recent issues 404. e.g. both the recent issues relating here are gone

image https://github.com/alphaess-developer/alphacloud_open_api/issues/88 https://github.com/alphaess-developer/alphacloud_open_api/issues/89

tbgoose commented 1 month ago

And alpha monitoring also doesn't show this info. Will contact alpha support. image

tbgoose commented 1 month ago

Everything came back online at 8pm yesterday. All seems to be reporting normally. image