Turning On a Computer

Here you are welcome to discuss items of general interest related to Push2Run
Post Reply
Sailorderrick
Posts: 1
Joined: Sun Jan 03, 2021 1:20 pm

Turning On a Computer

Post by Sailorderrick »

Hi, this is my first post. Have just starting using P2R and it is great.

I was looking through the internet looking for a way to start my computer using a voice command from Google and saw a post about using WakeOnLan and this software and a reference to detailed instructions on how to do it on this website. I must be blind as I can't find it anywhere. Can someone point me in the proper direction?

Thanks!
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Turning On a Computer

Post by RobLatour »

Hi,

It shows up in a few places - if you use the forums' search function for
WOL
some will appear.

Here is one:
viewtopic.php?f=9&t=2&p=298&hilit=wol#p298

Also, here is the way I approach it (perhaps not for everyone - but it does the trick for me)+
https://hackaday.io/project/166985-wol- ... 32-poe-iso
aurelbdx
Posts: 20
Joined: Sat Feb 09, 2019 2:31 pm

Re: Turning On a Computer

Post by aurelbdx »

Hi,

this process works for me with ifttt using depicus website

https://www.reddit.com/r/ifttt/comments ... s_website/

I use this parameters :

url : https://www.depicus.com/wake-on-lan/woli-ajax.php
method : POST
content type : application/x-www-form-urlencoded
body : macaddress=XX-XX-XX-XX-XX-XX&ip=XX.XX.XX.XX&subnet=1&port=XXX
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Turning On a Computer

Post by RobLatour »

Thanks for posting this.

However, as a word of caution to anyone reading this thread ...

From depicus.com ...
If you wish to use Wake On Lan over the internet you will need to set up your destination firewall/router to allow "Subnet Directed Broadcasts". Most routers and firewalls disable this option by default.

You will then need to allow traffic through on your firewall/router on a specific port. The choice of ports is up to you.
ref: https://www.depicus.com/wake-on-lan/wak ... rt-numbers

From Wikipedia.com ....
Subnet directed broadcasts

A principal limitation of standard broadcast wake-on-LAN is that broadcast packets are generally not routed. This prevents the technique being used in larger networks or over the Internet. Subnet directed broadcasts (SDB)[9][10] may be used to overcome this limitation. SDB may require changes to intermediate router configuration. Subnet directed broadcasts are treated like unicast network packets until processed by the final (local) router. This router then broadcasts the packet using layer 2 broadcast. This technique allows a broadcast to be initiated on a remote network but requires all intervening routers to forward the SDB.[11][12] When preparing a network to forward SDB packets, care must be taken to filter packets so that only desired (e.g. WoL) SDB packets are permitted — otherwise the network may become a participant in DDoS attacks such as the Smurf Attack.
ref: https://en.wikipedia.org/wiki/Wake-on-L ... broadcasts
pho08
Posts: 12
Joined: Sat Apr 11, 2020 5:56 am

Re: Turning On a Computer

Post by pho08 »

maybe i can add to that. i have a bit of an adventurous solution, albeit it works:

you'll need:
an android device
tasker app (not free)
autovoice app
WOL app
google home app

1 first configure the WOL app to point at your PC
2 then set up a task in tasker to trigger the WOL plugin and wake up your pc
3 you can then set up a profile in tasker where a certain recognized autovoice keyword (e.g. "pcon") will trigger the task in 2
4 to make it more comfy set up a routine in google home and choose a trigger word (e.g. "turn on the pc") to trigger "ask autovoice pcon"
5 profit .)
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Turning On a Computer

Post by RobLatour »

Yes, I tried something like that along the way but found my phone had to be unlocked to use it. Perhaps there is a way around that?
pho08
Posts: 12
Joined: Sat Apr 11, 2020 5:56 am

Re: Turning On a Computer

Post by pho08 »

if you grant tasker the necessary permissions it works w/o any manual input

tasker + google home routines + push2run really allows for some awesome magic to happen

couldn't thank you enough for this
Post Reply