I’ve installed lighttpd and php on my asus router. Then created a php script that sends a WOL.
The vera is on an other network segment so sending a WOL broadcast from the vera doesn’t work.
When I visit the page http://192.168.1.1:81/WOL.php the router sends a WOL to my pc.
When I create a scene or use the Test Luup code with the following code:
local http = require("socket.http") http.TIMEOUT = 5 result, status = http.request("http://192.168.1.1:81/WOL.php ", "run=run")
and also without the body (“run=run”).
The Vera says ‘Code sent successfully.’ but my pc won’t receive the WOL package.
Is this because I use port 81 instead of 80? I’m really running low on ideas.