Add Voicemeeter Command and Sensor support#386
Add Voicemeeter Command and Sensor support#386Levi--G wants to merge 4 commits intohass-agent:development-2.2.0-beta4from
Conversation
|
Would you be able to provide me some test cases so I can grab those changes and have a real life test? |
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: you can also add a sensor like this: 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 :) |
|
Any chance of getting a review? ;) |
|
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! |
|
This took me way to long... Edit: the installer and flashing "Installing" give me 2002 virus vibes :D |
|
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?) |
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.