Git Product home page Git Product logo

Comments (5)

sanjoyg avatar sanjoyg commented on June 25, 2024 2

There is no throttling in the code or the downstream library. The challenge I think is that all the functions are sync functions. I will start working on the async and then release which should hopefully fix this issue.

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 25, 2024 1

@slajob would you be kind enough to try the new branch async_calls to test if the integration is working. I would then merge it to the main branch. It switches to async calls to fix this issue

from dirigera_platform.

acces90 avatar acces90 commented on June 25, 2024 1

Waaaay better, difference like day and night! Thank you <3

from dirigera_platform.

slajob avatar slajob commented on June 25, 2024

Hey I reviewed it and it works better! Some video for comparison with similar setup like @acces90. I created group for kitchen main light and hood light and the differences are visible to the naked eye (And synchronous movie had to be trimmed due to big latency and video exceed allowed 10MB file 😅):

Synchronous:
https://github.com/sanjoyg/dirigera_platform/assets/33373409/f9699164-1104-4600-8bba-7969caf84da8

Asynchronous:
https://github.com/sanjoyg/dirigera_platform/assets/33373409/2e68698f-0a5d-427d-bb3a-ec147a70b2a9

I didn't noticed any errors in my HA logs, so @sanjoyg you can create a PR 🥳

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 25, 2024

@slajob thank you!

@acces90 do try the latest release

from dirigera_platform.

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.