Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Wake on Lan Not Working (Docker) #16272

Closed
louisefindlay23 opened this issue Aug 29, 2018 · 11 comments
Closed

Switch Wake on Lan Not Working (Docker) #16272

louisefindlay23 opened this issue Aug 29, 2018 · 11 comments

Comments

@louisefindlay23
Copy link

Home Assistant release with the issue:

0.76.2

Last working Home Assistant release (if known):
Unknown

Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Component/platform:

switch.wake_on_lan
https://www.home-assistant.io/components/switch.wake_on_lan/

Description of problem:

I added the switch.wake_on_lan with my ip address and mac address but it doesn't turn the relevant computer (Windows 10.)

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

switch:
  - platform: tplink
    host: 192.168.1.18
  - platform: wake_on_lan
    mac_address: "10-7B-44-A1-A4-A1"
    name: Desktop
    host: 192.168.1.24

Traceback (if applicable):


Additional information:
I've used a third-party wake on lan app which works with it before. I've turned off fast startup, it's enabled in bios and network adapter. Home Assistant turns on my LG WebOS tv via wake on lan perfectly. I have --net=host on my container and here's my docker run script

docker run -d --name="homeassistant" --net=host --restart="unless-stopped" -v /opt/docker/config/homeassistant:/config -v /etc/localtime:/etc/localtime:ro homeassistant/home-assistant
@timmo001
Copy link
Contributor

timmo001 commented Oct 1, 2018

Is your Windows machine configured to work with WOL? For example, has it been switched on in the BIOS and network settings? Have you tested this with your PC in sleep mode?

@balloobbot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

@nemmeh
Copy link

nemmeh commented Mar 22, 2019

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!

@Swamp-Ig
Copy link
Contributor

Swamp-Ig commented Mar 25, 2019

I have basically this exact same set-up and it works for me. Close?

@jwhite
Copy link

jwhite commented Jun 1, 2019

I have same issue and it isn't working. Not getting correct status, third party apps do report correct status.

Version : 93.2

Using Hassio

@Bojan023
Copy link

Bojan023 commented Jun 10, 2019

I'm experiencing this issue as well. It has been working before and via different methods the target PC is able to boot upon receiving the magic packet. The status is reported correctly though within HA

@Jelmerrevers
Copy link

I am having the same issue, WOL is not working through Hassio (Running in docker). Works well with other downloadable applications.

@Swamp-Ig
Copy link
Contributor

I don't use hassio, but I suspect this might be because the networking setup for the docker container prevents the magic packet from getting to the target network. I've got my networking setup to use host networking.

@wokhen
Copy link

wokhen commented Aug 29, 2019

I'm using Hassio 0.98 in Docker with NGINX Proxy Manager and it's not working.
I tried switch / script solutions with no success, it's quite frustrating... Everything worked well when my HA was running under venv, then I moved to Docker and it stopped working. HA is in host network, NGINX in hassio one, no way to make it work... It would be really helpful if someone could suggest some tip :_(

@genem2
Copy link

genem2 commented Nov 22, 2019

Same here. 0.101.3, unRAID, Docker. No platform: wake_on_lan functionality.
Please ... anyone.

@stale
Copy link

stale bot commented Feb 20, 2020

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 20, 2020
@stale stale bot closed this as completed Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests