Yes, it will work with the Xfinity cable box and your smart tv. Please note that the remote will not function any of the apps or smart features on the tv though.