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 function to request the status of the Access Point with a limit uptime setting #1607

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Thommes17
Copy link

Changes:

  • New private bool: _WifiAP_active => True if the AP is active
  • New public function: WifiAP_active(int max_uptime_minutes) => returns True if the AP is active and False if not or if the maximum uptime in minutes has been reached

Background:
Limits the uptime of the AP for battery powered devices in case the Wifi is temporarily not accessible. In the code, the status of the AP can be requested and the device sen to sleep in case the maximum uptime has been exceeded instead of keeping the AP active.

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.

1 participant