This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Wake Computer from Sleep using Homey

I have a PC that I use as an arcade machine - i'd like to wake it from Sleep when via Homey
I see there is a Wake on Lan app, but actually this is more about how Wake on Lan works

Computer only has a WiFi adaptor which does not allow me to turn on Wake On Lan - I don't mind buying a new wifi adaptor with Wake on WiFi support, but I'm wondering if this might be a motherboard issue in that my motherboard won't actually maintain power/data to the adaptor and therefore would be a waste of money...

Anyone have any experience here that could help?!
Thanks

Comments

  • KvMKvM Member
    Keeping the WIFI adapter powered doesn't mean it is connected to a network as well. I think you're operating system (windows?) is connecting to the WIFI network, not the wifi card itself? I do have good experience using wake on LAN  using a cable LAN connection (before I had Homey).

    Most PC motherboards also have an option what to do after a power loss (stay off, last state, turn on). If you use the last option you can boot the pc using a power plug (Fibaro, KaKu, whatever). Just turn it off and 1 or 2 sec later turn it on again.

    You do need to shut it down after use than off course, or hibernate as you take the complete power for a short time when trying to wake it again.
  • Thanks.

    I've actually just bought a wireless repeater with an ethernet port - seems to work well using Nirsoft WOL tool which uses IP address as well as MAC, but the homey app only asks for mac and is not working :(
  • Solved it. Not entirely sure how, but it works :)

    Now I have another question - how can I make Homey turn my PC OFF?

    Or better yet, make it sleep...

    Thanks!
  • KvMKvM Member
    That is a good solution, the WIFI repeater :-) That one will always be connected to the WIFI network.

    But how to turn it OFF, I really don't know...
  • JPeJPe Member
    @vaderag ; @KvM ; your computer can do that by itself, set the time-out so that it's going to sleep after some time not used. (W10 in energy management)
  • VleegeVleege Member
    vaderag said:
    Solved it. Not entirely sure how, but it works :)

    Now I have another question - how can I make Homey turn my PC OFF?

    Or better yet, make it sleep...

    Thanks!
    I found a nice app for that purpose called Switch Off (https://www.raymond.cc/blog/download/did/1009/). It runs as a webserver which you can call with a http request from the designated app.
    It has many nice features like remotely call an application/script start from an http request.
  • vaderagvaderag Member
    edited June 2018
    Vleege said:
    vaderag said:
    Solved it. Not entirely sure how, but it works :)

    Now I have another question - how can I make Homey turn my PC OFF?

    Or better yet, make it sleep...

    Thanks!
    I found a nice app for that purpose called Switch Off (https://www.raymond.cc/blog/download/did/1009/). It runs as a webserver which you can call with a http request from the designated app.
    It has many nice features like remotely call an application/script start from an http request.
    Nice. Does it do sleep as well??
    I guess downside is that something needs to be on tho, right, to run the webserver? Be nice if that ran on homey...
  • VleegeVleege Member
    It does sleep as well. Restart, Shutdown, Hibernate you name it.
    It is a tiny application you install on your Windows PC which runs as a service so starts with Windows. Then you call the URL (http://ip:8000/action=) from the Homey HTTP Request app and you call any of the state commands or your own start an application command.
    It won't get any easier then this.
  • Gotcha. Sounds perfect
  • VleegeVleege Member
    One does not make life any harder then it already is  :D Good luck, enjoy
Sign In or Register to comment.