Hi @Russ
I followed your instructions and it is working excellent now
Thank you so much!
Best posts made by john lagos ramirez
-
RE: Open/Close .exe +Lights on Google Home routines
Latest posts made by john lagos ramirez
-
RE: Open/Close .exe +Lights on Google Home routines
Hi @Russ
I followed your instructions and it is working excellent now
Thank you so much! -
Open/Close .exe +Lights on Google Home routines
Hello!
I have a routine integrated with TriggerCMD but it only works from my phone (google home) and not from my pc.
What i made successfully is create a Routine on the Google Script editor that whenever i start my command/trigger, it opens steam.exe, this triggers my led strip on or off, depending on the parameter sent (both starters on the same code)# Visit g.co/home/script-editor-docs for full documentation. # ------------------------------------------------------------------------------------------ # metadata: name: test steam + light rgb escritorio description: Scripted automation automations: - starters: - type: device.state.OnOff state: on is: true device: Iniciar Steam - Oficina condition: type: device.state.OnOff state: on is: false device: Led escritorio - Oficina actions: - type: device.command.OnOff on: true devices: Led escritorio - Oficina # SECOND STARTER # - starters: - type: device.state.OnOff state: on is: false device: Iniciar Steam - Oficina actions: - type: device.command.OnOff on: false devices: Led escritorio - Oficina
this is on the .bat file:
taskkill /F /IM Steam.exe
I added on the triggercmd Command and off command on and off text to the end, i dont know if that sends the parameter but at least is working (maybe if i delete that it works anyway)
But what is not working is the automation triggering when i open the shortcut from my pc or the .exe, is it possible to make it work like my phone? i want to open Steam from my desktop and this triggers my routine, therefore turning on my strip lights and also when i stop/kill/close the .exe it turns off my light, i cant make it work like that
thanks!