tolwi / hassio-ecoflow-cloud

EcoFlow Cloud Integration for Home Assistant
353 stars 60 forks source link

Allow Max Charge Level to be set below 50% #65

Closed tangix closed 1 year ago

tangix commented 1 year ago

Trying to implement a bi-monthly battery cycle as suggested in the docs (for my River Max at least) where the battery should be emptied to 30% and then charged to 85%. Unfortunately, with the current version (0.8.9) it is not possible to set the Charge Level lower than 50%. Hoping this could be fixed.

tolwi commented 1 year ago

It is impossible to set the Charge Level lower than 50% in a native app.

tangix commented 1 year ago

5985D5BA-929A-4403-BF54-634C44C90F4C_1_102_o This is a RIVER Max running firmware 1.2.4.14 in the latest iOS app (version 4.7.0.12)

tangix commented 1 year ago

And yes, the unit goes down to 30% charge level before it starts charging again (indicated on the unit display).

tolwi commented 1 year ago

hm set Charge level to 33% then download diagnostic dump and attach it to this issue please

tangix commented 1 year ago

config_entry-ecoflow_cloud-f77d4fe9aa4e56e05717cd305f9e9c13.json.txt

tolwi commented 1 year ago

v0.9.1

tangix commented 1 year ago

Installed 0.9.1 but unfortunately I now get these errors when changing the charge level using the slider:

Logger: custom_components.ecoflow_cloud.mqtt.ecoflow_mqtt
Source: custom_components/ecoflow_cloud/mqtt/ecoflow_mqtt.py:264
Integration: Ecoflow-Cloud ([documentation](https://github.com/tolwi/hassio-ecoflow-cloud), [issues](https://github.com/tolwi/hassio-ecoflow-cloud/issues))
First occurred: 07:41:56 (8 occurrences)
Last logged: 07:50:29

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xac in position 7: invalid start byte. Ignoring message and waiting for the next one.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 7: invalid start byte. Ignoring message and waiting for the next one.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa9 in position 7: invalid start byte. Ignoring message and waiting for the next one.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb4 in position 7: invalid start byte. Ignoring message and waiting for the next one.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xaf in position 7: invalid start byte. Ignoring message and waiting for the next one.

Setting the value (< 50) from the iOS app I see the same value picked up in Diagnostics so App -> HA works.

tolwi commented 1 year ago

@tangix UnicodeDecodeError is not explicitly related to this functionality. If requested feature is ok - close the issue, please.