08-22-2019, 10:27 AM
When I’am on the road or in the office sometimes I need files that are at home on my Mac. It’s in 24/7 sleep mode and needs to be woken up remotly.
WOL does not work because all units are wirelessly connected.
But almost all modern Mac/PC can be woken up via BT (mouse/keyboard)
what is needed:
- A secured !! (VPN/SSH) connection from the mobile to your home network
- An app that can send ssh commands at your fingertip (I use the Android app 'Raspberry SSH Lite')
The command (right button on the screenshot) is:
Where <btmacdaddr> ist the BLUETOOTH!-Mac-Address of the PC/Mac.
L2ping is not a typical moode command but part of the Raspian OS and turns on the PC/Mac WITHOUT breaking the play for example of moode radio (importend for my wife at home :-)).
Problem, the BT-connection will be established by the Mac until next XMAS, so after && -> bt.sh disconnects the PC/Mac from Moode.
Works since weeks without any problems.
It seems that Moodeaudio is not only the absolut best audio distribution… have fun!
Regards Norbert
WOL does not work because all units are wirelessly connected.
But almost all modern Mac/PC can be woken up via BT (mouse/keyboard)
what is needed:
- A secured !! (VPN/SSH) connection from the mobile to your home network
- An app that can send ssh commands at your fingertip (I use the Android app 'Raspberry SSH Lite')
The command (right button on the screenshot) is:
Code:
sudo l2ping -c5 -t 2 <btmacdaddr> && sudo /var/www/command/bt.sh -D <btmacdaddr>
Where <btmacdaddr> ist the BLUETOOTH!-Mac-Address of the PC/Mac.
L2ping is not a typical moode command but part of the Raspian OS and turns on the PC/Mac WITHOUT breaking the play for example of moode radio (importend for my wife at home :-)).
Problem, the BT-connection will be established by the Mac until next XMAS, so after && -> bt.sh disconnects the PC/Mac from Moode.
Works since weeks without any problems.
It seems that Moodeaudio is not only the absolut best audio distribution… have fun!
Regards Norbert