sleevezipper / hass-workstation-service

Provide useful sensors and services from your workstation to Home Assistant.
Apache License 2.0
613 stars 54 forks source link

Feature request: key combinations #135

Open mikosoft83 opened 2 years ago

mikosoft83 commented 2 years ago

Hi

I really like this software, it's way more responsive than what I was using before.

One thing I'd like to see implemented is possibility to send key combinations apart from just single keystrokes (e.g ctrl+c). Would that be possible?

Thanks!

pKuEDhVxaGFYBTRz commented 2 years ago

You can try to use a custom command with software such as autohotkey or luamacros.

The most powerful approach is using python scripts and pynput, and the way with the least amount of additional software would probably involve PowerShell scripts

lelepando commented 2 years ago

Hi

I really like this software, it's way more responsive than what I was using before.

One thing I'd like to see implemented is possibility to send key combinations apart from just single keystrokes (e.g ctrl+c). Would that be possible?

Thanks!

I'm looking for the same features to build a desk touch deck to control my windows pc combining Hass workstation service, ESPhome and a nextion display. I hope this will be considered!

hugalafutro commented 2 years ago

Is there really no way to send a simple key combo without having to becoming a programming guru? I wanted to switch from iotlink to this, but I am too stupid to make anything mentioned in the post above to work. So now I ended up in worst of both worlds where I migrated 99% of my commands from iotlink to hass-service, but still have to use both, as I can only figure out how to send key combo with iotlink.

SKBubba commented 2 years ago

+1 for this. Any updates?

Tried using custom command to launch an autohotkey script, but it only works intermittently using the 'test' button and not at all from HA.

The built-in media controls (play/pause, prev, next) work 100% reliably from HA.