Hi,
I've set up a card to shutdown the pc but when i say the command i'd like to:
Shutdown the PC
turn off the lights of the desk
how can i do that?
Thanks
Multiple commands
Re: Multiple commands
How are your desk lights controlled?
Re: Multiple commands
Govee and smart light, through google home
Actually i could not find the proper command to shut down the pc as well
Actually i could not find the proper command to shut down the pc as well
Re: Multiple commands
How to shut down your computer is described here:
https://push2run.com/examplecards.html
With respect to your smart lights, Push2Run is more about controlling your PC.
However, if your Govee lights can be controlled by IFTTT you may be able to set up an IFTTT applet that both turns off your lights and issue a trigger for Push2Run to use to shut down your computer. However, of note, IFTTT only supports multiple actions like that if you have a pro account with them.
https://push2run.com/examplecards.html
With respect to your smart lights, Push2Run is more about controlling your PC.
However, if your Govee lights can be controlled by IFTTT you may be able to set up an IFTTT applet that both turns off your lights and issue a trigger for Push2Run to use to shut down your computer. However, of note, IFTTT only supports multiple actions like that if you have a pro account with them.
Re: Multiple commands
I tried this
to shutdown your computer: /s /t 10 /c "requested by home automation"
But didn't seemed to work
I
to shutdown your computer: /s /t 10 /c "requested by home automation"
But didn't seemed to work
I
Re: Multiple commands
Can you please copy the contents of your session log into a post on this forum? Also, could you please attach a screenshot of your Push2Run card?
Thanks
Thanks
Re: Multiple commands
The command seems to work now but it's kinda slow.
Also, besides taking an premium plan on IFTTT is there another way for multiple commands ? can i make two applets with the same trigger or it won't work?
i wanna do a "lazy" command, when i'm in bed crashing and turn off all of the pc and desk light at the same time haha
Also, besides taking an premium plan on IFTTT is there another way for multiple commands ? can i make two applets with the same trigger or it won't work?
i wanna do a "lazy" command, when i'm in bed crashing and turn off all of the pc and desk light at the same time haha
- Attachments
-
- Capture d’écran 2021-03-29 080535.jpg (45.64 KiB) Viewed 3395 times
Re: Multiple commands
Hi,
The /t parameter is used to set the time until the shutdown happens. In your example below you are using
/t 10
if you want it to start the shutdown in five seconds you would use
/t 5
With respect to multiple commands in one shot, I am working on something now in Push2Run, for a future release, that will allow you to say
ok google, tell my computer to do a and b
and have both a and b run assuming both have Push2Run cards set up for them.
However, as stated earlier, Push2Run is more about controlling your PC (and by extension things that you can control with your computer). If you can control your lights via your computer then this should work for you, otherwise, you will need something else to control your lights which may or may not be IFTTT depending on if IFTTT supports them or not.
The /t parameter is used to set the time until the shutdown happens. In your example below you are using
/t 10
if you want it to start the shutdown in five seconds you would use
/t 5
With respect to multiple commands in one shot, I am working on something now in Push2Run, for a future release, that will allow you to say
ok google, tell my computer to do a and b
and have both a and b run assuming both have Push2Run cards set up for them.
However, as stated earlier, Push2Run is more about controlling your PC (and by extension things that you can control with your computer). If you can control your lights via your computer then this should work for you, otherwise, you will need something else to control your lights which may or may not be IFTTT depending on if IFTTT supports them or not.
Re: Multiple commands
Oh ok great well i could always say two commands and live with if for now haha thanks