By configuring the two options below in your config.js, you will now be able to directly upload your training sessions to Strava with the click of a button. Note that the first upload to Strava will require you to do an oAuth authorization, so the first upload should be done on a device that has a keyboard.
// Configures the connection to Strava (to directly upload workouts to Strava)
// Note that these values are not your Strava credentials
// Instead you have to create a Strava API Application as described here:
// https://developers.strava.com/docs/getting-started/#account and use the corresponding values
// When creating your Strava API application, set the "Authorization Callback Domain" to the IP address
// of your Raspberry Pi
// WARNING: if you enabled the network share via the installer script, then this config file will be
// exposed via network share on your local network. You might consider disabling (or password protect)
// the Configuration share in smb.conf
// The "Client ID" of your Strava API Application
stravaClientId: '',
// The "Client Secret" of your Strava API Application
stravaClientSecret: ''
Device Shutdown:
If you are running the user interface directly on the Raspberry Pi, then you will now have a button to shutdown the device after finishing your workout.
Strava Upload:
By configuring the two options below in your
config.js
, you will now be able to directly upload your training sessions to Strava with the click of a button. Note that the first upload to Strava will require you to do an oAuth authorization, so the first upload should be done on a device that has a keyboard.Device Shutdown:
If you are running the user interface directly on the Raspberry Pi, then you will now have a button to shutdown the device after finishing your workout.