Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Wifi RSSI to API endpoint #739

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Expose Wifi RSSI to API endpoint #739

wants to merge 1 commit into from

Conversation

eandersson
Copy link
Collaborator

This commit adds Wi-Fi RSSI to the API endpoint, keeping the implementation minimal to allow the front end to handle advanced logic (e.g., a user-friendly indicator for signal strength).

If the device is not connected to Wi-Fi, the endpoint returns -90 (representing "poor connectivity"). This approach was chosen because API access inherently requires a working Wi-Fi connection, making this an acceptable fallback.

Copy link

Unit Test Results

20 tests  ±0   20 ✔️ ±0   0s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit 2870e33. ± Comparison against base commit b92f70d.

@mutatrum
Copy link
Contributor

Can this also be put into global_context, so it can be displayed on the screen?

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