HttpClient-WearOS allows you to conveniently send HTTP GET requests from your Wear OS smartwatch to customizable URLs. Designed with home automation in mind, it organizes requests hierarchically for easy browsing. Ideal for controlling smart home appliances and other interactive applications.
HttpClient for WearOS is a revolutionary application designed specifically for smartwatches on the Wear OS platform, enabling users to send HTTP GET requests effortlessly. This app not only enhances the functionality of your smartwatch but also opens a pathway to interact with home automation systems, allowing you to manage smart appliances at your convenience.
Key Features:
-
Hierarchical Organization of Endpoints: Organize your HTTP requests in a structured manner, providing a seamless browsing experience on your smartwatch. You can create custom names for these requests, making them easily identifiable.
-
Extensive Use Cases: While primarily developed for home automation, the app’s flexibility makes it suitable for various other applications. Whether you want to manage lighting, control heating systems, or interact with any service accessible via HTTP requests, HttpClient has you covered.
How It Works
The app requires an Endpoints Definition in a simple textual format, allowing you to define your HTTP requests clearly. Below is a sample structure:
- all,All
-- off,Office
--- shut_opn,Open shutter,/shut/office/open
--- shut_cls,Close shutter,/shut/office/close
-- liv,Living Room
--- l_on,Lights on,https://192.168.8.1/light/liv/on
-- kit,Kitchen
In this format, hierarchy is indicated by dashes, separating unique identifiers, human-friendly names, and the request URLs.
Configuration Simplified
HttpClient fetches the Endpoints Definition using an Endpoints base URL, which you configure in the app's settings. The app automatically appends the necessary path to ensure the requests are directed properly. Notably, the JSON response must be configured to communicate effectively with your smartwatch.
Interaction Made Easy
Once set up, you can navigate through your defined endpoints with ease. The application displays your requests in a user-friendly interface, and with a simple tap, you can execute commands. If a request returns a status of 200 and the appropriate content type, the response is showcased clearly on your watch screen.
Example:
Compatibility
Tested with Wear OS 4 and designed for smartwatches with a round display, such as the Samsung Galaxy Watch 5, this app enhances your smartwatch experience without compromising on performance.
Open Source
HttpClient for WearOS is actively developed as a personal side project, with no advertisements or intrusions, offering pure functionality without any hassle.
For further inquiries, please reach out if you discover any bugs or would like to contribute. Join us in enhancing the capabilities of wearable technology!