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: Pass command line parameters from HA to HWS. #37

Open bjakobs opened 3 years ago

bjakobs commented 3 years ago

I'm having an idea where I would have an adjustable timer in HA, and when I issue a shutdown command, it would pass that timer as a parameter HWS.. So for example timer in HA set to 5 minutes, and then that is passed to HWS command line as a parameter so it ends up as "shutdown /t 300". Doable?

sleevezipper commented 3 years ago

Thanks for creating an issue! Definitely doable.

DeX2K commented 3 years ago

Hi, This is something I look forward too and it's preventing me to switch to hws for the moment. In IOT link i'm using a custom command that is passing with a dynamic variable. That way i can set the brigtness level of my screen depending on a sensor in the room. This could be also useful to send custom notification to the windows notification service

Hobbit44 commented 2 years ago

The custom notifications is what I'm after. This would allow me to have a single custom command for any notification I want to run to my PC

Growiel commented 2 years ago

Just adding my small +1. Currently using IOT Link but would like to switch to HASS Workstation (because the config is easier and it's more maintained) but not being able to send arguments is a show stopper.

Having a native "Notification" would be the best, but I can manage to recreate it using Powershell if i can pass arguments to it.