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

Send weather data to watch #108

Merged
merged 26 commits into from Jan 27, 2024
Merged

Send weather data to watch #108

merged 26 commits into from Jan 27, 2024

Conversation

liamcharger
Copy link
Collaborator

This pull request enhances the application by integrating weather fetching functionality through the NWS API with a secondary fallback option using the WeatherAPI. The retrieved weather data is transmitted to the watch using the Simple Weather Service, introduced in InfiniTime 1.14. Users have the flexibility to decide whether they want to share their location with the specified APIs and additionally configure and control this location-sharing preference.

liamcharger and others added 26 commits January 17, 2024 12:18
* Writing Weather Data to the Watch

All this code does is write random weather data to the watch roughly every 30 minutes.

* Sending weather data using the NWS API

Currently only gets the temperature, min temperature, and max temperature for your current location and sends it to your watch.

---------

Co-authored-by: liamcharger <105521623+liamcharger@users.noreply.github.com>
Fixes an issue where the current temperature wasn’t being pulled from the right location, causing the watch to display inaccurate data.
* Cycles through older temperature data when latest isn't valid.

* Retrieving weather data using WeatherAPI

WeatherAPI now retrieves the same kind of information as NWS.

* Retrieve weather information based off of a predefine city name.
* Cycles through older temperature data when latest isn't valid.

* Retrieving weather data using WeatherAPI

WeatherAPI now retrieves the same kind of information as NWS.

* Retrieve weather information based off of a predefine city name.

* Debug Weather Settings UI Added and Bug Fixes

Added debug UI elements so I can more easily test certain functional.

* bugfix

* Storing weather information to be used in the app and bug fixes.

* Checks if it should retrieves new information when user changes settings.

* Bug Fixes
* Added base for address auto-complete / Bug fixes

* Change temperature unit based off of system settings

* Address Search Auto Complete is Functional
…ain a connection to the watch even when the app is in the background
@liamcharger liamcharger merged commit 2b8db43 into main Jan 27, 2024
@liamcharger liamcharger deleted the weather branch January 27, 2024 16:08
@liamcharger liamcharger changed the title Send weather to watch Send weather data to watch Jan 31, 2024
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.

None yet

2 participants