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

Main Status Entity - Clarification #20

Closed
jiriteach opened this issue Jul 29, 2022 · 4 comments · Fixed by #21
Closed

Main Status Entity - Clarification #20

jiriteach opened this issue Jul 29, 2022 · 4 comments · Fixed by #21
Assignees
Labels
bug Something isn't working

Comments

@jiriteach
Copy link

Hi - Great work on developing this add-on. Works really well.
I have 2 x Ecoflow River's and stats are coming through nice.

I do have a question though on the main status entity.

Both of my Ecoflow's are showing as "Problem" but there is nothing on the units themselves or the official Ecoflow app to indicate any problem.

Could there be a an issue with this entity?

Thank

Screen Shot 2022-07-29 at 18 42 18

s
@jiriteach jiriteach changed the title Main Status Entity Main Status Entity - Clarification Jul 29, 2022
@jiriteach jiriteach changed the title Main Status Entity - Clarification Main Status Entity Clarification Jul 29, 2022
@jiriteach jiriteach changed the title Main Status Entity Clarification Main Status Entity - Clarification Jul 29, 2022
@jiriteach
Copy link
Author

jiriteach commented Jul 29, 2022

Looking at diagnostics - I am seeing a battery_main_error of 6 under EMS.
What does this mean?

"ems": {
      "battery_main_error": 6,
      "battery_main_version": "1.0.2.68",
      "battery_main_level": 100,
      "battery_main_voltage": 33.12,
      "battery_main_current": 4294967271,
      "battery_main_temp": 31,
      "_open_bms_idx": 1,
      "battery_capacity_remain": 9589,
      "battery_capacity_full": 9450,
      "battery_cycles": 2,
      "battery_level_max": 80,
      "battery_main_voltage_max": 4.128,
      "battery_main_voltage_min": 4.112,
      "battery_main_temp_max": 31,
      "battery_main_temp_min": 28,
      "mos_temp_max": 32,
      "mos_temp_min": 32,
      "battery_main_fault": 0,
      "_bq_sys_stat_reg": 128,
      "_tag_chg_amp": 15000
    }

@jiriteach
Copy link
Author

I think I have found the issue even though I dont yet know what a battery_main_error of 6 under EMS means.

I am running my Ecoflow River's as UPS so AC connected to mains and AC out to power devices. Once the battery is charged, the Ecoflow River's run in a bypass mode.

I was able to remove the "Problem" status by failing over the mains so effectively things are running on battery. Restore mains and it charges the battery back up until it hits 100% and then the status is "Problem" again. It could be the way the API is reading things as at 100% with the mains back on and the battery charged - its just bypassing power so shouldnt be showing as "Problem".

Hope this helps resolve the issue.

@vwt12eh8
Copy link
Owner

I have confirmed the same phenomenon here.

It seems to become 6 when the battery is 100% regardless of the input/output. We will address this so that it is not considered an error.

@vwt12eh8 vwt12eh8 self-assigned this Jul 30, 2022
@vwt12eh8 vwt12eh8 added the bug Something isn't working label Jul 30, 2022
@jiriteach
Copy link
Author

jiriteach commented Jul 30, 2022

Perfect - Thanks. Let me know if you need me to run any further tests :)

@vwt12eh8 vwt12eh8 linked a pull request Jul 30, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants