The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Totally off topic: Turn on your Mac / PC at home remotely with moode BT commands
#1
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:


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


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Totally off topic: Turn on your Mac / PC at home remotely with moode BT commands - by Norbert - 08-22-2019, 10:27 AM

Forum Jump: