I use the same mac address on other tools where wol is working. The Machine i try to start can handle wol outside of hass. Do i need to install something to get it running?
I checked the script and it need wakeonlan app installed i think. I will check tonight if this is the trick. But that should be mentioned on the component site.
For all who are interested, problem was because i run my hass in docker. I needed to add “–net=host” to my run call to get the magic packet into my docker instance. No all is working fine.
I have it working on my HTPC, though it is only turning the PC on from sleep.
I think you need to uses dashes instead of colons.
For example: “F8-32-E4-6F-07-D6”
See if that makes adifference.
Have you tried sending the waek on LAN packet from another program/computer?
There are lots of free apps out there that do WOL.
Make sure it works at all.
Yes, I was able to make this work with out the --net=host. If you specify the broadcast address it will then work: For most people, it would be simply changing the last octet to 255.
Is that still working out for you? I can’t seem to get it to work, even when I change the broadcast address. Running in docker makes it kind of hard to troubleshoot exactly where the failure is occurring.
edit: The same bash script wakes succeeds at waking my pc from the terminal of the server running docker, but fails when run from within a container. (using 192.168.0.255, not 255.255.255.255, as the broadcast address)
Yes, I am currently running Hassio 0.57.2 on a raspberry pi and my configuration is still working. Tonight I will upgrade it the lastest to ensure it is still working.
Awesome! That did the trick for me. I am running HA on a Windows machine and WOL worked for a while, but then it all of the sudden quit working. Adding the broadcast_address got it working again.
Turn OFF works well, HTPC goes to sleep, but the turn on action does nothing. I’ve tried to wake up from my windows PC (wakemeonlan) and it works well, I could wake it easily.
But with Raspberry Pi + Hass it doesn’t work.
Do I have to install something to RasbPi to make it work?
Can you test the WOL outside of HA to confirm it has been properly setup on the HTPC? I would recommend something like FING on your phone to send the packet.
Also looking at your configuration your broadcast address looks wrong. Assuming your network is 192.168.1.x which would be pretty typical. It should be 192.168.1.255