You can factory reset a PlayStation 4 from your console's dashboard and via safe mode on your console.
You can reset a Google Chromecast to its factory settings if you're having issues with it or if you get a new wireless router ...