Webinterface plugin (2 Viewers)

igalan

Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    infinityloop said:
    i know that. but beause of the high power consumption of the HTPC in hiberbnation i dont use it anymore. too expensive. electricity i not cheap here.
    You are confusing hibernation with suspend (S1 or S3). They are completely different power modes. In hibernation the state of the machine (RAM, I/O, etc) is saved to the hard-drive, and then the computer is powered off. When suspend mode is activated, the CPU clock is slowed down, harddrives and optical drives are powered off, PCI cards go into lower power mode, USB devices are shut down (if supported) but RAM and motherboard remain active. This is why suspend uses a lot of energy.

    BTW integrating WOL into Webinterface does not help at all for your intended purpose. When the PC is hibernating or powered off, the CPU is shut down, no program is running, so there's no way to access the Webinterface. The program that lauches the WOL packet is sent from an active computer, this computer can wake up others with this "magic" packed if the other computers support this feature (to be supported you need that all the elements are compatible with this feature: PSU, motherboard, network card and OS).
     

    Maschine

    Retired Team Member
  • Premium Supporter
  • June 15, 2004
    768
    86
    Germany
    Home Country
    Germany Germany
    You don't need a http request for contacting the HTPC, Lord. That's what MPW wake up is for.

    The only thing I don't know is if WOL is supported if the PC is turned off?!? Or does the HTPC need to be in hibernation for WOL?

    If hibernation is not needed, this would definately a thing to think about ;-)

    Maschine
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    LordMessi said:
    The webinterface should reside on the HTPC machine - this is in hibernation mode - and as far as I know - a machine can't be contacted through http when in hibernation mode - soo how did you want this to work?

    after thinking about how this could be done i came to the conclusion that this could be done as a additional tool (tuned version of the WOL tool).

    x The Webinterface is installed and runing on the HTPC.

    x on the server you have the additional WOL - recording control tool.
    The server side tool must know the start times of scheduled recordings
    to be able to use WakeOnLan when a recording is imminent.

    example:
    x in Media Portal i add a show to the recording schedule
    x the webinterface writes the start time of the show into a file that is placed on the server
    x after ~15 minutes of idle the HTPC is shut down by the Power scheduler plugin -> to save power and money :)
    x the server side tool knows when the scheduled recording is imminent and uses WakeOnLan to start the HTPC 5 minutes before the recording starts
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Maschine said:
    The only thing I don't know is if WOL is supported if the PC is turned off?!? Or does the HTPC need to be in hibernation for WOL?
    as long as you dont pull the power-plug (or have a HTPC with a Powerswitch instead of Soft-Power off) of the HTPC, a Networkcard with WOL can start the it.

    hibernation has nothing to do with WakeOnLan :)
    http://en.wikipedia.org/wiki/Wake-on-LAN

    Maschine said:
    If hibernation is not needed, this would definately a thing to think about
    in my opinion hibernation is useless becaue the power consumtion is still too high (expensive).
     

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    infinityloop said:
    in my opinion hibernation is useless becaue the power consumtion is still too high (expensive).
    Please, read my post at the top of this page. Power consumtion when the PC is in hibernation state is the same as when completely powered off, that is as close to zero as it can get (for an ATX mobo and PSU, that means that RTC and some parts of the mobo are kept active; about 1 A is still available, so you have features like wake on keyboard, USB or LAN events).

    Read http://www.acpi.info/ for a better understanding of Advanced Control Power Interface.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    igalan said:
    Please, read my post at the top of this page. Power consumtion when the PC is in hibernation state is the same as when completely powered off
    i have tried hibernation, S1 and S3 (supported by my Mainboard Asus A7N8X Deluxe).
    the power consumtion was never less than 70 watt (all fans were always running).
    i dont know if this is a issue with the aminboard (drivers) but that happened.
     

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    To be able to wake up a PC, it may be powered off or hibernating, usually it doesn't make a difference.

    The requirements for WOL are:

    • BIOS supporting this feature,
    • The motherboard must have a special connetor for WOL,
    • The network card has to be connected with a cable to the WOL connection on the mobo,
    • the PSU must supply enough current so the network card is still working when the computer is turned off (in a lower power mode, but working).

    With all this there are programs that using the MAC address can send the magic packet that will wake up the computer.
     

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    infinityloop said:
    i have tried hibernation, S1 and S3 (supported by my Mainboard Asus A7N8X Deluxe).
    the power consumtion was never less than 70 watt (all fans were always running).
    i dont know if this is a issue with the aminboard (drivers) but that happened.
    As I said hibernation completely turns off the computer saving the state to the hard-drive. I had this same motherboard and it did support hibernation. But you have to enable it in the energy options in the Control Panel. The PowerScheduler plugin then can hibernate; if hibernation is not enabled in the OS, it just goes to S3 (or S1).
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    igalan said:
    As I said hibernation completely turns off the computer saving the state to the hard-drive. I had this same motherboard and it did support hibernation. But you have to enable it in the energy options in the Control Panel. The PowerScheduler plugin then can hibernate; if hibernation is not enabled in the OS, it just goes to S3 (or S1).
    i have enabled hibernation in WindowsXP and the power scheduler, tried all possible settings in the bios, no luck.
    hibernation is working fine on my laptop but i had no luck with my HTPC.
    But i will try it again this weekend. (new bios is also available)
     

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    For hibernation to work, all hardware must be able to support it. That includes PCI cards. It's possible that you have a PCI card which don't support it making the computer unable to hibernate (an old TV tuner for instance). With my Asus A7N8X Dlx (1.04) I was able to hibernate, but suspend didn't work (S1 or S3). There is a tool from MS to monitor this process and see where it fails, it's the same that optimizes boot speed.
     

    Users who are viewing this thread

    Top Bottom