raman325 / pyvizio

Python client for Vizio SmartCast
MIT License
105 stars 29 forks source link

Can not discover Vizio TV #120

Open KidSquid1 opened 3 years ago

KidSquid1 commented 3 years ago

Hello -

Attempting to deploy on a Windows Server box that has Python installed and running.

When running the discover command

pyvizio --ip=0 discover Nothing is returned.....

I can ping the tv as shown below in the screen grab, any suggestions?

image

Thanks.

Squid

raman325 commented 3 years ago

Hi @KidSquid1 this is likely because mDNS is blocked on your LAN. Is there something in particular you are trying to achieve with discovery given that you already know the IP of the TV?

I just pushed a change that falls back to SSDP if mDNS discovery fails: https://github.com/vkorn/pyvizio/pull/122