Open Milli42 opened 3 months ago
Still not working for me 😪
Here still not working without app
Same here, with Delta Pro2. Sometimes it works without the gsm, for a few moments, sometimes longer. Later not at all. You then have to either restart the app on the phone, or its network. Sometimes it works, sometimes not.
Same thing here for delta pro and powerstream ... Has anyone found a solution? Apart from leaving the app open...
@xJagx50 Only the switch to the public API.
@xJagx50 Only the switch to the public API.
Hi Nid01, how can we do that ? 😂
@xJagx50 Only the switch to the public API.
Hi Nid01, how can we do that ? 😂
The first step would be registering at https://developer-eu.ecoflow.com, so your account can't be verified. Only after that you will be able to use my WIP: https://github.com/Nid01/EcoFlow-IoT-Open or this integration when every documented device is implemented.
Thank’s for you’re quick response @Nid01 . Is it the only way ? We haven’t got any chance to see that work again « normally » ?
Oddly enough, today, the integration has been working normally again. I've been keeping the app open, but today forgot to open the app in the background on my Mac and just noticed that it's been working all day. I'm not sure if this is a fluke and it will break again, but as i'm typing this, it's working. I've not made any changes or done anything extra since my last comment on this thread.
EDIT: Spoke too soon, it's broken again. Works fine only when app is open. Very odd that it worked perfectly today, up until 3 hours ago when it disconnected again
Thank’s for you’re quick response @Nid01 . Is it the only way ? We haven’t got any chance to see that work again « normally » ?
I contacted the EcoFlow Support on 14.08.2024 and currently they are responding quiet quick, so I requested if someone could look into this issue since not every device is supported on the public API.
Thank’s for you’re quick response @Nid01 . Is it the only way ? We haven’t got any chance to see that work again « normally » ?
I contacted the EcoFlow Support on 14.08.2024 and currently they are responding quiet quick, so I requested if someone could look into this issue since not every device is supported on the public API.
You’re the best 👌 I hope they will quickly find the problem 🙏 Thank’s a lot for your time and speed of response !
This morning it's worse than yesterday, no updates even with the app open. Same for everyone ?
@xJagx50: just to answer your question, because I suppose you must try a lot of things in all directions ...
@ChristianReallyTheBest Actually i restarted HA and it's better but still no update without app open
@xJagx50: I'm glad for you that you were able to restore the situation a little. And yes, same here, without the cell phone it still doesn't work.
It won’t help you but I have no issues (so far). Not today, not yesterday, not the day before.
So it doesn’t affect everyone.
@Philip, That's very kind of you. So it would come from an update. Could the Home Assistant update be the cause? (for example, I upgraded to Core 20024.8.2)
@xJagx50 Only the switch to the public API.
Hi Nid01, how can we do that ? 😂
The first step would be registering at https://developer-eu.ecoflow.com, so your account can't be verified. Only after that you will be able to use my WIP: https://github.com/Nid01/EcoFlow-IoT-Open or this integration when every documented device is implemented.
Hey @Nid01, what exactly is the state of your WIP? Is it actually useable yet? If so, could you briefly describe how we can already use it please?
I created an automation to reload the integration every minute.
Updates are no longer live but I don't need to keep the app open on a device/emulator and my other automations with the ecoflow continue to work.
@chickenbeef: while waiting for an update, you're too good! I can't wait to test this. Well, me who is not a professional, .... I have to search a little ;-) EDIT : I'm not sure I understood the maneuver correctly, but if I manually "re-download" the "EcoFlow Cloud Integration for Home Assistant" within 30 seconds while everything was in order, if my gsm application is cut off, then it does not solve anything in my case. The expected data such as "AC In Power" of a DeltaPro2 is therefore not refreshed any more.
@chickenbeef: while waiting for an update, you're too good! I can't wait to test this. Well, me who is not a professional, .... I have to search a little ;-) EDIT : I'm not sure I understood the maneuver correctly, but if I manually "re-download" the "EcoFlow Cloud Integration for Home Assistant" within 30 seconds while everything was in order, if my gsm application is cut off, then it does not solve anything in my case.
You need to call homeassistant.reload_config_entry
https://www.home-assistant.io/integrations/homeassistant/#action-homeassistantreload_config_entry
This reloads the integration so when it starts up again it gets the current device state
@chickenbeef: while waiting for an update, you're too good! I can't wait to test this. Well, me who is not a professional, .... I have to search a little ;-) EDIT : I'm not sure I understood the maneuver correctly, but if I manually "re-download" the "EcoFlow Cloud Integration for Home Assistant" within 30 seconds while everything was in order, if my gsm application is cut off, then it does not solve anything in my case.
You need to call homeassistant.reload_config_entry
https://www.home-assistant.io/integrations/homeassistant/#action-homeassistantreload_config_entry
This reloads the integration so when it starts up again it gets the current device state
@chichenbeef: you're the best ! :-) thank you in advance, I have to set this up. I hope I can do it. I'm discovering everything in Home Assistant. Thank you very much for sharing!
EDIT: ok, it's done. Thanks again. I hope it will last. I will keep you informed.
EDIT: still testing ...
EDIT: It works ! thank you so much @chickenbeef !!! You are very impressive !
EDIT: Unfortunately, it doesn't work all the time.
maybe this will help one or the other...
alias: Ecoflow Status
description: ""
trigger:
- platform: state
entity_id:
- sensor.powerstream_inverter_output_watts
- sensor.powerstream_solar_1_watts
- sensor.delta_2_max_solar_1_in_power
for:
hours: 0
minutes: 2
seconds: 0
id: "1"
- platform: state
entity_id:
- sensor.powerstream_inverter_output_watts
to: unavailable
id: "1"
- platform: state
entity_id:
- sensor.powerstream_inverter_output_watts
- sensor.powerstream_solar_1_watts
- sensor.delta_2_max_solar_1_in_power
condition: []
action:
- if:
- condition: trigger
id:
- "1"
then:
- metadata: {}
data: {}
target:
entity_id: input_boolean.ecoflow_status
action: input_boolean.turn_off
- action: homeassistant.reload_config_entry
target:
device_id: e616xxxxxxxxxxxxxxxxxxxxxxxxxxxx
data: {}
else:
- metadata: {}
target:
entity_id: input_boolean.ecoflow_status
action: input_boolean.turn_on
data: {}
mode: single
To get the device ID, simply select the Ecoflow Cloud as a device in the automation ;-)
@Neewieedo: Hello, first of all thank you very much for your suggestion. Excuse me, but I'm stuck for the device_id obviously. Can you guide?
@ChristianReallyTheBest
I'm glad to see some German, which I'm learning at the moment.
So I understood what you were originally proposing, but ....
I don't have "EcoflowCloud" in my choices. Is there a trick to enter this integration as a Device ?
EDIT: well I can't do it. Anyone else? :-)
@xJagx50 Only the switch to the public API.
Hi Nid01, how can we do that ? 😂
The first step would be registering at https://developer-eu.ecoflow.com, so your account can't be verified. Only after that you will be able to use my WIP: https://github.com/Nid01/EcoFlow-IoT-Open or this integration when every documented device is implemented.
Hey @Nid01, what exactly is the state of your WIP? Is it actually useable yet? If so, could you briefly describe how we can already use it please?
@Apo-K I sadly don't know if I'll be able to get my current code available before the end of August, since I'm prepping for a trip to the UK.😓 But I'll try!😊
@Nid01 I can't believe you're coming to London to fix my ecoflow integration. Legend. 😉 🤣 🇬🇧 have a good trip mate!
I wanted to add I have the same issues as you all with a powerstream. I thought it was my bad with updating the HA server to the latest august release. Good to know it is a general issue.
What is usually the best way to get notified for upcoming updates that might fix the issue? thank you
I wanted to add I have the same issues as you all with a powerstream. I thought it was my bad with updating the HA server to the latest august release. Good to know it is a general issue.
What is usually the best way to get notified for upcoming updates that might fix the issue? thank you
@granny-82 Updates from which side do you mean?
I thought I might have ran into a incompatibility with the latest home assistant server update from august. I was about to roll back to a previous backup until I found this thread.
Hello, I was also completely confused by this new behavior, because I was in a big programming change. Thanks to @Milli42, who created this Post that enlightened me. I will check for any possible update of this "tolwi/hassio-ecoflow-cloud". I keep my fingers crossed, because nothing else here seems to work. I tried though.
hi, since today it started to work again without any changes from my side. In the graph you can see quite nicely the broken state from yesterday and the working graph from today. I hope it is fixed on their server side for everyone.
Hello @granny-82, Thank you for the information shared as we have a lot of questions. Here it still doesn't work without the app on the cell phone. For those who are wondering, first of all, this morning, I completely reinstalled the app on the mobile, with reset and installation of the DeltaPro2.... and it doesn't change anything, it still doesn't work if the application on the mobile is not visible. Fingers crossed for you @granny-82 ;-)
Hi @Neewieedo, when I do a configuration reload for my powerstream nothing happens. Is there a trick?
@xJagx50 Only the switch to the public API.
Hi Nid01, how can we do that ? 😂
The first step would be registering at https://developer-eu.ecoflow.com, so your account can't be verified. Only after that you will be able to use my WIP: https://github.com/Nid01/EcoFlow-IoT-Open or this integration when every documented device is implemented.
Hi @Nid01 how are you ? Since 1h i've got my ecoflow developer account open ! Hurra ! Can you explain to me the procedure now ? I'm not really a HA pro 😂 Have a nice day and have fun in GB !
@xJagx50 Only the switch to the public API.
Hi Nid01, how can we do that ? 😂
The first step would be registering at https://developer-eu.ecoflow.com, so your account can't be verified. Only after that you will be able to use my WIP: https://github.com/Nid01/EcoFlow-IoT-Open or this integration when every documented device is implemented.
Hi @Nid01 how are you ? Since 1h i've got my ecoflow developer account open ! Hurra ! Can you explain to me the procedure now ? I'm not really a HA pro 😂 Have a nice day and have fun in GB !
@xJagx50 I published my current state here: https://github.com/Nid01/EcoFlow-IoT-Open/tree/EcoFlow_IoT_Open
For now you have to download the complete repository and then copy the folder homeassistant/components/ecoflow_iot_open into HomeAssistant/config/custom_components of your Home Assistant folder.
Then you have to modify the end of HomeAssistant/config/custom_components/ecoflow_iot_open /manifest.json HomeAssistant/config/custom_components/ecoflow_iot_open/manifest.json from:
"zeroconf": []
}
to:
"zeroconf": [],
"version": "0.1"
}
so Home Assistant loads the integration as custom component. Currently visible devices are DeltaMax, PowerStream, Smart Plug and Single Axis Solar Tracker, where PowerStream and Smart Plug are controllable. The other two are read only. I hope that serves as a temporary workaround for some you.
hi, since today it started to work again without any changes from my side. In the graph you can see quite nicely the broken state from yesterday and the working graph from today. I hope it is fixed on their server side for everyone. ! <
Sorry my fellow readers, this was a false positive caused by my home tablet which kept the app open for several hours :( I only noticed it today. Same issue still persists. Have a good day :)
hi, since today it started to work again without any changes from my side. In the graph you can see quite nicely the broken state from yesterday and the working graph from today. I hope it is fixed on their server side for everyone. ! <
Sorry my fellow readers, this was a false positive caused by my home tablet which kept the app open for several hours :( I only noticed it today. Same issue still persists. Have a good day :)
Hello Granny-82, Thank you for this bad news, which can only help us to get to the bottom of this. I look forward to the update.
EDIT : "I deleted my remark concerning the 3,4 or 5 G network and/or Wifi, because the behavior is sometimes different."
Love
I posted on other thread but i repeat also here. I confirm the same issue: data freeze and restart only if I also open the ecoflow app on my smartphone. As soon as I close the app data freeze again. Every thing worked fine surely up last 12 Aug 2024. I am currently running HA inside a Windows 10 Hyper V virtual machine with HA Core 2024.8.2 and Operating system 12.4. About Hassio integration release it is 0.12.4. HW: Delta max 2000 with Auxliary battery
@xJagx50 I published my current state here: https://github.com/Nid01/EcoFlow-IoT-Open/tree/EcoFlow_IoT_Open For now you have to download the complete repository and then copy the folder homeassistant/components/ecoflow_iot_open into HomeAssistant/config/custom_components of your Home Assistant folder. Then you have to modify the end of HomeAssistant/config/custom_components/manifest.json from:
"zeroconf": [] }
to:
"zeroconf": [], "version": "0.1" }
so Home Assistant loads the integration as custom component. Currently visible devices are DeltaMax, PowerStream, Smart Plug and Single Axis Solar Tracker, where PowerStream and Smart Plug are controllable. The other two are read only. I hope that serves as a temporary workaround for some you.
@Nid01 Hi, manifest.json is more precisely in homeassistant/custom_components/ecoflow_iot_open/ and the integration after modifying the manifest is loaded but when you try to configure it a popup appears without any descriptive label and with only 3 fields which I assume are User (alias email), Password and Server Location.
The API Key and Secret Key are not asked and then it doesn't work resulting in a "Unknown error occurred" when the send button is pressed
Here error stack trace: `Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 456, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, request.match_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin return await func(self, request, *args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post return await super().post(request, flow_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper return await method(view, request, data, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 122, in post result = await self._flow_mgr.async_configure(flow_id, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 366, in async_configure result = await self._async_configure(flow_id, user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 413, in _async_configure result = await self._async_handle_step( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 516, in _async_handle_step result: _FlowResultT = await getattr(flow, method)(user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ecoflow_iot_open/config_flow.py", line 106, in async_step_user return self.async_create_entry(title=info["title"], data=user_input)
KeyError: 'title'`
@xJagx50 I published my current state here: https://github.com/Nid01/EcoFlow-IoT-Open/tree/EcoFlow_IoT_Open For now you have to download the complete repository and then copy the folder homeassistant/components/ecoflow_iot_open into HomeAssistant/config/custom_components of your Home Assistant folder. Then you have to modify the end of HomeAssistant/config/custom_components/manifest.json from:
"zeroconf": [] }
to:
"zeroconf": [], "version": "0.1" }
so Home Assistant loads the integration as custom component. Currently visible devices are DeltaMax, PowerStream, Smart Plug and Single Axis Solar Tracker, where PowerStream and Smart Plug are controllable. The other two are read only. I hope that serves as a temporary workaround for some you.
@Nid01 Hi, manifest.json is more precisely in homeassistant/custom_components/ecoflow_iot_open/ and the integration after modifying the manifest is loaded but when you try to configure it a popup appears without any descriptive label and with only 3 fields which I assume are User (alias email), Password and Server Location.
The API Key and Secret Key are not asked and then it doesn't work resulting in a "Unknown error occurred" when the send button is pressed
@Dev-Fabry Thank you for giving it a try. I'm surprised that the translations weren't showing for you. The dialog should look like this, so you need accessKey and secretKey instead of e-mail-address and password.
@Nid01 No I have this (language is Italian)
But now with your informations is working, thanks
For others who want to try Ecoflow_IOT_Open, here is a mini guide:
Connect with SSH to Home Assistant
Run the commands (valid with latest HAOS):
git clone --branch EcoFlow_IoT_Open -n --depth=1 --filter=tree:0 https://github.com/Nid01/EcoFlow-IoT-Open.git
cd EcoFlow-IoT-Open/
git sparse-checkout set --no-cone homeassistant/components/ecoflow_iot_open
git checkout
cp -a homeassistant/components/ecoflow_iot_open ../homeassistant/custom_components/
cd ..
rm EcoFlow-IoT-Open -rf
Now we correct the manifest with a text editor (I use nano) by issuing the command
nano homeassistant/custom_components/ecoflow_iot_open/manifest.json
Change the file final part from:
"zeroconf": [] }
to (pay attention to the comma after "[]"):
"zeroconf": [], "version": "0.1" }
Save the file and then restart Home Assistant
Now you can add the ecoflow_iot_open integration to your Home Assistant
It is done like all other integrations via the HA menus. In the popup that will appear the first time you add it, put your API Key in the first field and your Secret Key in the second field, select EU if you are in Europe or near Europe and then Submit
@Nid01 Hi, Ok Ecoflow_IOT_Open seems to work Some PowerStream sensors have a wrong values (divided by 10, 100 or 1000). Wattage are always correct
By 1000 (i.e 0.064A instead of 6.40A) pv1InputCur pv2InputCur
By 100 (i.e 2.40V instead of 240.0V) iot.invOpVolt iot.pv1InputVolt iot.pv2InputVolt
By 10 (i.e 3.40V instead of 34.0V) iot.pv1OpVolt iot.pv2OpVolt
Please keep discussions about EcoFlow_IoT-Open on the appropriate GitHub page - this repository is about hassio-ecoflow-cloud.
@All ;-)
I think I see an improvement since the update two hours ago: I managed to start HA with all the data without the cell phone.
To be tested further, but this was no longer possible for several days. If the tests are confirmed, I would like to thank @tolwi. Its integration brings our machines to life. Thank you with all my heart !
Love you so much !
EDIT, 2 hours later : False hope... after the tenth total restart, because I didn't want to give false information, the numbers no longer appear again. sorry, I really believed it
ok, I'm going out...
Sorry for the stupid question, which update are you referring too?
I have not seen any news updates for the ecoflow cloud integration? Are you referring to the WIP / IOT one mentioned in this thread??
Thanks!
On Wed, 21 Aug 2024, 15:03 ChristianReallyTheBest, @.***> wrote:
@ALL https://github.com/ALL ;-)
I think I see an improvement since the update two hours ago: I managed to start HA with all the data without the cell phone.
To be tested further, but this was no longer possible for several days. If the tests are confirmed, I would like to thank @tolwi https://github.com/tolwi. Its integration brings our machines to life. Thank you with all my heart
— Reply to this email directly, view it on GitHub https://github.com/tolwi/hassio-ecoflow-cloud/issues/283#issuecomment-2302136892, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHPH7OXIDCVK3JWJVDG7YT3ZSSM4TAVCNFSM6AAAAABMOJKRPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSGEZTMOBZGI . You are receiving this because you commented.Message ID: @.***>
in HACS, click on EcoFlowCloud. On the right the three little dots: redownload. 3 seconds. restart. I'm so happy!! :-) can you confirm that it works for you too? :-)
EDIT : (I didn't play with the IOT, because I understood that the Delta Pro2 were not yet included)
EDIT : 2 hours later : False hope... after the tenth total restart, because I didn't want to give false information, the numbers no longer appear again. sorry, I really believed it
ok, I'm going out...
@tolwi : We love you !
I'm hoping someone can assist me. I recently had to restore my HA instance and restored everything via my backup. All my integrations are working; however, when it comes to this one, the sensors for my Delta Pro only work when I open the EcoFlow App on my phone. Once I close the app, it no longer updates to the sensors.
I've removed the integration, re-added it. I've done several restarts and nothing resolves this. Again the integration is working and I can see all my sensors, but they only update when I open the Ecoflow App on my phone. Very strange! Any advice?