Skip to content

Add cumulative charge/discharge for Stream (AC/Ultra) & Delta 2 max#490

Merged
tolwi merged 9 commits into
tolwi:mainfrom
Angelius007:add_entities_stream
Jun 2, 2025
Merged

Add cumulative charge/discharge for Stream (AC/Ultra) & Delta 2 max#490
tolwi merged 9 commits into
tolwi:mainfrom
Angelius007:add_entities_stream

Conversation

@Angelius007
Copy link
Copy Markdown
Contributor

@Angelius007 Angelius007 commented May 31, 2025

Devices : Stream AC, Stream Ultra, Delta 2 Max :

  • add cumulative charge (mAh and Wh)
  • add cumulative discharge (mAh and Wh)

Usefull to add it into Energy board

Fix the error 'signature is wrong' in public_api

- update doc gen : generate a summary.md to prepare README.md updates
- update README.md : add badges
- update README.md : update "Current state"
- update Contribution.md : add update README.md stage
- add cumulative charge (mAh and Wh)
- add cumulative discharge (mAh and Wh)
- add cumulative charge (mAh and Wh)
- add cumulative discharge (mAh and Wh)
- add cumulative charge (mAh and Wh)
- add cumulative discharge (mAh and Wh)
@Angelius007
Copy link
Copy Markdown
Contributor Author

hmm, pooling on delta 2 seems not working. The sensor update only when we restart the integration, but it works well on Stream.
Looking if we have a solution for delta (and perhaps other batteries)

@Angelius007 Angelius007 changed the title Add cumulative charge/discharge for Stream (AC/Ultra) and Delta 2 Max Add cumulative charge/discharge for Stream (AC/Ultra) Jun 1, 2025
- update for delta 2 max to call quota_all every 30 min in order to get bmsInfo updates (because it is not given by mqtt)
- fix error while calling api ('signature is wrong' message)
@Angelius007
Copy link
Copy Markdown
Contributor Author

Angelius007 commented Jun 1, 2025

hmm, pooling on delta 2 seems not working. The sensor update only when we restart the integration, but it works well on Stream. Looking if we have a solution for delta (and perhaps other batteries)

Fixed with a call to quota_all every 1h with a new status sensor (I did not modify the existing one because it is an another use and don't want to impact all devices)
Fixed the error 'signature is wrong' in public_api
Api don't return each time an update of all values (I don't know the frequency update of this variable in ecoflow server) but I can see that it change with this new sensor

@Angelius007 Angelius007 changed the title Add cumulative charge/discharge for Stream (AC/Ultra) Add cumulative charge/discharge for Stream (AC/Ultra) & Delta 2 max Jun 1, 2025
- Ecoflow server seems not to be refresh very often... So unusefull to reload too much.
@tolwi tolwi merged commit 94ee15d into tolwi:main Jun 2, 2025
1 check passed
@Angelius007 Angelius007 deleted the add_entities_stream branch June 8, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants