Skip to content

Add Voicemeeter Command and Sensor support#386

Open
Levi--G wants to merge 4 commits intohass-agent:development-2.2.0-beta4from
Levi--G:development-2.2.0-beta4
Open

Add Voicemeeter Command and Sensor support#386
Levi--G wants to merge 4 commits intohass-agent:development-2.2.0-beta4from
Levi--G:development-2.2.0-beta4

Conversation

@Levi--G
Copy link

@Levi--G Levi--G commented Nov 10, 2025

This PR adds Voicemeeter support for the Hass.Agent

Only basic support is added, allows running VM macros and getting parameters as sensors. Once its possible to add more complicated setups i can do that easily.

@amadeo-alex
Copy link
Collaborator

Would you be able to provide me some test cases so I can grab those changes and have a real life test?
Any tips on voicementer installation and then some HASS.Agent test scenarios :D

@Levi--G
Copy link
Author

Levi--G commented Nov 20, 2025

Would you be able to provide me some test cases so I can grab those changes and have a real life test? Any tips on voicementer installation and then some HASS.Agent test scenarios :D

Voicemeeter can be downloaded for free from https://voicemeeter.com/ , the standard will do for just testing. All you need then is to add some commands in hass.agent, for instance:
Mute mic: Strip[0].Mute=1
Set Mic to default: Strip[0].Gain=0,Strip[0].Mute=0

you can also add a sensor like this:
Strip[0].Mute
Strip[0].Gain

Then if you press the buttons while voicemeeter is running you can see the slider/mute button of the left-most channel change and you can also see any change of the slider in homeassistant as the sensor. You don't need to have an input or really set up voicemeeter to see the changes, but if you want to set it up there are some guides here: https://voicemeeter.com/user-guide-startup-the-first-steps-replace-the-windows-mixer-with-voicemeeter/

I think this is what you needed? If not let me know :)

@Levi--G
Copy link
Author

Levi--G commented Dec 29, 2025

Any chance of getting a review? ;)
If you need anything more let me know.
Thanks.

@amadeo-alex
Copy link
Collaborator

hello, sorry it's taking so long, had a long holiday planned for Christmas but it got all ruined by some nasty flu...

@Levi--G
Copy link
Author

Levi--G commented Dec 29, 2025

hello, sorry it's taking so long, had a long holiday planned for Christmas but it got all ruined by some nasty flu...

No problem, take your time then, i hope you still have a nice holiday and get better soon!

@amadeo-alex
Copy link
Collaborator

amadeo-alex commented Feb 16, 2026

This took me way to long...
On windows as we speak and I'll start with the testing :D

Edit: the installer and flashing "Installing" give me 2002 virus vibes :D

@amadeo-alex
Copy link
Collaborator

Good news, and bad news :D

Overall everything seems to be working fine (at least to the level I was able to check - i.e basics) but we have one major issue, HASS.Agent crashes if the VoiceMeter is not installed.

I have other small questions/requests but let's leave them "for later" - my suggestion is to add a function to check, during manager initialisation if the appropriate dll files are there (+ maybe unify both native x86 and x64 classes?)

@amadeo-alex amadeo-alex added the PR - In progress PR review was started and ongoing label Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR - In progress PR review was started and ongoing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants