I found that Kodi is able to do WOL for remote servers. Unfortunately when I enabled the feature, there was error message like “Unable to find MAC address of … serverX” (the text was not exactly this). The server was online, there is only 1 switch between Pi and the server (Windows 7 share). What is wrong or is there WOL AddOn or maybe I can enter the MAC address manually in some file?
I don’t know the answer here and I’ve never tried to actually get it going, but when I enable the option Kodi generates ~/.kodi/userdata/wakeonlan.xml
with the following contents…
<onaccesswakeup>
<netinittimeout>20</netinittimeout>
<netsettletime>500</netsettletime>
<wakeup>
<host>192.168.254.201</host>
<mac>D4:5D:63:B2:16:08</mac>
<pingport>0</pingport>
<pingmode>0</pingmode>
<timeout>300</timeout>
<waitonline>40</waitonline>
<waitonline2>40</waitonline2>
<waitservices>5</waitservices>
</wakeup>
<wakeup>
<host>KODIJOHNSBR</host>
<mac>B8:26:EB:14:A4:AB</mac>
<pingport>0</pingport>
<pingmode>0</pingmode>
<timeout>300</timeout>
<waitonline>40</waitonline>
<waitonline2>40</waitonline2>
<waitservices>5</waitservices>
</wakeup>
</onaccesswakeup>