• 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 38
Automatic WakeOnLan upon accessing MySql or FileShares
Yes, quite possibly it would work. In fact that is pretty close to what the PR does
Reply
(2012-03-01, 15:11)t4_ravenbird Wrote: Description (updated)

Feature is enabled under "system/settings/system/power saving/try to wake remote servers on access"

When feature gets enabled or shares gets added an autoscan will be done for any servers specified, either in shares or in MySQL settings.
The autoscan will if necessary create a file called 'wakeonlan.xml' and will add entries for these servers including macaddress which should be picked up in the scan.

Sample 'wakeonlan.xml'
Code:
<onaccesswakeup>
    <netinittimeout>60</netinittimeout>
    <netsettletime>500</netsettletime>
    <wakeup>
        <host>10.0.0.6</host>
        <mac>11:11:F2:11:DF:1E</mac>
        <pingport>3306</pingport>
        <pingmode>1</pingmode>
        <timeout>600</timeout>
        <waitonline>38</waitonline>
        <waitonline2>40</waitonline2>
        <waitservices>0</waitservices>
    </wakeup>
</onaccesswakeup>

where does it create the file? How can we check it? It's not working to me...

Thanks
Reply
In the userdata folder , here ; http://wiki.xbmc.org/?title=Userdata

Also, if you have issues, try to investigate the log file ,here ; http://wiki.xbmc.org/?title=Log_file
Reply
My Raspberry Pi with Openelec seems to wake my Server even without any input by a user. The Pi is allways on and in Main Menue. The "Wake Remote Server" Option is enabled. Is there any DB access without User Input in Main Menue? In my case its every Hour

Code:
23:04:20 198099.796875 T:2567959632  NOTICE: WakeOnAccess [192.168.1.50] trigged by accessing : MySQL : MyVideos77
23:04:20 198099.921875 T:2567959632  NOTICE: WakeOnAccess success exit, server already running
23:09:46 198426.140625 T:2567959632  NOTICE: Thread JobWorker start, auto delete: true
00:04:20 201700.140625 T:2567959632  NOTICE: Previous line repeats 1 times.
00:04:20 201700.140625 T:2567959632  NOTICE: WakeOnAccess [192.168.1.50] trigged by accessing : MySQL : MyVideos77
00:04:20 201700.265625 T:2567959632  NOTICE: WakeOnAccess success exit, server already running
00:09:46 202026.156250 T:2567959632  NOTICE: Thread JobWorker start, auto delete: true
01:04:20 205300.453125 T:2567959632  NOTICE: Previous line repeats 1 times.
01:04:20 205300.453125 T:2567959632  NOTICE: WakeOnAccess [192.168.1.50] trigged by accessing : MySQL : MyVideos77
01:04:20 205300.578125 T:2567959632  NOTICE: WakeOnAccess success exit, server already running
01:09:46 205626.171875 T:2567959632  NOTICE: Thread JobWorker start, auto delete: true
02:04:21 208900.796875 T:2567959632  NOTICE: Previous line repeats 1 times.
02:04:21 208900.796875 T:2567959632  NOTICE: WakeOnAccess [192.168.1.50] trigged by accessing : MySQL : MyVideos77
02:04:21 208900.906250 T:2567959632  NOTICE: WakeOnAccess success exit, server already running
02:09:46 209226.187500 T:2567959632  NOTICE: Thread JobWorker start, auto delete: true
03:04:21 212501.109375 T:2567959632  NOTICE: Previous line repeats 1 times.
03:04:21 212501.109375 T:2567959632  NOTICE: WakeOnAccess [192.168.1.50] trigged by accessing : MySQL : MyVideos77
03:04:21 212501.234375 T:2567959632  NOTICE: WakeOnAccess success exit, server already running
03:09:46 212826.187500 T:2567959632  NOTICE: Thread JobWorker start, auto delete: true
04:04:21 216101.406250 T:2567959632  NOTICE: Previous line repeats 1 times.
04:04:21 216101.406250 T:2567959632  NOTICE: WakeOnAccess [192.168.1.50] trigged by accessing : MySQL : MyVideos77
04:04:21 216101.531250 T:2567959632  NOTICE: WakeOnAccess success exit, server already running
ASRock Beebox J3160 4GB RAM 120GB SATA SSD - Harmony Elite BT
Intel NUC Kit DN2820FYKH 4GB RAM 120GB SATA SSD - Harmony Smart Control BT
all @ Libreelec Testbuild
HP N54L @ Ubuntu 14.04.4 Minimal Server / MySQL DB
HP N40L @ Ubuntu 14.04.4 Minimal Server
Reply
(2014-02-01, 09:14)t4_ravenbird Wrote: In the userdata folder , here ; http://wiki.xbmc.org/?title=Userdata

