question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Robbie has added haptics support to the official Home Assistant iOS app (update releasing in a day or two). The PR for it is here (requires 0.92 also releasing in a day from now): https://github.com/home-assistant/home-assistant-polymer/pull/3099

Haptics basically vibrates the part of the screen that you touch (in a subtle way), so you get physical feedback on button presses like in real life. It’s very nice.

As per balloob’s comment at the bottom of that PR, it appears that custom cards can also use this new feature:

The nice way about this approach of using events is that custom stuff can also implement it 👍

It seems that you just have to fire a certain event when button is pressed and the iOS app will listen for that event and then handle the vibration/haptics part. Robbie is active on Discord #ios channel and could help out with any implementation questions I’m sure.

It would be a truly killer feature to have this supported in button-card as well. And I think would even be much better than the official entity-button implementation because we’d be able to specify exact sensitivity level on per-button basis, for example haptics: light (possible options seem to include: success, warning, failure, light, medium, heavy, selection)

Hopefully this can be considered. I would be happy to help test things.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:24 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
fti7commented, Sep 11, 2020

Normal Buttons also emit an Vibration Event in the Android App. Could this be also implemented into custom:button-card? Or is this an Android Companion thing?

3reactions
robbiet480commented, Apr 25, 2019

As I said on the PR, all is working fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Preparing Your App to Play Haptics - Apple Developer
Not all devices support Core Haptics. For example, iPad and iPod touch don't support haptic feedback, so calls to Core Haptics won't result...
Read more >
Haptic technology - Wikipedia
Haptic technology is technology that can create an experience of touch by applying forces, ... "Supporting Interaction Through Haptic Feedback in Automotive User ......
Read more >
Scanners & Haptics Support - 3D Systems
Find the answers you are looking for about our scanner and haptic products on our Support Center. Search through the product knowledge base,...
Read more >
Next generation full body haptic suit - bHaptics TactSuit
bHaptics suit is the most popular among VR users due to native support, the haptic suit can be used with any type of...
Read more >
Implementing haptics | Android Open Source Project
So if the haptics APIs work on some Android phones but not others, ... If your device supports only two HAL constants with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found