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

[FR] Update watch #163

Open
Doomsdayrs opened this issue Jul 18, 2022 · 1 comment
Open

[FR] Update watch #163

Doomsdayrs opened this issue Jul 18, 2022 · 1 comment

Comments

@Doomsdayrs
Copy link
Contributor

Provide the user with an intuitive way to know if their watch is well updated.

Required UI

  • Update Check UI
  • Upgrading UI
  • Reboot UI

The update and upgrade UI should have the option to display logs.

Backend

There are two paths to accomplish this

Watch side

The watch shall handle the update download

Steps:

  1. Connect watch to wifi
  2. Run opkg update on device
  3. Run opkg upgrade on device
  4. Prompt to reboot device

Phone side

The phone shall handle the update download

Steps

  1. Query device for package states
  2. Compare with repository
  3. Download any packages
  4. Send packages to device
  5. Install packages on device
  6. Prompt to reboot device
@Doomsdayrs Doomsdayrs changed the title [FR] Update watch from app [FR] Update watch Jul 19, 2022
@aspauldingcode
Copy link

I like this idea.
I bet it would be really cool (since its already going to connect over bluetooth) if the phone could send internet to the device over bluetooth specifically for those update commands to run on the watch, so those watches wouldn't need to specifically connect to internet themselves, let's say in the event you are traveling or something...

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

No branches or pull requests

2 participants