Use Strava, like Am...
 

[Closed] Use Strava, like Amazon Alexa ? Read on...

29 Posts
19 Users
0 Reactions
89 Views
Posts: 0
Free Member
Topic starter
 

OK, In my ongoing quest to edukate myself in all things tech I've been experimenting with creating Amazon Alexa skills (voice activated apps).

I've figured out how to integrate Amazon Alexa with a user's Strava account and so can get Alexa to interrogate all your Strava stats etc.

The question is, what, if anything, would be useful requests to make to Alexa such that she/it could respond accordingly ?

"Alexa, make me KOM on everyfink" might be a stretch but sensible suggestions welcome.

Plus, anyone interested in Beta testing the resultant skill before it is published make yourselves known.

Ta.


 
Posted : 17/08/2017 7:46 pm
Posts: 71
Free Member
 

I'm struggling to think of anything I'd use that for.

What level of interrogation do you mean?

Can it give you (say) segments where you're in the top 5? Or segments you're within 5 seconds of the KOM?

Or is it just the data on rides, in your calendar etc?


 
Posted : 17/08/2017 7:58 pm
Posts: 91102
Free Member
 

Ask for a morning status report where it tells you if you've lost a KOM or someone has come close? Or if one of your Strava friends has posted a better time than you on something

For the super-competitive, ask them how many hours your friends have ridden this week...


 
Posted : 17/08/2017 8:01 pm
Posts: 0
Free Member
Topic starter
 

Anything which can be determined from knowing your "athlete" details I guess.

Miles ridden, recent activities, KOMs, events etc.

