Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PowerStream Messages with Multiple Payloads #95

Merged
merged 2 commits into from
Jul 22, 2023

Conversation

mattwells
Copy link
Contributor

@mattwells mattwells commented Jul 21, 2023

When the Ecoflow app is launched it requests a full package of data. Previously it wasn't visible because 2 payloads were sent in 1 MQTT message and couldn't be read. This change adds support for multiple payloads being sent in a single MQTT message. This means that the integration can get all of the sensor data when the user opens the Ecoflow app and views the PowerStream.

I have also added some notes to the ReadMe explaining that support for PowerStream is still being worked on and the limitations imposed by Ecoflow about how frequently data is updated although this PR should help with that.

When the mobile app is launched a request is sent out to request all the data. This change allows Home Assistant to read extra messages that ProtoBuf doesn't read naturally.
To help keep requests and miss understandings to a minimum I have added notes to the PowerStream section of the readme with the limitations of the current implementation.
@tolwi tolwi merged commit 51d1a18 into tolwi:main Jul 22, 2023
1 check passed
@mattwells mattwells deleted the slava-ukraini branch July 22, 2023 09:05
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