core: Wake on LAN does not work in docker

The problem

Calling the wake on lan service does nothing when running HASS in docker. I am able to wake the computer from my phone and also running wakeonlan MAC OF COMPUTER on the host computer for docker.

As a workaround I set up a command line to ssh to the host and run the wakeonlan command. I was setting a broadcast address but I took that out and kept it to just the Mac address.

This may be something to do with how I have docker set up.

Environment

  • Home Assistant release with the issue: .106.5
  • Last working Home Assistant release (if known): not sure
  • Operating environment (Hass.io/Docker/Windows/etc.): Docker
  • Integration causing this issue: Wake on LAN
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml


wake_on_lan

Traceback/Error logs

No errors

Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

I mean read the server fault answer. Where did you get lost?