-
Notifications
You must be signed in to change notification settings - Fork 5
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
Delta Pro Ultra only returning data for a single battery when multiple exist #173
Comments
I would guess this item relates to DPU and not SHP2, correct? Are the values in bpinfo in iobroker are updated? According to the structure there might be a BpinfoReport, which is an array. You are the first cotacting me, who owns an extra battery pack. |
Hello! Yes, the multiple battery data comes from the DPU, not the SHP2. No, the values in bpinfo never change between both batteries. The same single one is always being reported. Here are the logs. During the logging period, the DPU batteries discharged by 2%. |
Thanks, I will check the log today evening. The update messages are present, but no set/get. Anyhow update messages checking need also time. |
@foxthefox Sorry I forgot to turn on debugging on the DPU when creating those logs. Here are new ones with debug mode on: During the logging, both batteries charged up about 3% each. I can see in the logs a single battery being updated but not the other:
The other battery should be identified as |
I checked the raw data and it contains two sets of battery data. After modification of the code and also adding the checkbox in the device tab, it will be available. |
Awesome, thank you so much. I imagine that the next merge will contain both this and the SHP2 enhancements. |
yes next version will have both enhancements. |
@foxthefox Thank you! I would have try to contribute with the project and fix these issues myself but I still do not understand how to request more data from Ecoflow's MQTT server. I always only get partial objects. Anyway, I still would like to support it. Is there a donation or a "buy me a coffee" link anywhere? |
With version 1.1.0 it shoudl be visible now. Unfortunately I have no donating option so far. |
Happy new year @foxthefox! I am currently testing the new release. Now the second battery info is being sent to the local MQTT server into The logs do show all details from all batteries, including
|
I whish also a Happy New Year @jxlarrea! where more values are shown in the object tree of iobroker. Maybe you can post some raw messages from the debug log? |
@foxthefox This is very strange. The iobroker object tree doesnt even show BPInfo2 for me. I verified that version 1.1.0 is installed and running and even rebooted the host. |
@foxthefox I think i know what's going on. The other values are only being populated as they change and not when the instance is restarted, as it happens with all other values. I already got 2 more values populated in BPInfo2. Here are the logs: Regardless, I still cannot see the BPInfo2 object in the iobroker object tree. |
Thanks, I will look at the data. Did you tick the checkbox 'slave1' in the config for the DPU? BTW. |
Thank you, I was missing the Slave 1 checkbox. It shows up now. You are correct about the negative value. BPInfo sometimes show negative values too. So yeah, the only issue now is that the BPInfo2 data is not being loaded when the adapter instance starts. Other than that, everything looks fine! |
What do you mean with "BPInfo2 data is not being loaded when the adapter instance starts"? |
When the ioBroker.ecoflow-mqtt instance starts, it pulls all quotas from Ecoflow's MQTT server and pushes that information to the local MQTT server. This is not happening BPInfo2, as it is only pushing |
I got it. Please update via expert mode and octocat and git. |
Unfortunately it did not work. Version 1.1.1 has the same behavior as .1.1.0. Only |
Thanks for the test. May be I was too fast and did not see a further constraint, which prevents it. Edit: something strange happened, the pull request shows my changes, but the file in main branch not. That is most likely the reason. I have to push it again to the file. I am away for some days, so it will be Tuesday. |
Describe the bug
Information for onlya single battery is being retrieved when multiple batteries are actually connected to the DPU.
Expected behavior
All available battery details should be retrieved. Currently the single battery data is being returned through the
Y711ZXXXXXXXXXXX_BPInfo
topic. When using the HTTP API, I can see that all available battery data is being returned in thehs_yj751_pd_bp_addr.bpInfo
quota json, listing them in an array, for example:Versions:
The text was updated successfully, but these errors were encountered: