Skip to content

0.9.1 – poll less, or only in certain hours

Choose a tag to compare

@futureweb futureweb released this 12 Oct 17:50
· 55 commits to main since this release

Poll less, or only in certain hours – thanks @Michael.0000.

Added

  • BRIDGE_POLL_SECONDS – seconds between the polls of run (default 60, upload mode 600;
    --poll-seconds still wins). BRIDGE_POLL_SECONDS=300 polls every five minutes.
  • BRIDGE_POLL_HOURS – poll only in these hours: 10-18, several ranges like 6-9,16-22,
    or over midnight like 22-6. Outside them run skips its polls and watch does nothing;
    the half-hourly full runs go on, so an activity recorded outside the window still arrives
    (within about two hours instead of a minute) and so does last night's wellness.

The real end of polling would be a webhook from Intervals – see the
feature request.

Install: pip install -U garmin-intervals-bridge (Windows: py -m pip install --upgrade garmin-intervals-bridge), or the image ghcr.io/futureweb/garmin-intervals-bridge:0.9.1 / futurewebat/garmin-intervals-bridge:0.9.1 (Docker Hub).