I’ve been googling, and searching these forums and so far not found a solution. I am trying to adjust the volume on the host based on automation. I am using a USB speaker (Jabra Speak).
From Node-Red I thought this would be simple enough, but it cannot as
amixer is not installed (and I have not found a work around - but I’m not saying it doesn’t exist).
So my next idea was to see what Rhasspy could do. It is capable of adjusting volume from the terminal - but I haven’t found any documentation how to adjust it using GUI or better yet API. Does this exist? Is anyone else adjusting their volume and if so HOW?
I have tried from Node-Red, Home Assistant, and Rhasspy - and I can’t figure out how to do it. Currently I have it in a cron job based on Time of Day. BUT for waf I need to make it adjust based on a binary door sensor (aka quiet down when babies are asleep).
Any/all help is appreciated!
Followup… if there is no easy way - would it be feasible to make a feature request to have the volume control as an API endpoint, or is that a dumb idea?
Second idea - would it be possible to write a script as a slot program and use that to change the volume? So you can just create a sentence that contains the slot and call it with the API to adjust the volume?