Sign in to Smart things on both your phone and your TV, then register your TV as a device on your phone. When you click on your TV in devices/Smart things on your phone it will give you all the options to cast to TV or cast to phone and more.
I've already tried everything . I can use my phone as a remote control but that's all. Both my phone and TV are connected to the same WiFi, turned tv on and off and phone, I can connect phone to laptop. Thanks anyway