Hello
I trying to figure out how to change the volume level for notifications in Node Red.
I know you can do something like this in Home Assistant…
action:
service: notify.mobile_app_<your_device_id_here>
data:
message: “command_volume_level”
title: 20
data:
channel: notification_stream
You will do it exactly the same way with the call service node. All it does, it make the service call within HA. However, you need to translate your yaml to json. I recommend an online tool for this:
The first thing I notice from the document, is that volume control is only available on Android. I’m not able to test this as I have an iPhone, but I’d try the following in the Data section of the service node in NR:
I actually got it working. The problem was the app never asked for permission like it was supposed to. I went in to “special access” and gave the home assistant app the notification access and now it works. I can adjust the volume and change the ringer mode to silent or vibrate or whatever.
Thanks
Any ideas what I’m doing wrong here? Debug is just returning a number, but my phone isn’t doing anything. When I set the service to “notify,” I literally just get a notification on the phone.