tolwi / hassio-ecoflow-cloud

EcoFlow Cloud Integration for Home Assistant
397 stars 71 forks source link

Getting no data from the EcoFlow Cloud into Home Assistant #247

Open moovikafrance opened 5 months ago

moovikafrance commented 5 months ago

Hello

I have the same problem as 3 weeks ago, no data is displayed. Have you changed anything in the last few days? Diagnostic json

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.5.5", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.2", "docker": true, "arch": "aarch64", "timezone": "Europe/Paris", "os_name": "Linux", "os_version": "6.6.28-haos-raspi", "supervisor": "2024.05.1", "host_os": "Home Assistant OS 12.3", "docker_version": "25.0.5", "chassis": "embedded", "run_as_root": true }, "custom_components": { "ecoflow_cloud": { "documentation": "https://github.com/tolwi/hassio-ecoflow-cloud", "version": "0.13.1", "requirements": [ "paho-mqtt==1.6.1", "reactivex==4.0.4", "protobuf>=4.23.0" ] }, "emporia_vue": { "documentation": "https://github.com/magico13/ha-emporia-vue", "version": "0.9.0", "requirements": [ "pyemvue==0.17.2" ] }, "hacs": { "documentation": "https://hacs.xyz/docs/configuration/start", "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] } }, "integration_manifest": { "domain": "ecoflow_cloud", "name": "Ecoflow-Cloud", "codeowners": [ "@tolwi" ], "config_flow": true, "documentation": "https://github.com/tolwi/hassio-ecoflow-cloud", "iot_class": "cloud_push", "issue_tracker": "https://github.com/tolwi/hassio-ecoflow-cloud/issues", "requirements": [ "paho-mqtt==1.6.1", "reactivex==4.0.4", "protobuf>=4.23.0" ], "version": "0.13.1", "is_built_in": false }, "data": { "device": "DELTA_PRO", "params": { "bmsMaster.actSoc": 33, "bmsMaster.allBmsFault": 0, "bmsMaster.allErrCode": 0, "bmsMaster.amp": -1417, "bmsMaster.balanceState": 0, "bmsMaster.bmsFault": 0, "bmsMaster.bmsHeartbeatVer": 259, "bmsMaster.bqSysStatReg": 128, "bmsMaster.calendarSch": 0, "bmsMaster.cellId": 2, "bmsMaster.cellNtcNum": 4, "bmsMaster.cellSeriesNum": 15, "bmsMaster.cellTemp": [ 30, 30, 31, 30 ], "bmsMaster.cellVol": [ 3310, 3313, 3312, 3311, 3310, 3310, 3314, 3314, 3314, 3312, 3311, 3313, 3313, 3313, 3311 ], "bmsMaster.chgDsgState": 1, "bmsMaster.cycleSoh": 0, "bmsMaster.cycles": 340, "bmsMaster.designCap": 80000, "bmsMaster.diffSoc": 2.4000244, "bmsMaster.ecloudOcv": 65535, "bmsMaster.errCode": 0, "bmsMaster.f32ShowSoc": 32.934032, "bmsMaster.fullCap": 73509, "bmsMaster.hwEdition": [ 86, 48, 46, 48, 46, 48 ], "bmsMaster.inputWatts": 0, "bmsMaster.maxCellTemp": 31, "bmsMaster.maxCellVol": 3314, "bmsMaster.maxMosTemp": 35, "bmsMaster.maxVolDiff": 4, "bmsMaster.minCellTemp": 30, "bmsMaster.minCellVol": 3310, "bmsMaster.minMosTemp": 35, "bmsMaster.mosState": 3, "bmsMaster.num": 0, "bmsMaster.openBmsIdx": 1, "bmsMaster.outputWatts": 0, "bmsMaster.packSn": [ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48 ], "bmsMaster.productDetail": 2, "bmsMaster.productType": 14, "bmsMaster.realSoh": 0, "bmsMaster.remainCap": 24209, "bmsMaster.remainTime": 0, "bmsMaster.soc": 33, "bmsMaster.soh": 96, "bmsMaster.sysLoaderVer": 16842762, "bmsMaster.sysState": 2, "bmsMaster.sysVer": 16843820, "bmsMaster.tagChgAmp": 64000, "bmsMaster.targetSoc": 32.93418, "bmsMaster.temp": 31, "bmsMaster.totalChgCap": 4294967295, "bmsMaster.totalDsgCap": 4294967295, "bmsMaster.type": 1, "bmsMaster.vol": 49745, "kit.availableDataLen": 83, "kit.maxKitNum": 2, "kit.productInfoDetails": [ { "procedureState": 0, "appVersion": 0, "productDetail": 0, "soc": 0, "curPower": 0, "f32Soc": 0, "protocolAvaiFlag": 0, "sn": "", "loaderVersion": 0, "productType": 0 }, { "procedureState": 0, "appVersion": 0, "productDetail": 0, "soc": 0, "curPower": 0, "f32Soc": 0, "protocolAvaiFlag": 0, "sn": "", "loaderVersion": 0, "productType": 0 } ], "kit.protocolVersion": 1, "latestTimeStamp": 1717147773057, "timestamp": 1717147773057 }, "set": [], "set_reply": [], "get": [], "get_reply": [], "raw_data": [] } }

Nid01 commented 5 months ago

Do you mean you are seeing no data since 10.03.2024 or did it work between back then and now? According to the diagnostic json you are still receiving data from the API, but you are not using the newest version of the integration. The newest one is 0.13.3 so maybe an update of your integration solves your issue.

Tarkotan commented 4 months ago

So nahe liegend und doch so fern. Danke für den Hinweis. Habe lange gesucht und deinen Rat glücklicherweise gefunden.

alxpd commented 4 months ago

Had the issue with getting updates, had fixed it with using the correct region for the account.

While API allows to log in with non-default region for your location, mqtt endpoint is resolved to the server corresponding to your actual region, and in case they are different, mqtt does not get updates on the mqtt topic.

My account was registered in US region and I am in Europe. I was able to login when setting up the device Home Assistant, but when the HA device is set up, it is not getting any updates. I've registered a new account setting the correct country as a region, re-added Ecoflow devices to the new account in mobile app, than re-added to Home Assistant with the new Europe account. That's it - now it works correctly.

alxpd commented 4 months ago

Most probably, it is not the same issue as described by the topic starter, but i've been hitting this topic multiple times when searching for solutions, so may be helpful for somebody.

Dev-Fabry commented 2 months ago

Hi Try the latest version (1.1.0) possibly with the Open Public API (which however requires that you have had two access keys generated by EcoFlow, registering for free as their developer) to see if you still have the problem (I think not).

This issue should almost certainly now be closed as already resolved (or not resolvable unless switching to the Open API)