Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: pass custom data to commands #34

Closed
Growiel opened this issue Feb 17, 2022 · 5 comments
Closed

Feature: pass custom data to commands #34

Growiel opened this issue Feb 17, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Growiel
Copy link

Growiel commented Feb 17, 2022

Hi,

I'm wondering if it's possible to pass data to commands ?

My goal is to implement TTS using powershell. I would trigger the command from HA and pass the text as data of the command.

But I need a way to get said text in my Powershell script to handle the TTS part.

Is it possible at the moment ? I couldn't find it in the documentation. I know that notifications can accept additional data.

Thanks again for the great tool !

@LAB02-Admin
Copy link
Member

Hey @Growiel, currently that's not possible. There's a request (#31) that, when implemented, would do what you want.

But besides that, being able to send additional data with commands is on my to-do list. No ETA yet (on both) though!

@LAB02-Admin LAB02-Admin changed the title Help wanted: pass data to commands Feature: pass custom data to commands Feb 17, 2022
@LAB02-Admin LAB02-Admin self-assigned this Feb 17, 2022
@LAB02-Admin LAB02-Admin added the enhancement New feature or request label Feb 17, 2022
@Growiel
Copy link
Author

Growiel commented Feb 17, 2022

I am aware of #31 and am definitely in support of it (like said in it), but this would be a dependency-free way of doing it.

If Google Translate TTS (or any other integration) is down, or I lose my internet, I know that I least i'll get my TTS on my computer just fine, since it's generated locally.

I don't own any smart speaker, all my TTS-ing will be done through my windows computer pluged into regular speakers. I work from home so the computer is pretty much always on.

Glad to know it's on the todo list :)

You can close this then if you want.

@LAB02-Admin
Copy link
Member

Totally understand, that's a very good attitude to have.

I'm very chaotic, so these tickets serve as an extra reminder - I'll keep it open 'till it's done :)

@Chreece
Copy link

Chreece commented Mar 15, 2022

Passing something to command through Home Assistant would also be very useful in other implementantions.
i.e. I want to change the volume in Laptop automatically and that should follow a sensor in Home Assistant.
Now I can increase or decrease the volume and not set the volume to a % value.
I'm currently doing this with IOPC and NirCMD

@LAB02-Admin
Copy link
Member

Added in today's beta: https://github.com/LAB02-Research/HASS.Agent/releases/tag/b2022.3.31

Feel free to reopen this ticket if something's not working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants