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

Update sensor to only query Glow API shortly after 0 and 30 mins past the hour #136

Closed
wants to merge 7 commits into from

Commits on Feb 8, 2022

  1. Update sensor.py

    Only query API between 0 and 5, and 30 and 35
    Random delay up to 2 minutes when querying
    Sleep 5 minutes after to make sure we only do 1 update in the window
    jackyaz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    9bb03f4 View commit details
    Browse the repository at this point in the history
  2. Update sensor.py

    Narrow window to 2 minutes around each half hour
    Return interval to every 2 minutes
    Remove 5 minute wait at end
    jackyaz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    4baa43a View commit details
    Browse the repository at this point in the history
  3. Update sensor.py

    Fix typo
    jackyaz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    18414f0 View commit details
    Browse the repository at this point in the history
  4. Update sensor.py

    Remove unnecessary logging when no action required
    Move comment to correct line
    jackyaz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    c86d8f6 View commit details
    Browse the repository at this point in the history
  5. Remove unused import

    We use asyncio.sleep not sleep
    jackyaz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    d146a03 View commit details
    Browse the repository at this point in the history
  6. Update sensor.py

    Add required whitspace
    jackyaz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    18467b6 View commit details
    Browse the repository at this point in the history
  7. Update sensor.py

    Minimum 1min sleep
    jackyaz committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    0f62060 View commit details
    Browse the repository at this point in the history