MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2005-08-17, 19:36   #1 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts


Default PVR Scheduler: Wake your HTPC on the web

Hi,

I would like to know if I should implement a feature that your HTPC gets waked up over the internet.

Requirements:
- A network card that supports Wake On Lan (WOL)
- Your computer needs to supports Wake-On-Lan (almost every newer PC does that)
- A router that supports Wake-On-Lan (WOL), e.g. AVM FritzBox, Linksys WRT54GS

It would work like this:
- PVR Scheduler would send the recording time to the PVR Scheduler Server.
- PVR Scheduler calls a script at that time to wake up your HTPC.

Please let me know if you are interested in this?
__________________

HTPC:
P3-S 1133@1133@1,1V passiv
ASUS TUSL2-M
Skystar 2
Creative Soundblaster
nVidia FX5200
120G Samsung SV1204
Toshiba SD-M1712 (Silent Firmware)
--------------------------------------------
PVR Scheduler with MediaPortal Plugin
http://www.pvr-scheduler.de
STSC is offline   Reply With Quote
Old 2005-08-17, 19:53   #2 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,045
Thanks: 36
Thanked 12 Times in 12 Posts

Country:


Default

What feature I'd be looking for (instead of the wake on LAN feature you are proposing) would be web control but I wouldn't need to have apache web server running on the HTPC but on my linux server. The reason is my router only allows one computer to be on the DMZ (accessable outside the router to the internet) and I would much rather that be a standalone linux machine which would have less tendancies of getting virus/worm/trojan/etc.

Mike
mzemina is offline   Reply With Quote
Old 2005-08-24, 12:12   #3 (permalink)
Retired Team Member
 
Join Date: May 2005
Location: Germany
Posts: 688
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Default

Hi STSC,

yes, keep on working on that.
The possibility to wake up my computer over internet for recordings would be great.

Though I still have some problems with PVRS i like this program/plugin very much.

Regards
Ralph
Ralph is offline   Reply With Quote
Old 2005-08-25, 04:01   #4 (permalink)
Portal Member
 
Join Date: Jul 2005
Location: Brisbane
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

I've been able to put this together to some extent, although I've not finished the last bit to tie it all together.

I'm running an ASUS P4P800-VM MB with the internal LAN connected. I've configured this using PowerScheduler and the BIOS is configured for an S3 suspend. The system will S3 suspend after a period of time, and will wake on a number of situations;

1) a scheduled job (scheduled task or scheduled recording) comes eligible to run
2) I press the PC on button on the MCE remote
3) I send the PC a magic packet.

I had to get the latest Intel Proset driver for this to work (previously the system would constantly wake up, as I think the network driver was waking up on any traffic).

Now, how do we get it to wake up??

I've got a Linksys WRT54GS, and am running the latest Alchemy firmware from Sveasoft. This provides many features, one of which is the firmware includes the 'wol' exe, which I can telnet into the router to execute. When I do, it will successfully wake the PC. So the webscheduler interface is available (from the internet via port forwarding).

The problem here is that I don't want to expose the telnet interface to the internet to have to run the wol command. So I have been looking at using the web browser that comes with the 'batbox' distribution for the WRT54G, which includes a lightweight CGI compatible HTTP server, tweaking the firewall parameters to open the local HTTP port for remote access.

This would allow the following flow;

1) Internet client connects to port 80 (or some other special port for security)
2) The HTTP server on the router, this runs a CGI script automatically which includes the wol command to wake the server
3) The HTTP server delays for a sort period
4) The HTTP server redirects the browser to a new port (eg. 81) which is forwarded to the Web Scheduler on the MP box

The main things to be done here is ;

1)to get the batbox http server extracted and running on the router.
2) Write the web pages and CGI scripts to run the wol and redirect the browser.
3) rebuild the alchemy distro to include the above components automatically
or 4) build an RC script that can bootstrap components 1) and 2) from a TFTP server each time the router boots (router filesystem is not persistent, only the core OS and some of the configuration eg. rc scripts).

Then again, maybe there is an easier way

I still however do have some problems with the PowerScheduler sometimes not properly going to sleep, and sometimes missing recordings. This is very intermittent, so for the moment I'm just leaving the PC running with the video and HD stopped through normal power management.
htpcoz is offline   Reply With Quote
Reply

Bookmarks

Tags
htpc, pvr, scheduler, wake, web

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A perfect HTPC with MP & PVR Scheduler & faster XP STSC Tips and Tricks 16 2007-01-30 23:40
The Top Reasons why Media Portal is the Greatest HTPC App Steve Warner MediaPortal 1 Talk 37 2006-08-02 03:00
Auto Resume After Suspend Procedure Dado The old Bugreport Forum 28 2006-04-23 18:59
Mediaportal crashing when power scheduler is activated Adrian2M General Support 0 2005-12-30 17:07
Wake up the htpc from another pc tklon Tips and Tricks 4 2005-02-01 04:53


All times are GMT +1. The time now is 05:41.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden