I have a group of Chromecast audio devices setup in my house. Is there a way for my phone to automatically start casting when I connect to the same WiFi network?

Ideally I want to be able to listen to music through my headphones on the commute home and when I arrive it switches automatically to the Chromecast audio devices.

Is this something that has been done before or shall I start coding?

  • Do you have root access? – Thomas Vos May 31 '16 at 10:35
  • Yes and i'm running CyanogenMod 13 if that's any help – 0x6C77 May 31 '16 at 10:40
  • It might be possible with Tasker. – Thomas Vos May 31 '16 at 10:49
  • Would it be possible with IF by IFTT? – GeorgeWL Jun 2 '16 at 15:02

Right, after some research it's certainly possible with Tasker combined with the (premium) Autocast app or AutoInput (beta feature of tasker.)

AutoInput + Tasker Method

(according to some, can sometimes be unresponsive, but it's free.)

Profile - State - Net - Wifi Connected - input your SSID Task 
Action - Launch App - (music app) 
Wait 5 seconds (to allow app to fully load)
AutoInput Action - Select cast button 
AutoInput Action - Select chromecast
AutoInput Action - Press play
  • Did this solve it @flabbyrabbit ? It's good practice to mark a solution or to comment that it didn't work for you. – GeorgeWL Jun 12 '16 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.