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

Zigbee Implementation: Battery Management, Charger Management, and Power Management #10430

Closed
1 task done
Hedda opened this issue Oct 7, 2024 · 1 comment · Fixed by #10551
Closed
1 task done

Zigbee Implementation: Battery Management, Charger Management, and Power Management #10430

Hedda opened this issue Oct 7, 2024 · 1 comment · Fixed by #10551
Assignees
Labels
Status: Awaiting triage Issue is waiting for triage Type: Feature request Feature request for Arduino ESP32

Comments

@Hedda
Copy link

Hedda commented Oct 7, 2024

Related area

Zigbee

Hardware specification

ESP32-H2

Is your feature request related to a problem?

Related to #10135 (Implement Zigbee in Arduino) and the sleep modes feature request for sleepy Zigbee End Devices ->#10405

At the bare minimum Zigbee need to include "Power Source" (i.e. mains power or battery powered) and battery level information.

But also wondering if can include advanced features for Battery Management, Charger Management, and Power Management?

If not as default then as one or more examples?

FYI, related to this I recently also read that Arduino has released an open-source Arduino Power Management library for Arduino Pro that could maybe be ported to arduino-esp32 for ESP32? It includes advanced rea--time battery management and battery monetoring + battery charger manager, as well as "sleep mode" (deep sleep) and "standby mode" (light sleep), with profiles for specific development boards:

For more information on how to use that library see their documentation:

More on that new Arduino PowerManagement library here:

Features

  • Monitor current and average battery metrics (voltage, current, percentage)
  • Monitor battery health metrics (temperature, reported capacity)
  • Monitor and control charging
  • Save significant amounts of power by sending the boards into Sleep (only available for Portenta C33 for now) and Standby modes
  • Toggle and set voltages on different power rails of the board
    • On Nicla Vision
      • Enable and disable the external power rail
      • Enable and disable the camera power rail
      • Change voltage on external power rail
    • On Portenta C33
    • Enable and disable the external power rail
    • Enable and disable the communication power rail (ESP32, secure element)
    • Change voltage on the external power rail
    • On Portenta H7
      • Enable and disable the external power rail
      • Change voltage on external power rail

Describe the solution you'd like

Maybe a Power Management library library for ESP32 and Zigbee examples for ESP32-H2, ESP32-H4, ESP32-C5, and ESP32-C6?

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@P-R-O-C-H-Y
Copy link
Member

Hi @Hedda, I have opened a PR which adds power source + battery level feature to the Zigbee library.
When merged it will close this PR. I think all this battery management, power management etc. is not that much related to the Zigbee library. Do you agree?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting triage Issue is waiting for triage Type: Feature request Feature request for Arduino ESP32
Projects
None yet
3 participants