Hi all,
Been using Automagic for about a week now and am totally addicted to automating everything. One flow that I have no idea on how to create is this: I want to walk into my house and have my PC WOL, which isn't difficult. The issue I'm having is how to get the WOL request to stop once the PC is on. Is there a way to 'ping' the PC and ask for its online status so that if it comes back as 'online' the flow will stop, or better yet stop the WOL request from being sent again? I've tried making the flow sleep for 23hrs but that caused an emergency stop for some reason.
Thanks in advance.
How to query if a network device is online
Moderator: Martin
Re: How to query if a network device is online
Hi,
You could use a condition Host Reachable to check if your PC is online and stop the loop that sends the WOL packets. I would also recommend to stop the loop after a few times even if your PC does not start. Also use flow->Menu->Options: Skip... to ensure that the flow is not started when it's already running at the moment (this could happen when the location detection does not work reliably and starts your flow multiple times).
Regards,
Martin
You could use a condition Host Reachable to check if your PC is online and stop the loop that sends the WOL packets. I would also recommend to stop the loop after a few times even if your PC does not start. Also use flow->Menu->Options: Skip... to ensure that the flow is not started when it's already running at the moment (this could happen when the location detection does not work reliably and starts your flow multiple times).
Regards,
Martin
Re: How to query if a network device is online
That's great, thanks Martin.
I've modified the flow and it seems to be working when I manually execute it. Hopefully it should work out.
I've modified the flow and it seems to be working when I manually execute it. Hopefully it should work out.