InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Vibration on notification a bit too short/weak

Open muppeth opened this issue 4 years ago • 7 comments

Thanks a lot for vibration in notifications 😻 This makes pinetime much more of a daily driver for me. I did notice however that the vibration is very short and weak which makes me miss often the fact I got notification.

In the future would be nice to have this configurable form within the watch but perhaps it could be raised a notch now?

muppeth avatar Feb 17 '21 12:02 muppeth

I'm not sure if it's possible to make it stronger but it's possible to tweak how long it lasts. https://github.com/JF002/Pinetime/blob/develop/src/components/motor/MotorController.cpp#L20

Maybe it would be good to integrate it with the same widget as it is used for brightness.

grayrattus avatar Feb 20 '21 19:02 grayrattus

Yes, the length of the vibration can be configurable in the future :) For now, the motor is just activated for a specific amount of time (35ms, I think).

As @grayrattus said, it would be fairly easy to build a configuration like the one for the backlight.

I plan on experimenting with the motor : drive the motor using a PWM to make the vibration smoother, and maybe implement multiple patterns.

JF002 avatar Feb 21 '21 19:02 JF002

@JF002 , you surely can do. But why the duration is uint8_t? Then maximum vibration time is 255 ms?

ildar avatar Mar 14 '21 06:03 ildar

This would really help me out being able to tweak the duration in userland without having to build infinittime or upgrade the firmware for every tweak. I have bad ADHD and bought the pine time with the intent of using it to keep track of time and my routine but I'm finding I miss the vibrations as well...

zacharycarter avatar Sep 29 '21 15:09 zacharycarter

I'm not sure if it's possible to make it stronger but it's possible to tweak how long it lasts. https://github.com/JF002/Pinetime/blob/develop/src/components/motor/MotorController.cpp#L20

Maybe it would be good to integrate it with the same widget as it is used for brightness.

Here is the specific line to adjust the notification vibrate duration https://github.com/InfiniTimeOrg/InfiniTime/blob/9538eb97166410ebc362addfb76ec54895491cd7/src/displayapp/screens/Notifications.cpp#L43

SteveAmor avatar Oct 24 '21 09:10 SteveAmor

Personally, for me the motivation behind purchasing a PineTime was that I hoped to work around the fairly feeble vibrating alerts from the Android phone in my pocket by having vigorous vibrating alerts on my wrist. I am running the current firmware (1.13), and the text-message alert is sufficiently subtle that I may go back to not wearing a watch.

Reading around, there are other issues filed about vibration length (for notifications, alarms, and timers) that have been closed as duplicates of this one, so it seems quite a few people are interested in this.

de0u avatar Jul 20 '23 04:07 de0u

One idea that would be helpful (and maybe an easier step along the way to having full support for notification customisation?) is to allow choosing between the current single buzz and the wake alarm, i.e. where it keeps buzzing until you manually turn it off. This is how most watch timers work in my experience.

sebpearce avatar Dec 12 '23 00:12 sebpearce