Giter Club home page Giter Club logo

Comments (9)

kvj avatar kvj commented on September 27, 2024

oh, thanks for the report. sure, I will fix it

from hass_nuki_ng.

kvj avatar kvj commented on September 27, 2024

Please update to 0.2.1. The issue should be fixed

from hass_nuki_ng.

deam0n avatar deam0n commented on September 27, 2024

Thanks,

Now I get the error:

Bridge doesn't support HTTPS callbacks. Please make your Home Assistant accessible via HTTP.

Is this a limitation? I've the official Nuki integration working (I do not remember if I had to provide the callback), but My HA instance is only available via https.

from hass_nuki_ng.

kvj avatar kvj commented on September 27, 2024

If you have a hardware bridge (black cube) then yes, the bridge doesn't support HTTPS callbacks. No real-time status updates will be possible. The original Nuki integration doesn't use callbacks at all, only polling.

I was a bit confused by your original message, I've mentioned that the port is being used by something else. How that is possible, as Bridge has basically only one port open?

from hass_nuki_ng.

deam0n avatar deam0n commented on September 27, 2024

Indeed! (facepalm)
I guess I've just changed it as a security freak that I try to be. (never leave default ports, if you can change it)
Humm, now I'm battling myself on having HA on http (and support https via rpm) so I can use your amazing integration! heheh

from hass_nuki_ng.

kvj avatar kvj commented on September 27, 2024

Yeah, it's up to you.
You can quickly set up Nginx proxy, for example, and expose only hooks endpoints via HTTP

from hass_nuki_ng.

deam0n avatar deam0n commented on September 27, 2024

OK, I've changed my instance to be available over http..
but now I get the following error:

Failed to get list of devices from bridge: HTTPConnectionPool(host='http', port=80): Max retries exceeded with url: //192.168.178.22:9090/list?token=XXXXXXXXX (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffff603833a0>: Failed to establish a new connection: [Errno -3] Try again'))

no matter if I restart the bridge, or wait some time, I'll have this error

If I access 192.168.178.22:9090/list?token=XXXXXXXXX I do get the json device list

from hass_nuki_ng.

kvj avatar kvj commented on September 27, 2024

That looks strange. Please make sure you only enter 192.168.178.22:9090 as a field value, and not a full URL

from hass_nuki_ng.

deam0n avatar deam0n commented on September 27, 2024

indeed that fixed it!

Thanks a lot!

from hass_nuki_ng.

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.