[RELEASE] Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SaEt9000 Offline
Senior Member
Posts: 150
Joined: Mar 2014
Reputation: 0
Location: Germany
Post: #211
I hope You dont think, I start to spam here - but I can imagine that someone else is oming later here and is having the same problem.

I made now some tests with an older Version (SPMC 15).

Here ist works with my configuration above (port 445, 25 seconds waitForservice.

The port 3306 does not wake up the NAS -you can see in the spmc.log that there is no wakeup command in that way.

The other point is to use NO pathsubstituation in older versions - otherway you are getting erros and the start of older kodi or SPMC needs some minutes longer.

SaEt9000
find quote
t4_ravenbird Offline
Senior Member
Posts: 261
Joined: Mar 2012
Reputation: 10
Post: #212
(2016-01-10 12:56)SaEt9000 Wrote:  ..
Without the pathsubstituation I am getting over the full start time the kodi-sign on the screen - this I like much more. What can be the reason therefore?
..

This I guess is a little random, it has to do with the order of initializing various modules and in fact this can be version-dependent also ; it is not certain that a particular order stays the same over time.
It seems that some of the things you redirect by substitution is initialized before showing the kodi-splash, but I cannot say which it is. MySQL is luckily initialized later so visual feedback is therefore little better.

(2016-01-10 13:59)SaEt9000 Wrote:  ..
I made now some tests with an older Version (SPMC 15).
The port 3306 does not wake up the NAS
..
I think there may be some randomness here also. The issue which is now solved (Jarvis beta 5) was present here and then it could work sometimes and other times not (independent of ping-port setting)

In any case; good that it is now working for you!
(This post was last modified: 2016-01-10 14:37 by t4_ravenbird.)
find quote
SaEt9000 Offline
Senior Member
Posts: 150
Joined: Mar 2014
Reputation: 0
Location: Germany
Post: #213
Yes - so it is.

Thanks again for your support.
Do you have an advise how to configure now the other parameters in wakeonlan.xml ?

I mean especially this part:

<timeout>x</timeout>
<waitonline>y</waitonline>
<waitonline2>z</waitonline2>

If in understand it right - these are the Paramters,if the NAS is getting sleep, while kodi is running. this cann happen, if you are watching add-ons or live tv or using an other source.

the timeout is making only a WOL-Test - not a magic packet - right? So, why do i need this?
Both waitonline-parameters are for wake up the NAS again. - right? What would you suggest
Waitonline for the time is needed to come back from standby (harddisk is down) ? and waitonline2 for coming back in addition from deep standby?
What is happening between these both steps? Is kodi checking the availibility of the NAS?

Thank You

SaEt9000
find quote
t4_ravenbird Offline
Senior Member
Posts: 261
Joined: Mar 2012
Reputation: 10
Post: #214
I tried to describe the parameters and sequence in another post here ; http://forum.kodi.tv/showthread.php?tid=...pid2207391
Please see if that makes sense or you still are uncertain of something.

Quote:.. the timeout is making only a WOL-Test - not a magic packet - right? So, why do i need this?
A new ping-test is made after timeout expired. And if no response then new wakeup-sequence kicks in and wakes server again, so you definitely need it to wake up server on demand.

- for timeout I recommend to use same value as server's idle-timeout before entering sleep-mode
- for waitonline I recommend same as normal server-startup-time from standby until available
- waitonline2 is a 'safety' wait to prolong some more before gining up completely, make it for instance 30sec ..
find quote
Post Reply