While this works (thank you!), if you have multiple SSID's like I do,
you need to make sure you connect your device running the app to the
same SSID your attempting to connect your Chromecast to. I tried for
over an hour to connect an old Chromecast ...