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

Feature Request: A selection of different vibration patterns for bg high+low alarms #1448

Open
JoernL opened this issue Sep 24, 2020 · 10 comments

Comments

@JoernL
Copy link

JoernL commented Sep 24, 2020

For example Sony smartphones have a strong vibration motor built-in. When it vibrates on low or high
bg alert this is really loud, because xDrip only has one pattern for this - 3 times long! It would be nice
to set another pattern for this: 3 times short or 1 time long ...

@usernamebeep
Copy link

I would also like to see possibility to set different vibration patterns for high and low alerts to distinguish which alert is alarming

@usernamebeep
Copy link

Any updates on this?

@JoernL
Copy link
Author

JoernL commented Aug 5, 2021

I have manually changed the pattern for my needs. You can find it in:

public static final long[] vibratePattern = {0, 1000, 300, 1000, 300, 1000};

1000 = vibration duration and 300 = break duration.

@Navid200
Copy link
Collaborator

Navid200 commented Aug 5, 2021

@JoernL Unless I am misunderstanding you, you have created your own version. Well done.
You can open a pull request.
If I have misunderstood, please let me know.

@Navid200 Navid200 closed this as completed Aug 5, 2021
@Navid200 Navid200 reopened this Aug 5, 2021
@tolot27
Copy link
Collaborator

tolot27 commented Aug 5, 2021

@JoernL You are very welcome to create a pull request with your changes and it would be awesome if you could add a preference setting for this feature.

@AlexD97
Copy link

AlexD97 commented Oct 26, 2021

It would be also very nice to have different vibration patterns for smartwatches (e.g. on the Galaxy watch 4 the vibration is very weak by default).

@corneliusroemer
Copy link

May I add vibration patterns for the "forecasted low" alert? This is the most useful of all alerts to me.

@tzachi-dar
Copy link
Contributor

May I add vibration patterns for the "forecasted low" alert? This is the most useful of all alerts to me.

Sure, open a new pr for this.

@erobinson
Copy link

Could potentially use some clean up, but added this PR 😄

@usernamebeep
Copy link

Bump
It was this close 🤏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants