WOL packet not being sent?


#1

1) Give a description of the problem
I have a piston that executes how I want, and I have used debugging texts to ensure it is executing but it seems like the WOL feature is not being sent.

2) What is the expected behavior?
Device to wake up.

3) What is happening/not happening?
Device does not wake up. I have tested WOL packets on it.

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)

1/23/2018, 10:06:33 PM +233ms
+0ms	╔Received event [Computron 3000].switch = on with a delay of 77ms
+127ms	║RunTime Analysis CS > 25ms > PS > 45ms > PE > 58ms > CE
+130ms	║Runtime (36652 bytes) successfully initialized in 45ms (v0.2.102.20180116) (129ms)
+131ms	║╔Execution stage started
+141ms	║║Comparison (enum) on changes_to (string) on = true (2ms)
+143ms	║║Cancelling condition #4's schedules...
+144ms	║║Condition #4 evaluated true (8ms)
+145ms	║║Cancelling condition #1's schedules...
+146ms	║║Condition group #1 evaluated true (state changed) (10ms)
+151ms	║║Cancelling statement #2's schedules...
+159ms	║║Executed virtual command wolRequest (1ms)
+162ms	║╚Execution stage complete. (32ms)
+163ms	╚Event processed successfully (163ms)

#2

If you send WOL from another device does it work as expected? Just confirming if its the command from WC or if the device has another issue?

Also - I have not used WoL from WC, does it expect a MAC address or IP address for the device?


#3

Yes, if I send it manually from other devices it works as I expect, and the code says it wants MAC… but I tried IP just in case it was a typo for some reason to no avail.

Two things that popped into my head after I posted:

  1. I have the stick for the nvidia shield, not sure if that matters.
  2. My network gets forwarded to a VPN service except my media devices (shield), so my computer thats being targeted is on a VPN once it hits the router while my hub is not. Not sure if this packet comes from the hub or the internet but I can test with that to see if it matters.

Thanks!


#4

IIRC WOL must be on the same subnet - its been a while but I do not think its routable - and if you are using MAC it is definately tied to the local subnet … are the devices on the same subnet?
It doesnt sound like it with the VPN, etc