Couldn't work out which segments you're in the top "n" though, the API ( https://strava.github.io/api/ ) doesn't support that.


 
Posted : 17/08/2017 8:06 pm
Posts: 435
Full Member
 

How about Alexa shouts how much 'fitness' you will lose today unless you exercise (i.e. the fitness/freshness feature).


 
Posted : 17/08/2017 8:10 pm
Posts: 93
Free Member
 

Just before you go out for a ride "Alexa, what's the KOM time for the Galibier" so you're super-pumped to go after it.

When you get back from a ride "Alexa, what was my average power on that ride"
"Alexa, how many calories did that ride burn?" so you know how many pies to eat

I think it would be best post-ride. You could interogate Alexa whilst prepping post-ride food/beer more quickly as you wouldn't be staring at your phone.

Can you you ask Alexa for a post-ride summary in the form of music? It would play Loser by Beck if you didn't get a KOM...


 
Posted : 17/08/2017 8:13 pm
Posts: 27603
Free Member
 

Alexa tells some quite good Knock Knock jokes if you ask it.


 
Posted : 17/08/2017 8:14 pm
Posts: 0
Free Member
Topic starter
 

Good stuff chaps 🙂

richard: some good food for thought there.


 
Posted : 17/08/2017 8:16 pm
Posts: 1421
Full Member
 

Weekly targets would be good, i.e. "Alexa how many miles/hours left on my weekly goal?" . As above, whats the gap between your PB and KOM.

Fitness and freshness interrogation may be handy if anyone uses them.

Would love to Beta test it!


 
Posted : 17/08/2017 8:19 pm
Posts: 0
Free Member
Topic starter
 

Nice one.

Potential beta testers, PM me your Email addy which you use to access Amazon [not dodgy, I need to add you to the list of Beta testers which Amazon will recognise and allow you to install the skill while still in beta]


 
Posted : 17/08/2017 8:25 pm
Posts: 0
Free Member
 

Alexa... How many of my KOM remain?

The stats for the week would be useful.

Alexa... Give me a summary of my last ride.


 
Posted : 17/08/2017 8:26 pm
Posts: 646
Full Member
 

How many miles have I rode this week?
How long is it since I rode my bike?
Give X Kudos for his/her last ride.


 
Posted : 17/08/2017 8:28 pm
Posts: 2644
Free Member
 

I'm happy to beta test. I'd like how far am I from my weekly goal/annual goal.


 
Posted : 17/08/2017 8:33 pm
Posts: 8945
Free Member
 

Alexa, was my time on suchandsuch today faster than wotsisname?


 
Posted : 17/08/2017 9:13 pm
Posts: 0
Free Member
 

Alexa, do you work for the CIA?


 
Posted : 17/08/2017 9:28 pm
Posts: 0
Free Member
 

timidwheeler
I'm happy to beta test. I'd like how far am I from my weekly goal/annual goal.

Even better would be "how far do I have to ride each day/week/month" to hit !y annual goal IMHO. Although !y view might be skewed by getting massively behind due to injury.


 
Posted : 17/08/2017 9:50 pm
Posts: 401
Free Member
 

Check wind advise of which Koms to go for. You can send my 10% paypal gift


 
Posted : 17/08/2017 9:54 pm
Posts: 0
Free Member
Topic starter
 

Some good suggestions. I like the update on goals thing and stats about the last ride.


 
Posted : 18/08/2017 7:56 am
Posts: 6904
Full Member
 

Ask it "Am I really an athlete or is Strava taking the piss?"


 
Posted : 18/08/2017 9:04 am
Posts: 0
Free Member
 

"Alexa? Can you check fly-by to see who that girl was that overtook me coming through Kendal?"


 
Posted : 18/08/2017 9:04 am
 DrP
Posts: 12074
Free Member
 

^^
"Yes, that was Long-haired Steve...would you like me to open his strava profile for you??"

DrP


 
Posted : 18/08/2017 9:13 am
Posts: 0
Free Member
Topic starter
 

😆


 
Posted : 18/08/2017 9:43 am
Posts: 0
Free Member
 

"Alexa, are there any good routes near here that i've not ridden?"

Not sure if people create routes on Strava much...


 
Posted : 18/08/2017 10:06 am
Posts: 0
Free Member
 

"Alexa? Why do I keep getting chicked by a chick with a dick?"


 
Posted : 18/08/2017 10:09 am
Posts: 4593
Full Member
 

I can see it now;
"Alexa, any KOM?"
"nope, you should be embarrassed with yourself"
😥


 
Posted : 18/08/2017 10:14 am
Posts: 0
Free Member
Topic starter
 

Hmmm, the reporting updates in goals/challenges is dead in the water I'm afraid. Strava don't expose that data in their public API so I can't access it 👿 Info about your last activity is available though, as is KOM data.


 
Posted : 18/08/2017 8:17 pm
Posts: 1421
Full Member
 

There's a club that have a Strava linked skill for their weekly segment.


 
Posted : 19/08/2017 8:59 pm
Posts: 0
Free Member
Topic starter
 

Beta version is now ready.

Any Beta test volunteers, PM me your EMail addy you use for Amazon (has to be this one so you can enable the skill while it's in Beta) and I'll add you to the tester list.


 
Posted : 09/10/2017 7:56 pm
Posts: 0
Free Member
Topic starter
 

Any takers ?


 
Posted : 11/10/2017 7:03 pm
Posts: 0
Free Member
Topic starter
 

As an update, the skill is now in the Amazon skill store.

It's called "Bike Stats" and has some basic commands:

Alexa, Ask Bike Stats .....

• about my weekly stats
• about my last ride
• about my summary
• to get my achievements
• to get my details
• to set units to <miles/kilometres/metric/imperial>
• to set height to <metric/imperial>

https://www.amazon.co.uk/dp/B0773WGK4R

Feedback welcome.

I'm working on a couple of additional features.

A skill leaderboard whereby you can see how you're doing relative to all other users of the skill in weekly and all time stats (distance).

The ability to set a weekly/monthly goal in the skill and see how your doing i.e. how many more miles to reach the goal.


 
Posted : 04/11/2017 6:57 pm