Use the Settings app to configure the badge without writing code. It stores your Wi-Fi connection, GitHub username, contact card, and display brightness.
The available settings are:
| Setting | What it controls |
|---|---|
| WiFi Network | The 2.4 GHz network used by online apps |
| WiFi Password | The password for that network |
| GitHub Username | Your avatar, profile, contribution graph, and GitHub contact link |
| Contact Name | The name shown when you share contact details |
| LinkedIn Profile | Your LinkedIn username or full profile URL |
| Backlight | The display brightness |
Prerequisites
- The settings you want to add. You can leave fields you do not use empty.
- A 2.4 GHz Wi-Fi network for online apps (see Wi-Fi below)
- For the USB method: a USB-C data cable and VS Code or any text editor
Option 1: Use the Settings app
-
Open Settings from the menu.
-
Use Up and Down to move through the settings.
-
To change WiFi Network, WiFi Password, GitHub Username, Contact Name, or LinkedIn Profile, highlight the field and press Select (the white circle).
-
Type the value on the on-screen keyboard. Move with the direction pad and press Select to type the highlighted key. Back deletes a character,
shiftswitches case, and#+=shows symbols.
-
Highlight done and press Select. The hint changes to saved!
-
Repeat those steps for each text field you want to configure:
- Enter the Wi-Fi network name and password exactly, including capital letters.
- Enter only your GitHub username, without
@orgithub.com/. - Enter the name you want other badge owners to receive.
- Enter either your LinkedIn username or a full
linkedin.com/in/...profile URL.
-
Highlight Backlight, then press Left or Right to change the brightness in 10% steps. The badge saves the new level automatically.
-
Press Back to leave Settings.
The screenshots show the GitHub username workflow, but the same keyboard and save controls apply to every text field.
Option 2: Edit secrets.py in VS Code
- Connect the badge to your computer with a USB-C data cable.
- Enter USB mode. Double-tap the badge’s reset button, or open the Mass Storage app from the menu. The screen shows USB Disk Mode and a drive named BADGER appears on your computer.
- Open the drive in VS Code. Choose
File → Open Folder...and select BADGER. - Edit
secrets.pyat the root of the drive:
Keep the quotes, and leave any text setting you do not use asWIFI_SSID = "HYB-26" WIFI_PASSWORD = "..." GITHUB_USERNAME = "your-handle" CONTACT_NAME = "Your Name" CONTACT_LINKEDIN = "your-linkedin-handle" REGION = "us" # Options are us, cuba, eu, moldova, lebanon, egypt, chile, australia, nz TIMEZONE = -7 # Offset from GMT as number of hours, i.e. 0, 1, -7 etc."".REGIONandTIMEZONEare additional computer-edited settings used by apps such as Clock. Change the backlight from the Settings app. - Save the file and eject BADGER (Finder: click ⏏; Windows: Safely Remove Hardware). The badge restarts automatically. If it doesn’t, press reset once.
Values you set in secrets.py take priority over the Settings app. Settings shows those fields with a padlock and locked. To edit them on the badge again, set them back to "" in secrets.py.
Wi-Fi
Your badge comes set up for the HYB-26 network in the Hack Your Badge area. The badge only supports 2.4 GHz Wi-Fi, so it can’t join the main conference network, which prefers 5 GHz. To use your home Wi-Fi or your phone’s hotspot, see Connect to Wi-Fi.
Verify
- Open the Badge app. Your GitHub profile and contribution graph should load after Wi-Fi connects.
- Open Contacts and check that your name, GitHub username, and LinkedIn profile appear on your contact card.
- Return to Settings and confirm the backlight remains at the selected level.
- If an online app reports a connection error, check the network name and password and confirm the network uses 2.4 GHz.
Safety tips
secrets.pyis plain text and includes your Wi-Fi password. Don’t commit your copy to Git.- Always eject BADGER before unplugging the badge or pressing reset, so your changes are saved.