Also, if you have issues, try to investigate the log file ,here ; http://wiki.xbmc.org/?title=Log_file

in the root of userdata? I cant find any file...
Reply
File should get created after successful 'mac-discovery' that runs when you enable the setting. If no file has been made then check log, please.

@John.cord - Something runs once every hour that accesses your MySQL server. Probably an add-on, which do you have?
Reply
How does this work to wake the computer? Any port? With the Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server it works fine, but your way dont do a thing.

Maybe different implementation?

Thanks
Reply
(2014-02-01, 17:05)t4_ravenbird Wrote: @John.cord - Something runs once every hour that accesses your MySQL server. Probably an add-on, which do you have?

The problem is occuring since i switched to Aeon Nox 5. I asked in the related thread about what feature of Nox 5 causes the video DB access.
ASRock Beebox J3160 4GB RAM 120GB SATA SSD - Harmony Elite BT
Intel NUC Kit DN2820FYKH 4GB RAM 120GB SATA SSD - Harmony Smart Control BT
all @ Libreelec Testbuild
HP N54L @ Ubuntu 14.04.4 Minimal Server / MySQL DB
HP N40L @ Ubuntu 14.04.4 Minimal Server
Reply
i figure how to work. I just have a doubt. When i play a movie, it will wake the server, but it wont open. I have to press again and then works. Is there a way for the first time to say to movie wait x time until he starts to play?

One request for future. A visual indication on the front GUI if a server is on or off. Like a green or red small light. It could ping the server for instance for 5 to 5 minutes.
Reply
(2014-02-01, 17:37)tfouto Wrote: How does this work to wake the computer? Any port? With the Advanced Wake On Lan (WOL) Addon - Wake up a remote computer/server it works fine, but your way dont do a thing.

Maybe different implementation?

Thanks

Both implementations in the end use the same (XBMC builtin) function to transmit the wakeup-request but setup and triggering mechanism is different.
In the AWOL addon I believe you need to enter details about your servers - the ip-address + the mac-address.
WOA on the other hand will (when you enable it) auto-add server-ip-addresses from scanning 'sources' and MySQL setting that exist in the installation. After building the list of servers it will attempt to auto-detect mac-address by using some network-mechanisms. Resulting information is stored in the .xml-file. This can fail and then woa will 1) show a little info-box in lower right corner and 2) write some stuff to the logfile.
Please post the logfile

(2014-02-01, 18:02)tfouto Wrote: i figure how to work. I just have a doubt. When i play a movie, it will wake the server, but it wont open. I have to press again and then works. Is there a way for the first time to say to movie wait x time until he starts to play?

One request for future. A visual indication on the front GUI if a server is on or off. Like a green or red small light. It could ping the server for instance for 5 to 5 minutes.

OK, good.
"Wait x time .." is covered in the settings described in the wiki and that you posted in your first post. The 3 last entries are various 'wait timeouts' that control behavior and they are briefly described in the wiki.
Reply
anyone else noticed xbmc crashes and restarts when it has sent a wol in recent gothams or is it just me? (xbmcbuntu)
Reply
@bilbonvidia
Yes, had it for a while on several setups, but been unable to get a debug log since I never have it enabled when it happens.
Will try to get a debug log and report it in the support forum.
Reply
(2014-02-01, 13:15)john.cord Wrote: My Raspberry Pi with Openelec seems to wake my Server even without any input by a user. The Pi is allways on and in Main Menue. The "Wake Remote Server" Option is enabled. Is there any DB access without User Input in Main Menue? In my case its every Hour
Well this happens on my ATVs as well.
I always have to leave XBMC otherwise it hold my server up an running.
For now I am searching for ideas to start xbmc on my atv without involving any screen menues.
If xbmc wouldn't wake up my server when not in use, it would of course be much better.
Reply
(2014-02-01, 17:53)john.cord Wrote: ... The problem is occuring since i switched to Aeon Nox 5....


something (skin or addon) is probably doing MySQL access

logfile please
Reply
fyi - moved the thread into general support as its no new feature request anymore, but a support thread for that feature.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
  • 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 38

Logout Mark Read Team Forum Stats Members Help
Automatic WakeOnLan upon accessing MySql or FileShares4