-
Notifications
You must be signed in to change notification settings - Fork 598
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
Android - alarm_stream notifications still silent #1186
Comments
Did you not get presented with a permission when you tried the workaround? |
No nothing happened |
Please share the yaml you used for both the command and notification |
yaml for the notification
yaml for the command
|
ok I think you misunderstood the workaround actually :) What you did was just adjust the volume of the alarm stream. The actual workaround is to change the devices ringer mode state to https://companion.home-assistant.io/docs/notifications/notification-commands#ringer-mode |
also can you confirm if you have a Wear OS device? |
No, don't have such device |
What about the actual workaround? Does that work now if you try the command I mentioned? |
I had to have the app open, or the screen on to get the app to ask for permissions about DND. |
Please double check that the app has proper permission to run in the background @xydix it does not sound like it does. Also asking for DND permission is a one time thing once granted you don't need to do that again. |
Yes the workaround is working now. How can we proceed fixing the issue with the alarm_stream? |
I need to see logs like I mentioned here #1159 (comment) |
@d3m3trius lets please continue the conversation over here as I had previously requested. I am not sure why your message payload is coming in as blank. The app is also setup as a message receiver so we do indeed get the notifications that are posted on the device regardless of being in the foreground or background. Can you please try and start fresh something seems amiss with your setup. Even if I force stop the app the data payload still comes through in the logs so there is something funky going on with your device it seems. Here is a brief log from when I force stopped the app:
Even without sending
|
Just checking in to see if anyone is able to get us the proper logs so we can attempt to debug this issue. |
I was helping out another user with a different alarm stream issue and it lead me to an interesting stackoverflow thread with a potential fix. Can those who have this issue confirm if they have a default alarm ringtone set on their device and also if they have used the alarm on their device to trigger this default ringtone in the past? Some users suggest the default ringtone may return https://stackoverflow.com/a/5687023 still waiting to hear back from users on this Edit: actually this comment might be a better fix but will need confirmation from users who have this issue: https://stackoverflow.com/a/43141881 |
I have this issue, and I have not set a default alarm ringtone on my device. I do not have that option available in the settings menu. The only options available are Ringtone, Notification sound, and System sound. All 3 settings seem to have unique sound lists. The alarms in the Clock app default to a sound called Homecoming from the Ringtone list. It is not the sound I selected for my Ringtone. I do not see an option for changing the default alarm ringtone within the Clock app. The sounds available when creating a new alarm are from the Ringtone list only. I noticed something odd after doing a fresh start, so I did a second one to confirm what I observed. Here is the configuration for the button I used to send the notification:
|
Because of the way notification channels work once you change it the app no longer has control. So you will need clear data to bring back the channel properties. Also the fix for this was merged and in the latest beta. If you still have this issue please open a new issue and fill out the issue template with all requested data. |
What do you need? I'm still trying to get "media_stream: alarm_stream" to work on a Samsung. |
@VNRARA any solution for your Samsung problem? I'm encountering the same problem. Working fine on OnePlus |
Sadly no. I can't even find any app that does succesfully use alarm stream. @KrisHoobergs EDIT: Except for Automate by Illamalab. Alarm channel works fine there even on Samsung. I'm probably going to use Automates URI in combination with HA Notification to get an alarm going. |
Home Assistant Android version:
BETA-515bd2ebb0-full
Android version:
v10
Phone model:
SM-A405FN
Home Assistant version:
0.117.5
Last working Home Assistant release (if known):
n/a
Description of problem:
Ongoing problems with alarm_stream notifications not making an audible sound. Beta-515 might have resolved it, but unfortunately not the case. Ongoing issue as reported in #1159 and #1167
Trying this didn't work either:
Traceback (if applicable):
Screenshot of problem:
Additional information:
The text was updated successfully, but these errors were encountered: