NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 2 3 4 5 … 13 Next »
X-NEWA keeping host PC awake

 
  • 0 Vote(s) - 0 Average
X-NEWA keeping host PC awake
lost@c
Offline

Member

Posts: 215
Threads: 22
Joined: Jul 2008
#1
2020-04-03, 12:38 AM
For a while now I have had an issue where my PC would not go to sleep.  I would often find it still running in the morning in spite of the fact that it stopped being used or recording many hours earlier.  A restart of the PC or the recording service would put it back to normal where it happily goes to sleep 20 mins after any activity.

Given I have a bit more time at the moment… I have learned that it happens only after I have used by bedroom TV which runs a Raspberry pi3 running X-NEWA.  And in looking in the “Web” log I can see that the something keeps talking or trying to talk to it (Heartbeat) until I restart the recording service or reboot the PC.  I get the impression this might go on for ever.

Its not a biggy but I would quite like to see if I can resolve this just to have the PC sleep when its not needed.  I have attached logs and this is what I did and when;
I stopped the recording service and deleted all logs
At 13:12 I started the recording service
At 13:15 I started my Pi.  It auto starts X-NEWA
At 13:18 I shut down my Pi using the “Shutdown” after exiting X-NEWA.  The Pi shuts down and 5 mins later the power to it also shuts off.  (This is a function of the USB port on the TV)
At 13:25 I restarted the recording service and zipped logs.

Any help appreciated Smile


Attached Files
.zip   logs.zip (Size: 7.81 KB / Downloads: 1)
Win7 Enterprise, ASUS Prime H270-Pro, i3 7100 @ 3.9, 4GB Ram, 128Gb SSD, 2 x 1000Gb HDD, 1 x 2000Gb external HDD, Hauppauge HVR-2200, Hauppauge HDR-4000, SiloconDust HD HomeRun Dual, 42" LG LCD. Client - Raspberry Pi 3 Panasonic 32" LCD
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,838
Threads: 954
Joined: May 2006
#2
2020-04-03, 12:48 AM
Sounds like you might have your sleep settings enabled for network activity.

Martin
lost@c
Offline

Member

Posts: 215
Threads: 22
Joined: Jul 2008
#3
2020-04-03, 01:33 AM
Thanks for responding Martin but not that I can see although happy to be proved wrong. In the power options only "Wake on LAN" is on and in the adapter settings the only things I can see relate to "Wakeing" rather than preventing sleep.

I guess my question would be, why is there all that network activity to a device that is off which stops doing so after a recording service restart as can be seen in the differences between the 2 web.log files? (Web.log has no additional entries since the restart at 13:25 and there is now a second web.log with only 1 entry at 13:47)
Win7 Enterprise, ASUS Prime H270-Pro, i3 7100 @ 3.9, 4GB Ram, 128Gb SSD, 2 x 1000Gb HDD, 1 x 2000Gb external HDD, Hauppauge HVR-2200, Hauppauge HDR-4000, SiloconDust HD HomeRun Dual, 42" LG LCD. Client - Raspberry Pi 3 Panasonic 32" LCD
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,838
Threads: 954
Joined: May 2006
#4
2020-04-03, 02:02 AM
UI client activity will stop when the socket disconnects. I didn't really see what you were explaining though.

Do you have a share to your PC open. That could keep a PC open.

Martin
lost@c
Offline

Member

Posts: 215
Threads: 22
Joined: Jul 2008
#5
2020-04-03, 02:15 AM
Thanks again for responding. I do have a share or 2 but this problem does not occur until I start the X-NEWA client and continues after I stop it.

If I start the PC in the morning it will happily turn on and off all day long and continue to do so until I start the Pi. Then after shutting down the Pi it won't sleep. My observation in the web.log files is that something keeps on going continuously after the remote (Pi) is out of the picture.

