Skip to content

Conversation

@dbieber
Copy link
Owner

@dbieber dbieber commented Apr 14, 2025

Summary

  • Fixed issue in settings server where adding Wi-Fi networks via UI wasn't properly updating wpa_supplicant configuration
  • Added explicit wifi.save_networks() call to ensure networks are properly saved and formatted
  • Improved UI with unsaved changes indicator and disabled Save button when no changes exist
  • Fixed bug where Wi-Fi settings would save to Redis but not update the wpa_supplicant config

Test plan

  • Add a new Wi-Fi network in the settings UI
  • Verify the Save button shows an unsaved change indicator
  • Click Save and verify the network appears in wpa_supplicant.conf
  • Test that the system successfully connects to the newly added network
  • Verify Save button is disabled when there are no unsaved changes

When I add a new wifi network in the settings UI, the wpa supplicant doesn't seem to be getting updated; is settings.set the right call? or should we be using wifi.save_networks()?

🤖 Generated with Claude Code

@dbieber dbieber force-pushed the claude-20250414-175550 branch 2 times, most recently from 29b34a7 to d7fd49c Compare April 14, 2025 18:12
The settings UI was correctly updating Wi-Fi networks in Redis, but not properly calling wifi.save_networks() which ensures proper handling before updating wpa_supplicant configuration.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@dbieber dbieber force-pushed the claude-20250414-175550 branch from d7fd49c to 7d56aec Compare April 14, 2025 18:15
dbieber added 3 commits April 14, 2025 18:19
- Remove debug code from server.py
- Fix Wi-Fi network save process by using proper wifi.save_networks() function
- Add unsaved changes indicator to Save button in settings UI
- Disable Save button when there are no changes to save
@dbieber dbieber changed the title Fix Wi-Fi network configuration in settings server Fix Wi-Fi network configuration in settings server and improve UI Apr 14, 2025
@dbieber dbieber merged commit f977ff9 into main Apr 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants