Git Product home page Git Product logo

Comments (6)

QuickSander avatar QuickSander commented on July 30, 2024

Hi,
This is mostly the server the plugin attempts to call is not responding. What is the target pos url you use? Do you mean you tried already to call that using wget?

from homebridge-http-curtain.

christiantschoerner avatar christiantschoerner commented on July 30, 2024

But the server is responding really fast, thats what i meant. https://puu.sh/I4wx3/3a5595437d.png ~92ms

from homebridge-http-curtain.

QuickSander avatar QuickSander commented on July 30, 2024

The url you test is a png. Try the real URL using wget. Maybe something is wrong in the URL. Please understand there is almost no special code in between making the request from HomeKit and making the HTTP request towards the server.

What is exactly your URL specified in the config for all requests?

Why is the URL you show not a local server? Also the https I have my doubts about.

from homebridge-http-curtain.

christiantschoerner avatar christiantschoerner commented on July 30, 2024

The url you test is a png. Try the real URL using wget. Maybe something is wrong in the URL. Please understand there is almost no special code in between making the request from HomeKit and making the HTTP request towards the server.

What is exactly your URL specified in the config for all requests?

Why is the URL you show not a local server? Also the https I have my doubts about.

It is not about the png. It is about the response time. Even if I give the plugin a localhost server to fetch just a file that outputs "100" I get the error that the plugin slows down homebridge even if the response time is < 1ms. It is not my server that is slow - I think it is your plugin. Thats my issue

from homebridge-http-curtain.

QuickSander avatar QuickSander commented on July 30, 2024

I understand your frustrations, but please allow me to help you by specifying the config including the URL's. I do not have the experience namely the plugin is slow. If it is slow, almost the only possible reason is because the call from your homebridge instance towards the remote server is slow.

Please understand there is no magic on that code. It is just receiving the HomeKit request and making the http request.
Do you use https? Does it eventually respond? What is your config?

Again, it is working fine on my side. Significantly less than 1ms response times from a local ESP8266 WiFi curtain device.

from homebridge-http-curtain.

QuickSander avatar QuickSander commented on July 30, 2024

No response for a while, closing issue.

from homebridge-http-curtain.

Related Issues (7)

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.