Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: GettyLink open wifi preset + TTS says SSID on connect

- Add GettyLink (open, no password) to preset wifi networks
- TTS announces "connected to <SSID>" instead of just "online"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+14 -3
+9 -2
fedac/native/src/ac-native.c
··· 3164 3164 static int was_connected = 0; 3165 3165 int is_connected = (wifi && wifi->state == WIFI_STATE_CONNECTED); 3166 3166 if (is_connected && !was_connected) { 3167 - if (tts) tts_speak(tts, "online"); 3168 - ac_log("[wifi-tts] connected — announcing 'online'"); 3167 + if (tts) { 3168 + char wifi_msg[128]; 3169 + if (wifi->ssid[0]) 3170 + snprintf(wifi_msg, sizeof(wifi_msg), "connected to %s", wifi->ssid); 3171 + else 3172 + snprintf(wifi_msg, sizeof(wifi_msg), "online"); 3173 + tts_speak(tts, wifi_msg); 3174 + } 3175 + ac_log("[wifi-tts] connected to %s", wifi->ssid[0] ? wifi->ssid : "(unknown)"); 3169 3176 3170 3177 // Fetch device tokens (Claude + GitHub) from API (authenticated) 3171 3178 {
+5 -1
fedac/native/src/wifi.c
··· 511 511 SavedCred creds[16]; 512 512 int cred_count = 0; 513 513 514 - // Always include the AC preset as first entry 514 + // Always include preset networks 515 515 strncpy(creds[0].ssid, AC_SSID, WIFI_SSID_MAX - 1); 516 516 strncpy(creds[0].pass, AC_PASS, WIFI_PASS_MAX - 1); 517 517 cred_count = 1; 518 + // GettyLink (open network, no password) 519 + strncpy(creds[cred_count].ssid, "GettyLink", WIFI_SSID_MAX - 1); 520 + creds[cred_count].pass[0] = '\0'; 521 + cred_count++; 518 522 519 523 FILE *fp = fopen("/mnt/wifi_creds.json", "r"); 520 524 if (fp) {