Giter Club home page Giter Club logo

Comments (4)

aholstenson avatar aholstenson commented on August 12, 2024

Thanks for the report! The device discovery used in miio --discover does not depend on the local developer connection on the gateway, it instead uses a broadcast to the port 54321 that devices respond to. It will scan every few minutes until you close it by pressing Ctrl+C.

I have a few questions that might help with figuring out why it doesn't work:

  • Are you running the latest release of the command line app?
  • What firmware version is your gateway running? You can find it in the Mi Home app on the same page where the Local Developer API is configured.
  • Do you have any special network configuration? Especially something that could block UDP broadcasts such as having the gateway on a separate IP-range?

from miio.

brunoshine avatar brunoshine commented on August 12, 2024

Hi,

about your questions:

Are you running the latest release of the command line app?
I believe so. I've installed the miio last night.
What firmware version is your gateway running? You can find it in the Mi Home app on the same page where the Local Developer API is configured.
I'm running the 1.4.1_146
Do you have any special network configuration? Especially something that could block UDP broadcasts such as having the gateway on a separate IP-range?
Don't think so.

Let me know if you need any more details.

Thanks.

from miio.

aholstenson avatar aholstenson commented on August 12, 2024

Thank you for the details. I'm not sure what is causing the broadcast that the discovery uses to fail for your setup. I have a few network related changes coming up so I'll investigate a bit when I'm making those changes.

from miio.

aholstenson avatar aholstenson commented on August 12, 2024

Closing this issue, moving all discovery issues into #92.

from miio.

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.