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

New DEEPSLEEP topic for HA + Battery Level % support #19134

Merged
merged 12 commits into from
Jul 20, 2023

Commits on Jul 17, 2023

  1. New LWT on deepsleep

    To allow better integration into HA LWT topic will report details of sleep status:
    16:54:04.388 MQT: hm/tele/ESP_3284D1/LWT =
    {"Sleep":{"Time":"2023-07-17T16:55:03","Sleep":1689612844,"Wakeup":1689612903}}
    stefanbode authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d5896c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Revert LWT back to non JSON

    Send DeelSleep on LWT
    Send Deepsleep parameters on topic DeepSleep
    stefanbode authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    20febe7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47efaca View commit details
    Browse the repository at this point in the history
  3. Enable BatteryPercentSet

    Changing the battery level e.g. by rule
    stefanbode authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    d3d73be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    78062d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83ac01c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    302f145 View commit details
    Browse the repository at this point in the history
  7. Enable setting battery level

    101 is reserved for power-plug. No battery Level reported
    stefanbode authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9477de3 View commit details
    Browse the repository at this point in the history
  8. Setting default for battery Level

    101 is reserved for power plug
    0..100 normal battery values
    stefanbode authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    952d2c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Revert back LWT to Offline

    Removed "DeepSleep" LWT status until further decision is made. Current implementation is technical sufficient for HA to detect a battery powered device
    stefanbode authored Jul 19, 2023
    Configuration menu
    Copy the full SHA
    3ccda52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bff573 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42010cf View commit details
    Browse the repository at this point in the history