Wake on Lan through Google Assistant

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
maxs84
New here
Posts: 7
Joined: Fri Oct 23, 2015 3:00 pm

Wake on Lan through Google Assistant

Post by maxs84 » Tue Jan 07, 2020 6:45 pm

Hello to all,
recently they gave me a google nest mini and I started to discover its features / utilities.
I discovered that there is an online service called IFTTT that allows you to connect various devices that do not natively interface.
Among the many services available on IFTTT there is also "google assistant" and "qnap" but unfortunately natively through voice commands you can only:
- turn off in nas
- free the nas
- restart the nas
but unfortunately there is no Wake on Lan (WOL).

Searching online I saw that it would be possible to start a host remotely via a url using the services offered by:
www.wakeonlan.me
www.depicus.com

Unfortunately, however, I can't get them to work and I don't understand why.

If I could start the nas through these sites I could, through IFTTT and Webhooks, launch the url via voice command and then start the nas with your voice.

Anyone have any ideas?

dolbyman
Guru
Posts: 19019
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Wake on Lan through Google Assistant

Post by dolbyman » Tue Jan 07, 2020 10:29 pm

wol has to be done within your own lan ..so a machine inside your home has to send the magic packet

maxs84
New here
Posts: 7
Joined: Fri Oct 23, 2015 3:00 pm

Re: Wake on Lan through Google Assistant

Post by maxs84 » Tue Jan 07, 2020 10:57 pm

If i use an app on my iphone or mac wol work properly but if i try to launch magic packet from internet service like depicus the nas does't wake up

dolbyman
Guru
Posts: 19019
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Wake on Lan through Google Assistant

Post by dolbyman » Tue Jan 07, 2020 11:14 pm

as said

you need to be in your own network...magic packets will not traverse nat (obviously)

maxs84
New here
Posts: 7
Joined: Fri Oct 23, 2015 3:00 pm

Re: Wake on Lan through Google Assistant

Post by maxs84 » Tue Jan 07, 2020 11:35 pm

Sorry but my english is bad!
I know that i need to be in my network to send a magic packet but i reed that there is a solution to send a magic packet from internt...
the promeblem is open by arp the router port.

dolbyman
Guru
Posts: 19019
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Wake on Lan through Google Assistant

Post by dolbyman » Tue Jan 07, 2020 11:59 pm


maxs84
New here
Posts: 7
Joined: Fri Oct 23, 2015 3:00 pm

Re: Wake on Lan through Google Assistant

Post by maxs84 » Wed Jan 08, 2020 2:46 am

Thaks you very much but i found another solution: rm mini 3 (smart ir remote).

jarboloide
New here
Posts: 4
Joined: Mon Mar 12, 2018 11:20 am

Re: Wake on Lan through Google Assistant

Post by jarboloide » Mon Jul 27, 2020 9:14 am

Here are the few steps:

IFTTT - Create a applet Google Assistant
"Say a simple phrase" and choose the wake up sentence, for example "Turn on PC"

use "make a web request"from webhook service with the following parameters:

url: on depicus domain use /wake-on-lan/woli-ajax.php
method: POST
content type: application/x-www-form-urlencoded
bodu: macadderss=XX-XX-XX-XX-XX-XX&ip=your-ip.com&subnet=1&port=9&secureon=

And that's it!

Allow port on your router to you PC IP Lan (something like 192.168.1.XXX

Post Reply

Return to “Miscellaneous”