Comments (1)
Hi @kondofersky
I'm currently using the stats api to get the Recent, YTD and All Time stats, so all the calulations are handled on the strava side.
https://developers.strava.com/docs/reference/#api-models-ActivityStats
I would need to pull all the activities over the periods (last 7 or 30 days) and loop through them to get those stats.
Should be doable, when I have a bit of time to get to it.
from ha_strava.
Related Issues (20)
- All activity types HOT 3
- YtD & Lifetime stats are wrong HOT 8
- invalid suggested_unit_of_measurement
- issues since upgrading to 2024.3.1 HOT 3
- Can Strava get access through Cloudflare Tunnel with a reliable IP or other authentication method? HOT 3
- Add a second entry for a second account HOT 1
- Expected str HOT 2
- Need to restart HA to get Strava sensors updates HOT 9
- Detected that custom integration 'ha_strava' calls async_create_task from a thread at custom_components HOT 5
- Further issues with HA Strava after 2024.5.2 update (simialr to #153) HOT 2
- Not handling Co-routine correctly
- ha_strava' calls async_create_task from a thread at custom_components/ha_strava/__init__.py, line 824 HOT 1
- Potential issues with Strava integration HOT 2
- HA 2024.6 and latest strava version HOT 2
- "Camera" not working - exception HOT 1
- Camera not working HOT 3
- Setup Error "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble" HOT 2
- Handle deprecated method for removal in HA 2025.1
- Integration stopped working with HA OS 13.0 - webhook could not be deleted HOT 1
- Weekly snapshot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_strava.