Skip to content

Conversation

@newthiagoassisk8
Copy link

@newthiagoassisk8 newthiagoassisk8 commented Jun 22, 2025

This merge request converts the original AirStatus script, which previously ran via the terminal, into a WebSocket API using FastAPI.
It allows clients to connect and receive real-time updates on the AirPods battery status.

Key changes:

Implementation of a WebSocket server using FastAPI.

Continuous broadcasting of AirPods data to all connected clients.

Code modularization to improve maintainability and support future extensions.

Removal of terminal-based execution as the main script.

Motivation:

With this change, AirPods monitoring can now be integrated into web applications or more user-friendly interfaces, such as a React dashboard.

@newthiagoassisk8 newthiagoassisk8 changed the title master Refactor AirStatus: transformar script em API WebSocket com FastAPI Jun 22, 2025
@newthiagoassisk8 newthiagoassisk8 marked this pull request as ready for review June 22, 2025 19:25
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.

1 participant