Code Monkey home page Code Monkey logo

Comments (7)

sbidy avatar sbidy commented on August 15, 2024

The discovery works with UDP broadcast messages. It can be possible, that this type of messages are not allowed in your network.

from pywizlight.

srisham avatar srisham commented on August 15, 2024

Thanks for the response.
Let me check my network settings and try again.

from pywizlight.

WitherredAway avatar WitherredAway commented on August 15, 2024

Were you able to fix it? I'm facing the same issue and I'm not sure what to do

from pywizlight.

srisham avatar srisham commented on August 15, 2024

I still facing the issue. But I think it could be an issue with the light that I am using. And I found another way (kernel events) to identify wiz light in the network.

from pywizlight.

srisham avatar srisham commented on August 15, 2024

@WitherredAway,

I found the issue. I was testing with WSL & Virtual machine but it seems that it is unable to access Wifi Interface. So any device scanning or UDP broadcast failed to communicate with Bulb.
Tried with Linux Desktop and UDP broadcast worked.

root@sri-HP-Pavilion-g6-Notebook-PC:~# iw dev
phy#0
        Interface wlp2s0b1
                ifindex 3
                wdev 0x1
                addr e*********2
                ssid RouterMaskeed
                type managed
                channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
                txpower 19.00 dBm

root@sri-HP-Pavilion-g6-Notebook-PC:~# wizlight discover
Set the broadcast address: 192.168.1.255
Search for bulbs in 192.168.1.255 ...
{'ip_address': '192.168.1.152', 'mac_address': 'd**********d'}

from pywizlight.

WitherredAway avatar WitherredAway commented on August 15, 2024

Gotcha, thanks!

from pywizlight.

gitagogaming avatar gitagogaming commented on August 15, 2024

I am currently trying to connect with a windows 10 machine and auto discovery is not working..
When I put in the lights IP it works just fine.

I have not noticed any setting in my router specifying UDP communication so unsure if this is an issue on my side or not

from pywizlight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.