Git Product home page Git Product logo

Comments (8)

pawelka avatar pawelka commented on July 28, 2024

If I understand zigate commands correctly this is because command was send too fast. TestGUI works because of manual delays.

"4 = Busy (Node is carrying out a Lengthy operation and is Currently Unable to handle the incoming command)" - it's a description for 8000, but there is a chance that applies for network join too.

from zigate.

doudz avatar doudz commented on July 28, 2024

Yes you're right that's the same status code
I have to handle this case
is it happening everytimes ?

from zigate.

pawelka avatar pawelka commented on July 28, 2024

Everytime :-/

I added (after learing python basics) 3s delay in your lib before start network and this change didn’t help :-/

from zigate.

doudz avatar doudz commented on July 28, 2024

Did you add time.sleep(3) just before start_network() at line 248 ?

...
        self.set_type(TYPE_COORDINATOR)
        LOGGER.debug('Check network state')
        time.sleep(3)
        self.start_network()
        network_state = self.get_network_state()
...

from zigate.

pawelka avatar pawelka commented on July 28, 2024

Yes, this was my change.

from zigate.

doudz avatar doudz commented on July 28, 2024

Ok I'll handle it
I think it's related to fairecasoimeme/ZiGate#15

I think there's no problem, the busy status probably just indicate that the network is already started.
In previous firmware, this command just not answer.

from zigate.

doudz avatar doudz commented on July 28, 2024

Should be fixed in 0.21.2

from zigate.

pawelka avatar pawelka commented on July 28, 2024

Works, thank you.

from zigate.

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.