Comments (16)
Hi , ok. I captured the communication, maybe you find something there
test.zip
.
from hassio-ecoflow.
Sorry, I'm not sure if this is a problem or not. I unfortunately don't have a DELTA mini, so I can't check how it works, so it's not implemented yet.
I will take some time to analyze it. Also, I need your help to check the operation after it is implemented, is that OK?
from hassio-ecoflow.
Hi, one more thing:
in the log i can see following error:
File "/config/custom_components/ecoflow/sensor.py", line 158, in native_value
return sum(self.extra_state_attributes.values())
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
from hassio-ecoflow.
I don't think some of the entities work yet, but I've implemented the main functionality.
https://github.com/vwt12eh8/hassio-ecoflow/tree/delta-series
Please let me know if you find any problems such as wrong values. In that case, it would be helpful if you could share the results of "Download diagnostics".
from hassio-ecoflow.
Hi, I test it but now I get some more errors:
2022-04-30 07:21:27 ERROR (MainThread) [custom_components.ecoflow] Unexpected error fetching DBEBZ5XD9080168/dc_in_mode data: index out of range
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 190, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 150, in _async_update_data
return await self.update_method()
File "/config/custom_components/ecoflow/init.py", line 59, in __get_data
return self.__parser(await self.__client.request(self.__reqdata), self.__product)
File "/config/custom_components/ecoflow/ecoflow/local/receive.py", line 107, in dc_in_mode
return d[1]
IndexError: index out of range
2022-04-30 07:21:50 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-04-30 07:22:10 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
from hassio-ecoflow.
config_entry-ecoflow-b785c186e9abb7e15a57463d906d03fa.json(1).txt
from hassio-ecoflow.
The position of the dc_in_mode
function definition doesn't seem to match the repository code.
Is the code you downloaded up-to-date?
Have you checked out a different branch (e.g. main) by mistake?
Please check again.
from hassio-ecoflow.
Hi, yes I made a mistake with the branch, sorry.
I get now some more data, but still some errors:
2022-05-01 08:39:18 ERROR (MainThread) [custom_components.ecoflow] Unexpected error fetching DBEBZ5XD9080168/dc_in_mode data: index out of range
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 190, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 150, in _async_update_data
return await self.update_method()
File "/config/custom_components/ecoflow/init.py", line 59, in __get_data
return self.__parser(await self.__client.request(self.__reqdata), self.__product)
File "/config/custom_components/ecoflow/ecoflow/local/receive.py", line 130, in dc_in_mode
return d[1]
IndexError: index out of range
2022-05-01 08:40:48 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
from hassio-ecoflow.
config_entry-ecoflow-b726eab1e6e651646c8fca65f4318881.json.txt
from hassio-ecoflow.
And I get a lot if time outs, is there a way to extend the time reading data from the device?
2022-05-01 08:54:35 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 08:55:14 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 08:57:17 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 08:59:05 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 08:59:44 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 09:00:04 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 09:01:36 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 09:02:14 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 09:02:35 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 09:03:27 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
2022-05-01 09:04:16 ERROR (MainThread) [custom_components.ecoflow] Timeout fetching DBEBZ5XD9080168/pd data
from hassio-ecoflow.
The index out of range thing has just been fixed. It was caused by calling an API that only exists in RIVER.
I'm not sure about the timeout thing, since it doesn't happen here, but I think it's probably due to network instability.
From the logs, it seems that requests are sometimes returned and sometimes not.
The Home Assistant implementation outputs an error log only once until the next success, even if it times out continuously, so it seems that not all requests are failing.
Please give me some time to figure out how to fix this.
from hassio-ecoflow.
Hi, one more thing, beside the timeouts:
I am missing the MTTP actual input. There is a DELTA Mini 080168 input, but it is showing 0Watt, even the Display shows the actual Watt input from my solar panel.
Br. Frank
from hassio-ecoflow.
Hi, me again, some information I could find out regarding the Watt in : Looking at the heartbeat packages that are maybe similar to the one you are parsing the watt in in in the 120byte large packages that begins with AA 02 6F. Byte 33 is the input from the solar panel and byte 30 seems to bet the actual % of the battery. I am using node red to filter out the data and the Ecoflow App to verify the values.
from hassio-ecoflow.
Currently, we are developing a new version which is compatible with RIVER series (except mini) and DELTA series. It is not compatible with the main branch, but the new version should be able to use the DELTA series.
The DELTA series was tested using DELTA Pro.
https://github.com/vwt12eh8/hassio-ecoflow/tree/ver2-beta
This one is treated as early access, so please use it with understanding. Major things are implemented, but some minor entities are not yet implemented.
from hassio-ecoflow.
Hi, thanks for your information. I tested the Beta Version but unfortunately the plugin does not start.
First I had to install reactivex using pip3 install reactivex , but still no success as now I get a new Error :
called from .ecoflow.rxtcp import RxTcpAutoConnection
ModuleNotFoundError: No module named 'custom_components.ecoflow.rxtcp'
Not sure what I have to install now to met the dependencies .
from hassio-ecoflow.
Hi, me again. I installed home assistant into a new box and now everything is working fine.
from hassio-ecoflow.
Related Issues (20)
- Refurbished EcoFlow DeltaPro does not work with prior setting
- Setup issue HOT 2
- [Question] Modify Scan interval
- failed to configure HOT 1
- Initial configuration failed. HOT 3
- problem at set up my Delta Pro HOT 1
- Deprecated Constants - Upcoming changes to Home Assistant HOT 1
- Ecoflow Integration sensors no function HOT 1
- Broken 2024.5
- Eco
- Ecoflow Entities not working since firmware 1.0.1.49 HOT 8
- Would it be possible to add support for the new Ecoflow Powerstream micro inverter HOT 15
- River 2 MAX compatibillity?
- Compatibilty with Delta 2 Max? HOT 1
- Ecoflow River 2 Max suddenly entities stopped working HOT 1
- Circumvent online requirement for local API access HOT 1
- Delta PRO total output energy HOT 1
- No energy usage for River Pro (Wh)
- Does updating to 1.0.1.61 firmware break integration? (Delta Pro) HOT 13
- Cannot add Delta Pro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hassio-ecoflow.