Broken WOL switch since v0.107 ‽

Hi everyone,

since about 1 or 2 weeks I have a problem with my wol-switch. After updating to v107 my wol-switch won’t work anymore. When I switch on the switch in the UI it stays there for 2 secs and then jumps back to off. I have not touched any config nor changed anything else.

- platform: wake_on_lan
  mac: aa:bb:cc:dd:ee:ff
  name: Server
  host: 10.1.0.10

My HA runs standalone on a raspberry Pi on my IoT-VLAN with the IP 10.10.0.2. My firewall is set up accordingly.

Anyone else having this issue?

Regards
Manu

Your host IP address is a different subnet to your RPi?

It is.
But I found out that my router has some hiccups since it crashed last week.
Most likely it is a routing/firewall problem.

I’m surprised it worked before, you’d only be able to do it two ways; directed-broadcast, few consumer devices seem to support it (you send a broadcast packet from the pi’s subnet to the remote subnet and router rebroadcasts it); or unicast WOL, which usually stops working after the device goes to sleep as the router’s arp table will timeout and clear.