Skip to content

Add WiFi profiles and Admin UI - #52

Merged
rgaudin merged 4 commits into
mainfrom
wifi
Nov 17, 2025
Merged

rgaudin merged 4 commits into
mainfrom
wifi

Conversation

@rgaudin

@rgaudin rgaudin commented Nov 17, 2025

Copy link
Copy Markdown
Member

This introduces the new profile param in ap which conditionnaly configures WiFi as AC5Ghz or N2.4Ghz.
It also adds support for the dev version of the Admin UI which allows switching between those profiles without editing the offspot YAML manually.

Warning

This requires an unreleased version of the base-image ATM

The builder doesn't add the Admin link in Dashboard. This is for the builder user to do.

Fixes offspot/base-image#72
Fixes #2

@rgaudin rgaudin self-assigned this Nov 17, 2025
@codecov

codecov Bot commented Nov 17, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 27.58621% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 36.43%. Comparing base (0408102) to head (ecffb16).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/offspot_runtime/ap.py 0.00% 23 Missing ⚠️
src/offspot_runtime/fromfile.py 0.00% 18 Missing ⚠️
src/offspot_config/builder.py 0.00% 16 Missing ⚠️
src/offspot_runtime/containers.py 0.00% 1 Missing ⚠️
src/offspot_runtime/dnsmasqspoof.py 0.00% 1 Missing ⚠️
src/offspot_runtime/ethernet.py 0.00% 1 Missing ⚠️
src/offspot_runtime/firmware.py 0.00% 1 Missing ⚠️
src/offspot_runtime/hostname.py 0.00% 1 Missing ⚠️
src/offspot_runtime/timezone.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
- Coverage   36.62%   36.43%   -0.19%     
==========================================
  Files          30       30              
  Lines        2378     2448      +70     
  Branches      496      508      +12     
==========================================
+ Hits          871      892      +21     
- Misses       1484     1534      +50     
+ Partials       23       22       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

/!\ requires Host/bridge in base-image (unreleased)
@rgaudin
rgaudin merged commit 9d24012 into main Nov 17, 2025
6 of 8 checks passed
@rgaudin
rgaudin deleted the wifi branch November 17, 2025 13:04
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.

Support multiple WiFi configurations? Support WiFi hardware capabilities

1 participant