therivenman / pygop

A python module to interface with the GOP service from Greenwave Reality.
15 stars 9 forks source link

Unable to run gopcli.py -p #26

Open sebastienvg opened 9 years ago

sebastienvg commented 9 years ago

Whatever I try ./gopcli.py -p or python gopcli.py -p the script returns

Couldn't detect gateway on the network.

Of course I pressed the button and proceed while the green light is flashing. Also note that I am able to use other scripts to control the lights so I don't think there's a connectivity issue. Is there a way to set the gateway you want to use?

Materdaddy commented 9 years ago

Do you have more than one gateway? Can you use wireshark or tcpdump to capture traffic to see what's going on?

therivenman commented 8 years ago

Did you ever find a solution to this problem? The library uses SSDP to try to discover the address of the gateway on your home network. The library was not written to detect more then one gateway on a network.