Hey All.
I created a flow for a WOL function and works great. powers on the pc perfectly.
I created also a flow chart for shutdown but it says i need root access to be able to use this command.
I don't want to root my phone. Any other way to send a shut down package to the pc ? Or a bypass to send a shutdown command?
Thank you in advance
Shutdown the pc via Voice Command from Google Assistant
Moderator: Martin
-
- Posts: 2
- Joined: 24 Jan 2019 15:20
Re: Shutdown the pc via Voice Command from Google Assistant
The action Shutdown is to turn off the phone, not the PC.
To shutdown the PC, you have to use the mixture of Eventghost and Automagic action HTTP request. Need some configuration to make it work.
To shutdown the PC, you have to use the mixture of Eventghost and Automagic action HTTP request. Need some configuration to make it work.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
-
- Posts: 2
- Joined: 24 Jan 2019 15:20
Re: Shutdown the pc via Voice Command from Google Assistant
Oh thank you very much.
Is there any tutorial how to setup EventGhost to the pc to work with Automagic?
Is there any tutorial how to setup EventGhost to the pc to work with Automagic?
Re: Shutdown the pc via Voice Command from Google Assistant
There is tutorial about using eventghost + autoremote + tasker, but it is quite different, since you need the auto remote in between. My eventghost webserver simply use the webserver, without the need of autoremote anymore (or tasker). I can't just simply share the flow/config without any explanation, it can harm your PC if you misconfigure it.
The big picture of the process is
1. install eventghost and add the webserver plugin. Configure the webserver to listen to certain port.
2. Add the HTTP event with the proper suffix to trigger the action system reboot
3. Create flow in automagic to use action HTTP request and use the link + the event suffix, sent to the PC IP.
I use this to send clipboard back-thru from PC to phone and vice versa. It can send/receive files and mirroring too. Quite complex to explain in the thread, never finished the typing.
BTW, this thread should be in the user help section. You can try the eventghost first, tinker around until you got stucked. And you can ask here again. I will try to help as far as I can.
The big picture of the process is
1. install eventghost and add the webserver plugin. Configure the webserver to listen to certain port.
2. Add the HTTP event with the proper suffix to trigger the action system reboot
3. Create flow in automagic to use action HTTP request and use the link + the event suffix, sent to the PC IP.
I use this to send clipboard back-thru from PC to phone and vice versa. It can send/receive files and mirroring too. Quite complex to explain in the thread, never finished the typing.
BTW, this thread should be in the user help section. You can try the eventghost first, tinker around until you got stucked. And you can ask here again. I will try to help as far as I can.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Shutdown the pc via Voice Command from Google Assistant
This program sounds interesting. Thanks @ Desmanto.
I will also try discovering it.
I will also try discovering it.
-
- Posts: 2
- Joined: 10 May 2016 17:55
Re: Shutdown the pc via Voice Command from Google Assistant
To be able to turn off a PC in the local network, I have installed an SSH server (freeSSHd) in each computer. And through the "Execute SSH Command" action I sent the command "shutdown /p".
Last edited by codeassault on 11 Feb 2019 21:52, edited 1 time in total.
Re: Shutdown the pc via Voice Command from Google Assistant
You may check out IFTTT.