LS50 Wireless II & Home Automation

Great – thanks! I finally got around to toying with pykefcontrol. One the few pet peeves I have with the LS50WII is that they don’t autoswitch to the TV source when the TV is turned on while music is playing.

I now made a small script with pykefcontrol that switches the LS50WII to the TV source – and an iOS Shortcut that:

  • Calls the script (on a Linux box over SSH)
  • Sets the volume
  • Wakes up the Apple TV (which in turn wakes the TV)
  • Opens the iPhone Apple TV controller with the correct ATV selected

All with one button on my iPhone’s homescreen. Niceness!