This app was mentioned in 15 comments, with an average of 3.87 upvotes
Dearest LocomotiveSkullfuck,
I actually followed a few guides myself, that's how I got my toes dipped in it. Just know that you will need both Tasker, AutoWear, and AutoVoice (for some situations)
My Beloved Skullfuck, I have enclosed some reading that really helped me wrap my mind around this whole Tasker business, and I very much hope it will do the same for you!
AutoWear Guide Page
https://joaoapps.com/autowear/ //I used this page to muck around with the basics of AutoWear, you can do some really neat junk without dredging through code right out of the box!
I then used the main Tasker app to hook the Wol Wake on Lan Wan app (found here on the Play Store: https://play.google.com/store/apps/details?id=com.benfinnigan.wol)
This allowed me to then use some tinkering with the 'Voice Command Tutorial' and '"Ok Google" Integration Tutorial' to set up a custom voice command that then appropriates a trigger function to the Tasker 'Wake On Lan' task I had set up earlier!
EDIT: (1) word
Here's the app I use to send the WOL Signal, https://play.google.com/store/apps/details?id=com.benfinnigan.wol
The only issue I ran into was when I was leaving, if it disconnected and reconnected it'd send the WOL signal and my PC would be on all night. I set it up to only send the signal when it connects to wifi before lunch, and then I don't have the issue anymore :).
The tasker bit was really simple, Day = Weekday, Time = 7:00-9:00, Wifi Connected; work WiFi, begin task Wake on LAN. I set up the WOL by PC name so I didn't have to deal with having a static IP on my workstation.
I did have to mess with the bios a bit otherwise WOL wasn't working right. The easiest way to determine if WOL is probably enabled is if there's a light on your ethernet port when the PC is powered off. If it's not, there's bios settings you have to change (more than likely).
Alright first step is you need a WOL app from the play store, autovoice, and tasker. After that just put your info into the WOL app. It will need the mac address of the computer you want to wake up, the ip address of it, and a port #(default is 9 which is fine). If you need any help finding that info just ask. Then launch tasker and click the plus button to add a new profile. Click on state, then plugin, then autovoice and then recognized. Click the pencil on the configuration thing. Then go to command filter and enter the command you want to say to launch it. Then click the check mark. It'll take you back to tasker and then just click the little arrow thing in the top left corner. Then click new task, name it whatever you want. Then click new action and click plugin. For this plugin choose the WOL app you have. Click the pencil and choose your settings for the pc you want to wake up. Sorry for the huge text block but if you have any questions just ask. This is the app I use. Can't say anything about it other than that it works.
> wol will turn my computer on
How are you sending the WOL packet from Tasker?
Its something I've been after for a long time. I currently use Fing to do this manually but it doesn't make the WOL feature available to Tasker so I'm stumped as to how to do this. I have seen suggestions that use a dedicated WOL App but am always looking at ways to reduce the number of applications I have installed (hence using Tasker for lots of things).
Separate app. If you try and use WoL in Tasker it'll prompt you to install it. The app is creatively called "WoL Wake On Lan Wan"
https://play.google.com/store/apps/details?id=com.benfinnigan.wol&hl=en_GB
I use this one https://play.google.com/store/apps/details?id=com.benfinnigan.wol since it has a Tasker plugin combined with a couple of Tasker profiles that wake my PC when my morning alarm goes off and also when my phone connects to my home Wifi (i.e. after I get home from work)
I don't see any mention of WOL in the task. Is that what the UDP call is doing? If so, you might try a known good Tasker plugin as an alternative. (Note: I don't know if it's been used successfully with Oreo, or even Nougat for that matter.)
I've always used this one since it has a Tasker plugin: https://play.google.com/store/apps/details?id=com.benfinnigan.wol&hl=en Bear in mind though you'll need both your router and PC configured for it, it can be a nuisance to get working.
So you need Tasker, Autovoice(paid or trial) and WOL wake on lan for this to work and your computer needs to be wired and wake on Lan must be supported and turned on via the bios. In autovoice OK Google interception must be turned on, either with the accessibility service or via an xposed module (the latter works with android wear watches without using apps like autowear). In Tasker create a profile, choose event and choose autovoice recognised. Press the edit button and add the command you want in 'command filter'. You can add variations with "|" in between the commands. Go back and add or create a task. In there add WOL from the plugins menu and select your computer. You might want to add your computer beforehand in the app itself. I believe you need its ip and Mac adress but I'm not sure. When everything went correctly you can now say 'OK Google [your command]' and your computer will boot up!
the app "Wol Wake on Lan Wan" can be used with Tasker to send packets to wake your computer even when not on the same network. You'll probably need a static external IP though
https://play.google.com/store/apps/details?id=com.benfinnigan.wol
I use this.
I've got a tag I tap when I come in the house to run it for my PC
Install this, set it up, test it outside of Tasker, then add it to your task from the Plugin section (not 3rd party).
https://play.google.com/store/apps/details?id=com.benfinnigan.wol
I'm not sure what you mean by "home control setting". Are you saying you have it set up with the Home app for controlling smart devices in your home? If that's the case, that doesn't help you much in this situation unfortunately.
Anyways, the process to get this sort of thing working is not completely straightforward, and if you are 100% new to this kind of stuff it may seem completely overwhelming. I hate to be that guy, but it is a little out of my scope to walk you through it all. Instead I will list the various technologies I used to get my computer turned on from Google Home and hopefully that gives you enough keywords to search for yourself. Feel free to come back here and ask me more questions if you get lost along the way, though.
So first off, you need to make sure that Wake on LAN (WOL) is enabled for your computer (or WAN if its a laptop, but this is a less common feature). It'll be a setting in your motherboard's BIOS setting most likely. If you are using Windows there is more to do, so find a guide for this.
The next thing is to get familiar with Tasker. Once you are done with that (yeah, lets pretend that is a one step thing... lol), you need to install a WOL Tasker plugin. I personally use an application on Android called WoL Wake on Lan Wan.
From there you need to become familiar with IFTTT. Create an account, integrate with the Google Assistant service and send a web request using the Maker service to another technology called Join.
Join is another Android application that integrates with Tasker. It is similar to Pushbullet, but better. And cheaper (i.e. not free). You'll be using Join as a glue between the IFTTT cloud service and a local Tasker automations on your Android device.
That should be everything you need to get going on this. Like I said, it seems like a lot of work for a relatively simple payoff. But if you are already familiar with the tech stack like a lot of us are, then its not so bad.
Welcome to the club!
There are a lot of free ways to do this, 9.99 is far too much to send a single packet.
https://play.google.com/store/apps/details?id=com.benfinnigan.wol is free
https://play.google.com/store/apps/details?id=com.benfinnigan.wol
Comments mention Tasker integration.