Question: how to connect chromecast to wifi?
Answer: You can use the Google Home app > tap on your Chromecast icon > tap on the gear cog icon top right > WiFi (forget network) and set up your new network. Or just factory reset the device and set up for your new network.