GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NielsOpdam78/GarminEdge-Spotify: Control Spotify from your Garmin Edge touchscreen — now playing, playback controls, and playlists, right on your ride screen.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
resources
resources
 
 
source
source
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
manifest.xml
manifest.xml
 
 
monkey.jungle
monkey.jungle
 
 

Repository files navigation

Spotify Edge

A Connect IQ Data Field for touchscreen Garmin Edge computers that lets you control Spotify right from your ride screen: see the current track/artist and album art, play/pause, skip forward/back, and browse your playlists — all without touching your phone.

Now playing Playlists
Now playing screen Playlists screen

⚠️ Before you start: a hard limit you need to know about

This project uses your own personal Spotify Developer app to talk to the Spotify Web API. As of early 2026, Spotify caps apps in Development Mode at 5 authorized users total (not concurrently — forever, unless you remove one to make room for another). There is no way around this without Spotify's paid/approved "Extended Quota Mode", which requires being a registered organization with a large existing user base — completely unrealistic for a personal project.

What this means in practice:

  • ✅ Great for yourself, plus up to 4 friends or family members
  • ❌ Not suitable for wide public distribution (e.g. the Connect IQ Store) — you'd hit the 5-user wall almost immediately

Each person who wants to use this app needs to build it themselves with their own Spotify Client ID (see setup below) — that's why this is shared as source code, not as a ready-made installable file.

What it does

  • Shows the currently playing track, artist, and album art
  • Play / pause, skip previous / next
  • Browse and start any of your playlists
  • Persistent login — log in once, stays logged in until you tap "logout"
  • Works on any touchscreen Garmin Edge (tested on Edge 1050; the manifest also lists 1040/840/850/540/550 — add or remove devices as needed)

What it doesn't do (known limitations)

  • No free-text search. Browsing playlists covers most in-ride use cases; a full on-screen keyboard for search was out of scope.
  • No native "widget" access. On Edge x40/x50-series devices, third-party Connect IQ apps cannot appear in the built-in swipe-down widget loop — that's reserved for Garmin's own widgets. This app is a Data Field instead, which you add directly to one of your activity profile's data screens (see setup below). This actually gives you always-visible access without any swiping at all.
  • No support for non-touchscreen Edge models (e.g. Edge 540 without touch). Data Fields on Garmin devices cannot receive physical button input — that's a documented platform limitation, not something fixable in this codebase. A button-driven variant would require a completely different app type (a "widget"/device app instead of a data field), reachable only via the Connect IQ menu rather than embedded in a data screen.
  • Playback control only works if Spotify already has an "active device" available (e.g. your phone, already open or recently paused) — this app can't launch Spotify from a fully closed state.

Setup

