Kodi Community Forum
What settings is required to wake up a hibernated PC for scheduled recording? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+--- Thread: What settings is required to wake up a hibernated PC for scheduled recording? (/showthread.php?tid=374729)



What settings is required to wake up a hibernated PC for scheduled recording? - cheerful - 2023-10-16

Windows 11

PC is in hibernation.  What setting is required to let Kodi wake it up for a scheduled recording?

Kodi setting
PC setting
BIOS setting

Thanks


RE: What settings is required to wake up a hibernated PC for scheduled recording? - izprtxqkft - 2023-10-16

(2023-10-16, 01:20)cheerful Wrote: Windows 11

PC is in hibernation.  What setting is required to let Kodi wake it up for a scheduled recording?

Kodi setting
PC setting
BIOS setting

Thanks

the only thing to wake a pc is WOL but it has to be executed from a different machine - a machine that is off cannot do anything


RE: What settings is required to wake up a hibernated PC for scheduled recording? - cheerful - 2023-10-16

This is a new build.  The previous build was able to wake up.


RE: What settings is required to wake up a hibernated PC for scheduled recording? - izprtxqkft - 2023-10-16

new build, old build, ancient build, future build

the only thing to wake a machine is WOL


RE: What settings is required to wake up a hibernated PC for scheduled recording? - cheerful - 2023-10-16

I don't think this is true.  Windows can schedule timer to wake it up from hibernation for sure.  Backup software does it.


RE: What settings is required to wake up a hibernated PC for scheduled recording? - izprtxqkft - 2023-10-16

well then you already know more than me

good luck


RE: What settings is required to wake up a hibernated PC for scheduled recording? - emveepee - 2023-10-16

The PVR Settings for Power saving give you the ability to create a script to wake the PC.  Perhaps you overwrote your script.

A NextPVR backend on Windows will already wake for EPG updates and scheduled recordings automatically, no script needed.  Generally ignore posts from "@izprtxqkft" as often posts with no knowledge of the situation.

Martin


RE: What settings is required to wake up a hibernated PC for scheduled recording? - izprtxqkft - 2023-10-16

just dont ask martin how to do something as simple as attach images to posts


RE: What settings is required to wake up a hibernated PC for scheduled recording? - cheerful - 2023-10-16

Where can I check this script?  Thanks


RE: What settings is required to wake up a hibernated PC for scheduled recording? - izprtxqkft - 2023-10-16

same question and answer from 8 years ago - https://superuser.com/questions/898879/automatically-wake-from-hibernation

no resolution was made available


RE: What settings is required to wake up a hibernated PC for scheduled recording? - emveepee - 2023-10-16

(2023-10-16, 04:17)cheerful Wrote: Where can I check this script?  Thanks

You need to create it first there is nothing on Windows to check.  The Kodi call is very fundamental it just execute the full command line you enter in settings with the wakeup time is the passed perimeter. 

Martin


RE: What settings is required to wake up a hibernated PC for scheduled recording? - cheerful - 2023-10-17

I don't see a scheduled task for NextPVR or Kodi.  I'm not sure how NextPVR scheduled recording works.  I'd think it needs to create a scheduled task (just like my backup software) and sets to wake up PC from sleep.  This might be the wrong forum.


RE: What settings is required to wake up a hibernated PC for scheduled recording? - emveepee - 2023-10-17

In NextPVR, the wakeups commands are not scheduled tasks, the server creates what I assume are Writeable Time Objects https://learn.microsoft.com/en-us/windows/win32/winmsg/about-timers and you will see them running powercfg -waketimers 

I guess this is on topic since you are doing research creating them yourself for your use case.

Martin


RE: What settings is required to wake up a hibernated PC for scheduled recording? - cheerful - 2023-10-17

Yeah powercfg -waketimers showed the NextPVR timer.

I guess I need to figure out why it's not waking up the PC.  Either Windows or BIOS have something missing.


RE: What settings is required to wake up a hibernated PC for scheduled recording? - cheerful - 2023-10-18

Here is the solution

Control Panel -> Power Options -> Change plan settings -> Change advanced power settings -> Sleep -> Allow wake timers -> set to Enable

The default in my power plan was Important wake timers only