2 minutes
Badging in at the gym with my Garmin watch
The gym I go to requires you to scan a small key tag with a barcode, to check in. I don’t like bulky keychains, so I keep taking it off and tend to forget it when I need it.
To solve this very important and relatable issue, I built gymcode , which allows me to display that barcode on my watch.

Gymcode is a Garmin widget , written in Monkey C . It can be accessed from the “at a glance” menu of the watch by pressing the down button from the watch face, making it quick to pull up at the gym’s entrance.
The app is not distributed through the Connect IQ store. The membership barcode value is hardcoded in GymCodeView.mc and needs to be set before building. The resulting binary must be manually uploaded to the watch as described in the README .
I have the fenix 7 pro, which has a fairly large screen. Barcodes are one-dimensional, so height doesn’t matter too much (except to give me “reading surface”). I was able to use nearly the full watch screen, despite its roundedness, to make it as readable as possible by the scanner.
The fenix 7 pro has a decent backlight, and I have had no issues getting the code scanned properly at my local gym.
YMMV depending on watch model, barcode type (gymcode’s current implementation supports Code 39 ) and your gym’s barcode scanner.
263 Words
2026-02-16 11:45 (Last updated: 2026-02-16 12:24)
Maxence Ardouin (nbr23)