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

Update Live Activity to use new Local Stats Telemetry Message #897

Merged
merged 10 commits into from
Aug 27, 2024

Conversation

garthvh
Copy link
Member

@garthvh garthvh commented Aug 25, 2024

What changed?

The existing live activity uses the telemetry message sent over the phone api as the event tied to the timer (the only other way to update a live activity is via a server side notification, which is not great for an offgrid mesh.)

Why did it change?

It currently buzzes your phone every minute, and is the same data provided by device metrics. A new Local Stats telemetry message was added with more relevant mesh details and is sent every 15 minutes

How is this tested?

You can test this by long pressing on the connected node in the bluetooth tab and running the live activity

Screenshots/Videos (when applicable)

IMG_3078

IMG_3079

Checklist

  • My code adheres to the project's coding and style guidelines.
  • I have conducted a self-review of my code.
  • I have commented my code, particularly in complex areas.
  • I have made corresponding changes to the documentation.
  • I have tested the change to ensure that it works as intended.

@garthvh garthvh self-assigned this Aug 25, 2024
@garthvh garthvh merged commit 6b84450 into main Aug 27, 2024
2 checks passed
@garthvh garthvh deleted the live-activity-stat-telemetry branch August 27, 2024 05:54
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