020-04-03 13:21:23.432 [DEBUG][21] +++++No entries in VLC Heartbeat Dictionary.
2020-04-03 13:21:24.306 [DEBUG][20] Loading FanArt from: C:\Users\Public\NPVR\Media\Shows
2020-04-03 13:21:24.306 [DEBUG][20] FanArt Dictionary Count: 1168
2020-04-03 13:21:24.306 [DEBUG][20] Clearing Dictionary
2020-04-03 13:21:24.306 [DEBUG][20] FanArt Dictionary Count: 0
2020-04-03 13:21:24.353 [DEBUG][20] FanArt loaded from directory.... start time: 3/04/2020 1:21:24 p.m. end time: 3/04/2020 1:21:24 p.m. total elapsed seconds: 0.46
2020-04-03 13:21:24.353 [DEBUG][20] FanArt Dictionary Count: 1168
2020-04-03 13:21:24.353 [DEBUG][20] Folders processed: 0
2020-04-03 13:21:24.353 [DEBUG][20] Fanart files processed: 1168
2020-04-03 13:21:24.353 [DEBUG][20] Total files processed: 1828
2020-04-03 13:21:53.447 [DEBUG][5] ********** Checking VLC Heartbeat Dictionary
2020-04-03 13:21:53.447 [DEBUG][5] +++++No entries in VLC Heartbeat Dictionary.
2020-04-03 13:22:23.461 [DEBUG][4] ********** Checking VLC Heartbeat Dictionary
2020-04-03 13:22:23.461 [DEBUG][4] +++++No entries in VLC Heartbeat Dictionary.
2020-04-03 13:22:53.475 [DEBUG][5] ********** Checking VLC Heartbeat Dictionary
2020-04-03 13:22:53.475 [DEBUG][5] +++++No entries in VLC Heartbeat Dictionary.
2020-04-03 13:23:23.490 [DEBUG][5] ********** Checking VLC Heartbeat Dictionary
2020-04-03 13:23:23.490 [DEBUG][5] +++++No entries in VLC Heartbeat Dictionary.
2020-04-03 13:23:24.317 [DEBUG][21] Loading FanArt from: C:\Users\Public\NPVR\Media\Shows
2020-04-03 13:23:24.317 [DEBUG][21] FanArt Dictionary Count: 1168
2020-04-03 13:23:24.317 [DEBUG][21] Clearing Dictionary
2020-04-03 13:23:24.317 [DEBUG][21] FanArt Dictionary Count: 0
2020-04-03 13:23:24.363 [DEBUG][21] FanArt loaded from directory.... start time: 3/04/2020 1:23:24 p.m. end time: 3/04/2020 1:23:24 p.m. total elapsed seconds: 0.46
2020-04-03 13:23:24.363 [DEBUG][21] FanArt Dictionary Count: 1168
2020-04-03 13:23:24.363 [DEBUG][21] Folders processed: 0
2020-04-03 13:23:24.363 [DEBUG][21] Fanart files processed: 1168
2020-04-03 13:23:24.363 [DEBUG][21] Total files processed: 1828
2020-04-03 13:23:53.504 [DEBUG][5] ********** Checking VLC Heartbeat Dictionary
2020-04-03 13:23:53.504 [DEBUG][5] +++++No entries in VLC Heartbeat Dictionary.
2020-04-03 13:24:23.519 [DEBUG][23] ********** Checking VLC Heartbeat Dictionary
2020-04-03 13:24:23.519 [DEBUG][23] +++++No entries in VLC Heartbeat Dictionary.
2020-04-03 13:24:53.533 [DEBUG][21] ********** Checking VLC Heartbeat Dictionary
2020-04-03 13:24:53.533 [DEBUG][21] +++++No entries in VLC Heartbeat Dictionary.
Win7 Enterprise, ASUS Prime H270-Pro, i3 7100 @ 3.9, 4GB Ram, 128Gb SSD, 2 x 1000Gb HDD, 1 x 2000Gb external HDD, Hauppauge HVR-2200, Hauppauge HDR-4000, SiloconDust HD HomeRun Dual, 42" LG LCD. Client - Raspberry Pi 3 Panasonic 32" LCD
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,838
Threads: 954
Joined: May 2006
#6
2020-04-03, 02:19 AM
Those are newa background tasks not related to knewc or xnewa active and they happen whenever the web server is activated. They should not keep your pc on.

Martin
lost@c
Offline

Member

Posts: 215
Threads: 22
Joined: Jul 2008
#7
2020-04-03, 04:26 AM
OK. Thanks for having a look.
Win7 Enterprise, ASUS Prime H270-Pro, i3 7100 @ 3.9, 4GB Ram, 128Gb SSD, 2 x 1000Gb HDD, 1 x 2000Gb external HDD, Hauppauge HVR-2200, Hauppauge HDR-4000, SiloconDust HD HomeRun Dual, 42" LG LCD. Client - Raspberry Pi 3 Panasonic 32" LCD
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  X-NEWA client problem jcjefferies 2 989 2023-04-11, 05:01 PM
Last Post: jcjefferies
  x-newa new install wheemer 14 4,618 2020-09-15, 02:21 AM
Last Post: mvallevand
  New repository for KNEWC and X-NEWA mvallevand 8 8,595 2020-05-09, 02:19 AM
Last Post: jksmurf
  X-NEWA End of Life mvallevand 39 15,604 2019-11-16, 02:30 AM
Last Post: jksmurf
  X-NEWA 2.5.4 & knew4v5 2.6.6 both "Die" when pressing Previous Chapter in LE BrettB 3 2,849 2019-06-15, 01:33 AM
Last Post: mvallevand
  X-NEWA 2.5.4 Release mvallevand 4 2,886 2019-03-11, 05:57 PM
Last Post: mvallevand
  X-NEWA Web Client Not Acting On Keypresses BrettB 4 3,033 2019-02-02, 02:05 AM
Last Post: mvallevand
  X-NEWA Web Client Crashing BrettB 2 2,274 2019-01-31, 08:50 PM
Last Post: mvallevand
  Unable to load NEWA data ChaosMageX 7 3,283 2018-12-29, 01:25 AM
Last Post: mvallevand
  X-NEWA support for selecting server BrettB 1 2,011 2018-12-28, 09:25 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode