Ok so this is interesting. I downloaded a piece of software to my Windows PC to wake up devices through WoL.
It didnt turn on my TV. But when I changed a setting saying “Send multiple wake-on-lan Packets” from 1 to 5… it turned on the TV. So it seems my LG TV needs multiple WoL-packets to start.
Any ideas how I can send multiple in openhab? Tried making a rule that just sent five individual wol commands to the TV, but didnt work:
Switch LG_TV0_WOL { wol=“192.168.10.158#B4:E6:2A:D2:81:01”,wol=“192.168.10.158#B4:E6:2A:D2:81:01”, wol=“192.168.10.158#B4:E6:2A:D2:81:01”, wol=“192.168.10.158#B4:E6:2A:D2:81:01”, wol=“192.168.10.158#B4:E6:2A:D2:81:01” }
Help?
** UPDATE **
I tried through command line windows with wolcmd application. Worked sending only one… wolcmd b4e62ad184XX 192.168.10.158 255.255.255.0
your wol item is wrong. The ip address part should be a broadcast address
Try this - note it’s .255 (broadcast address) not .158 (i.e. do not use your specific tv ip)
Oh my god. I’ve read so much documentation and threads, but forgot to read the //comments in the example code. A little bit embarassed now. Thank you Jim