sender
December 16, 2020, 6:21am
1
Hi,
All is running lasted available and all works fine and as expected.
But… 1 thing not… vibration feedback.
I can only find 1 option under the user settings:
Vibrate
Enable or disable vibration on this device when controlling devices.
It is enabled, also disabling-enabling does not enable vibration.
Nothing vibrates when pressed…
Any tip?
sender
January 14, 2022, 9:51pm
2
Any tip? Still no vibration…
so you checked the HA user profile on the device/app itself to make sure vibrate is enabled? By default toggles should vibrate IIRC. Since I assume you dont see that can you try a test using the custom button card and one of the effects listed on this page: Haptics | Home Assistant Companion Docs
This would help pinpoint the issue. Also take a look at the app configuration logs you should see a logging message such as: android/WebViewActivity.kt at 8a8772d5e7a2bd7788a081df8c6b0ef29f7cf44b · home-assistant/android · GitHub because the app relies on it to perform the haptic response.
sender
January 15, 2022, 12:57pm
4
Yes I did…
It use to vibrate but I suddenly see it doesn’t anymore.
Not sure what is meant with this.
And sorry, I do not understand what to do to test further. Do you want me to make a new button or?
Toggle meaning a switch to turn on and off.
Yes make a button and set it to one of haptic variables.
Here is an old example I used when I tested/built the feature
- type: "custom:button-card"
color_type: card
color: rgb(223, 255, 97)
icon: mdi:volume-minus
tap_action:
action: call-service
service: light.toggle
service_data:
entity_id: light.corner_lamp
haptic: "medium"
Once you click on it you should see the log line I mentioned above and hopefully the vibration effect
sender
January 16, 2022, 7:38am
7
Hm… yesterday it "just’ worked a while. this morning it stopped again.
And sorry I do not understand how to use your card config and where to see the logging:
type: custom:button-card
color_type: card
color: rgb(223, 255, 97)
icon: mdi:volume-minus
tap_action:
action: call-service
service: light.toggle
service_data:
entity_id: switch.relay_1_relay_3
haptic: "medium"
try:
type: custom:button-card
color_type: card
color: rgb(223, 255, 97)
icon: mdi:volume-minus
tap_action:
action: call-service
service: light.toggle
service_data:
entity_id: switch.relay_1_relay_3
haptic: "medium"
Logs are founder App Configuration/Companion app > Show and share logs. Same place you enable sensors etc…
sender
January 18, 2022, 1:47pm
9
Yes, that vibrates. But after going to logging the app stopped responding. Then closing and reopening the app gives me a permanent white screen with blue icon and sending stop responding… no logging able to catch thus.
Any other tips?
EDIT: it responds again. and now buttons are vibrating again. but for how long