tolwi / hassio-ecoflow-cloud

EcoFlow Cloud Integration for Home Assistant
355 stars 61 forks source link

PowerStream - Custom Load Power + #271

Open gwenaelnavez opened 1 month ago

gwenaelnavez commented 1 month ago

Hello tolwi,

I'm working on some improvement of you really good work in the hassio-ecoflow-cloud to integrate 2 functionalities to use excess of solar panel to :

For soe devices, the AC charging power is already integrated, for the Powerstream the following "Numbers" is really an advantage to be integrated as Numbers in your HA integration(Powerstream) :

It's a request of Ecoflow French community, because there is, real needs. For some countries, if you re-inject to the power ligne your production, you'll need to pay by kWh (and depending on hours). it's a true story.

I will work on a local copy in HA to apply this modification too. And if I had a working integration, I'll contact you.

Kind regards,

Cheers,

Gwenaël

Nid01 commented 1 month ago

@gwenaelnavez Since the used API doesn't transmit data of the PowerStream as JSON there is currently no use of providing the the requested range and setting, as it is not possible to apply adjustments to the device. @tolwi recently started refactoring the integration to enable the usage of the public API https://developer-eu.ecoflow.com/us/document/powerStreamMicroInverter. There it will be possible to provide the requested range and setting for adjustments.

gwenaelnavez commented 1 month ago

@gwenaelnavez Since the used API doesn't transmit data of the PowerStream as JSON there is currently no use of providing the the requested range and setting, as it is not possible to apply adjustments to the device. @tolwi recently started refactoring the integration to enable the usage of the public API https://developer-eu.ecoflow.com/us/document/powerStreamMicroInverter. There it will be possible to provide the requested range and setting for adjustments.

ok thank you Nid01, I see that the work in progress (with public and in public source component in the device part). Kr, Gwenaël