SUPERB!! IT works
I have attached google drive using GDriveFS
I have Installed WAKEONLAN tool
I have created a simple script WAKE.BAT (sorry, bad habit from NT commands):
if ls /mnt/gdrivefs/PI/PC1.txt 1> /dev/null 2>&1; then
mv /mnt/gdrivefs/PI/PC1.txt /mnt/gdrivefs/PI/WPC1.txt
echo "files do not exist"
and I set in crontab job to execute it every minute (may be I can swith to every 5 minutes)
*/1 * * * * /home/pi/Desktop/WAKE.bat
So if I put under G drive in PI folder file named PC1.txt, it will wake my local network pc, and rename the file to WPC1.txt
I know it is very simple, but working
As I do not have access to router and my IP is not public one, I guess this is the only way to go ..
(In fact it would be no problem to use this way as a terminal communication - if exist /PI/RUN.bat, execute it , output put to RESULT.txt and rename RUN.bat to DONE.bat... but wakeup is just enough for me )