Repository navigation
0.9.1 – poll less, or only in certain hours
Poll less, or only in certain hours – thanks @Michael.0000.
Added
BRIDGE_POLL_SECONDS– seconds between the polls ofrun(default 60, upload mode 600;
--poll-secondsstill wins).BRIDGE_POLL_SECONDS=300polls every five minutes.BRIDGE_POLL_HOURS– poll only in these hours:10-18, several ranges like6-9,16-22,
or over midnight like22-6. Outside themrunskips its polls andwatchdoes 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).