Crazy WOL Based Idea
#1
Lightbulb 
WOL works great on my XBMC Build. But I don't have any way (WAF Approved) to power up my box remotely.

So I had a great IDEA but no programming skills to implement it. So I'll outline it here and see if anyone has ever heard of a tool that can do this job.

My TV has a Wired LAN connection, that completely powers off when the set is turned off.

I want to trigger a WOL event aimed at my XBMC when the TV is turned on (thus powering on its LAN connection)

Does this tool exist?
Reply
#2
http://www.pulse-eight.com/store/product...apter.aspx
Reply
#3
That is a great option, however it is not currently in the budget hence I'm trying to find some creative solutions.

Also, that might even be iffy as Wake on USB for my motherboard is unproven.
Reply
#4
I use an ir receiver that runs to my server that runs lirc, then via irexec it runs a wakeonlan command to wake up my htpc.

I do this because I Pxe boot and cannot use suspend.
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Reply
#5
That's a good solution. But I'm trying to pull this off without buying anything at the moment. In the future I'll be getting the Pulse Eight CEC adapter, but for now, I've got nothing.

My current remote won't power on my box, no matter what is set in the BIOS.
Reply
#6
1)If you have an android phone and your xbmc box bios supports WakeOnLAn you can wake-up your xbmc box from your phone. For example use
https://play.google.com/store/apps/detai....wol&hl=en

2) If you have a server in your home setup, you can write a script that sends the WoL magic packet to the xbmc box when it can succesfully ping the ip address of the tv.
Reply
#7
Option 1 Works for me when I'm home. However for my wife and family and friends, not so much.

Option 2 is looking more promising.
Reply
#8
Lightbulb 
I've found a solution.. And here it is.
It pings the TV every 10 seconds to see if it's powered on.
If it responds it pings the XBMC machine to see if it responds.
If XBMC box doesn't respond it sends a WOL packet using mc-wol.

***** The only downside is that you need to power off the TV BEFORE the XBMC box*****

Throw this in a .bat file and go to town.

@echo off

REM this needs to be run in the same directory as mc-wol.exe
Confusedtart

REM TV ON? If no, restart, If yes, check XBMC
ping -n 1 192.168.1.15 | find "milli-seconds" >nul
IF ERRORLEVEL 0 SET ERRORLEV=0
IF ERRORLEVEL 1 SET ERRORLEV=1
if %ERRORLEV% EQU 1 goto restart

REM XBMC ON? If off turn ON. If On, restart
ping -n 1 192.168.1.198 | find "milli-seconds" >nul
IF ERRORLEVEL 0 SET ERRORLEV=0
IF ERRORLEVEL 1 SET ERRORLEV=1
if %ERRORLEV% EQU 0 goto restart

REM If TV is on and XBMC is off turn on XBMC
start mc-wol.exe xx:xx:xx:xx:xx:xx

:restart
REM 10 seconds of wait time
choice /c:ync /d:c /t:10 >nul
goto start
Reply

Logout Mark Read Team Forum Stats Members Help
Crazy WOL Based Idea0