Call ringer set via node red

Hi

I’m trying to set call ringer volume via nodered and companion app

I’ve succeded in changing volume level with notify.mobile_app_myphone and this data

{
  "message": "command_ringer_mode",
  "data": {
    "command": "normal"
  }
}

But I don’t find the right way to do it for call and notification ringer volume

What should be the right way?

I’m a on a Motorola phone and the sensors are alerady activated in the companion app

Thanks

https://companion.home-assistant.io/docs/notifications/notification-commands#volume-level

Looks suspiciously like

{
  "message": "command_volume_level",
  "data": {
    "media_stream": "ring_stream",
    "command": 20
    }
}
1 Like

To add, the max volume levels have different maxs. My notification and alarm, the max is 7. Music is 25. If you send a number over the max, it will do nothing.

You can enable, in the diagnostic section of the device, sensors that will show you the value. These only show the current value and cannot be used to to change the level.

1 Like

thanks you both!

I’ve used the code from @Biscuit and the suggestions from @Mikefila and now it’s working!

I’ll use this to get a specific subject from a mail using IMAP integration to find the phone since I always keep it in silence mode.
Now I will try to get the position from HA and send it back to same email to have more info in case the phone is lost