hassio-ecoflow-cloud icon indicating copy to clipboard operation
hassio-ecoflow-cloud copied to clipboard

Error in Home Assistant logs, unclear about the consequences

Open Jamie-Jameson opened this issue 1 year ago • 1 comments

Hi there,

I added the ecoflow-cloud integration and are very satisfied with the functionality. Thanks for this! However, I noticed an exception log which I cannot understand. So I wanted to post it here. It occurs multiple times.

Note that I have close to Zero experience with Home Assistent and custom integrations.

`Dieser Fehler stammt von einer benutzerdefinierten Integration

Logger: homeassistant Quelle: custom_components/ecoflow_cloud/api/init.py:85 Integration: EcoFlow-Cloud (Dokumentation, Probleme) Erstmals aufgetreten: 21:26:29 (24 Vorkommnisse) Zuletzt protokolliert: 21:28:24

Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/config/custom_components/ecoflow_cloud/api/public_api.py", line 97, in quota_all raw = await self.call_api( ^^^^^^^^^^^^^^^^^^^^ "/device/quota/all", {"sn": self.devices[sn].device_info.sn} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/config/custom_components/ecoflow_cloud/api/public_api.py", line 122, in call_api return await self._get_json_response(resp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ecoflow_cloud/api/init.py", line 85, in _get_json_response raise EcoflowException(f"{response_message}") custom_components.ecoflow_cloud.api.EcoflowException: (('signature is wrong',), {})`

Jamie-Jameson avatar Mar 30 '25 19:03 Jamie-Jameson

Hello,

There are at least two possible reasons for this issue :

  • One of your device is disconnected from Wifi (it was often the case for my battery before I fixed limitation for min/max battery level and internal scenarii to switch power supply mode => From my side, I configured Min Discharge Level to 2% and Max Charge Level to 100% => In ecoflow app, I have an automation to switch to power storage when battery decreased under 9% and an other automation to switch to power supply when battery level increased above 21%) ==> You can see in ecoflow app if there is a disconnected device and reconnect it to your wifi

  • Your AccessKey has been created long time ago. For thise case, you just have to delete current accesskey and create a new one (from ecoflox website : https://developer-eu.ecoflow.com/us/security ) and update this key in your EcoFlow-Cloud Integration

Consequences of this issue : you have one or more devices which will not be updated (power, states, battery level, etc.) but it will not block actions (you still can change state of your devices)

Hope it solves your issue,

Angelius007 avatar Apr 06 '25 09:04 Angelius007