Prerequisites

  • A touchscreen Garmin Edge device
  • A Spotify Premium account (required — Spotify's Development Mode rules require the app owner to have an active Premium subscription)
  • A Windows or Mac computer to build the app
  • About 30–45 minutes for the one-time setup

1. Create a Spotify Developer app

  1. Go to developer.spotify.com/dashboard, log in, click Create app
  2. Fill in a name and description
  3. Under Redirect URI, enter any https URL you control (it doesn't need to actually do anything — Garmin Connect Mobile intercepts the request before the page would load), e.g. https://login.live.com/oauth20_desktop.srf
  4. Check Web API as the API you'll be using
  5. Save

2. Add authorized users (max 5!)

  1. Go to your app → Settings → User Management
  2. Add the email address of every Spotify account that should be able to use the app (including your own, if you're going to use it yourself)
  3. No confirmation email is sent — being listed is enough, there's no separate acceptance step

3. Set up your build environment

  1. Install the Connect IQ SDK Manager
  2. Install Visual Studio Code + the Monkey C extension (search the Extensions marketplace, pick the one published by Garmin)
  3. Command Palette (Ctrl+Shift+P) → "Monkey C: Verify Installation" to confirm everything is found correctly
  4. Command Palette → "Monkey C: Generate a Developer Key" (one-time; keep this file safe)

4. Configure the project

  1. Clone or download this repository
  2. Copy resources/properties/properties.xml.example to resources/properties/properties.xml
  3. In that new file, replace YOUR_SPOTIFY_CLIENT_ID with your Client ID from step 1, and https://your-domain.example/callback with the exact same redirect URI you registered — this file is gitignored by default, so your own Client ID never ends up committed if you push changes back
  4. Check that your Edge model is listed in manifest.xml under <iq:products> (add it via Command Palette → "Monkey C: Edit Products" if it's missing)

5. Build and install

  1. Open source/SpotifyEdgeApp.mc, press F5, pick your Edge model as the target
  2. Check the Problems tab in VS Code — should be empty (or only harmless warnings)
  3. Connect your Edge via USB
  4. Copy the built bin/SpotifyEdge.prg to GARMIN/APPS/ on your Edge
  5. Disconnect and fully restart the Edge

6. Add it to your activity profile

  1. On the Edge: Profiles → pick your profile → Edit Data Screens
  2. Choose a screen with 1 field (full-screen — gives the most room)
  3. When picking the field: Connect IQ Fields → Spotify Edge

7. First login

  1. Make sure your phone is paired with the Edge over Bluetooth (the normal Garmin Connect Mobile pairing you already have)
  2. Cycle to the screen with the Spotify field (or just view it without riding)
  3. Tap Login
  4. Your phone will show a Spotify login screen (via Garmin Connect Mobile) — log in and approve the requested permissions
  5. Back on the Edge, your current track should appear within a few seconds (if something is already playing)

If the login screen hangs or nothing happens: open Garmin Connect Mobile on your phone manually and keep it in the foreground while logging in — some phones don't surface the login prompt reliably otherwise.

Troubleshooting

What you see Likely cause What to do
"Error 403" on playlists Account not (correctly) added in Spotify's User Management, or a stale session in the phone's login webview Check User Management in the Spotify Dashboard; try clearing Garmin Connect Mobile's cache and log in again via the logout button
Stuck on "Tap to log in" after logging in Screen didn't auto-refresh Swipe away and back, or restart the Edge
Yellow exclamation mark / app disappears The app crashed and was (sometimes) automatically removed by the device Check GARMIN/APPS/LOGS/CIQ_LOG.YAML on your Edge for the exact error, rebuild if needed, reinstall the .prg
Playlists don't match the Spotify app Stale cached list Go back to the now-playing screen and reopen playlists — this always fetches fresh

Project structure

manifest.xml                        App manifest (device list, permissions)
monkey.jungle                       Build configuration
resources/
  drawables/                        Icons (launcher icon + button icons, generated as PNGs)
  properties/properties.xml.example Template for your Spotify Client ID + redirect URI
  strings/strings.xml                App name
source/
  SpotifyEdgeApp.mc                 App entry point
  SpotifyAuth.mc                    OAuth (PKCE) login + token storage
  SpotifyApi.mc                     Spotify Web API wrapper
  SpotifyDataFieldView.mc            All UI drawing + state
  SpotifyDataFieldDelegate.mc        Touch input handling

Contributing

Issues and pull requests are welcome — this was built through a lot of trial-and-error against real device quirks (see the code comments for plenty of "this looked right in the docs but crashed on the actual device" notes), so if you hit something new, a detailed bug report (device model, firmware version, and the contents of CIQ_LOG.YAML if there's a crash) is extremely helpful.

License

MIT — see LICENSE.

Disclaimer

This is an unofficial, independent project and is not affiliated with, endorsed by, or sponsored by Spotify or Garmin. "Spotify" and "Garmin" are trademarks of their respective owners.

About

Control Spotify from your Garmin Edge touchscreen — now playing, playback controls, and playlists, right on your ride screen.

Topics

10401050840850cyclinggarmingarmin-connectgarmin-connect-iqgarmin-datagarmin-edgegarmin-edge-1050garmin-edge-840now-playingplaylistsspotifytouchscreentouchscreen-control

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.