Giter Club home page Giter Club logo

Comments (9)

alexdelprete avatar alexdelprete commented on September 27, 2024 1

good...it has problems, but v1 is a total disaster. ;)

from hass_nuki_ng.

badewanne1234 avatar badewanne1234 commented on September 27, 2024

Same/similar here, it throws a HTTP-400 error though. The lock does not report the status reliable, i.e. it does not update the status in all cases - I have a phyiscal bridge and a Nuki 2.0 lock.

Logger: custom_components.nuki_ng.nuki
Source: custom_components/nuki_ng/nuki.py:40
Integration: Nuki Lock (documentation, issues)
First occurred: 23. November 2021, 18:05:40 (422 occurrences)
Last logged: 07:19:00
Failed to update callback https://******/api/webhook/nuki_ng_bridge_hook_***

Traceback (most recent call last):
  File "/config/custom_components/nuki_ng/nuki.py", line 203, in _update
    callbacks_list = await self.api.bridge_check_callback(self.bridge_hook)
  File "/config/custom_components/nuki_ng/nuki.py", line 111, in bridge_check_callback
    result = await self.async_json(
  File "/config/custom_components/nuki_ng/nuki.py", line 40, in async_json
    raise ConnectionError(f"Http response: {response.status_code}")
ConnectionError: Http response: 400

from hass_nuki_ng.

kvj avatar kvj commented on September 27, 2024

@chpego

i've several errors

Does the integration work in general or not? In other words, are all updates failing or only some? Because I also get 503s from time to time, as bridge itself isn't very stable

@badewanne1234

Failed to update callback https://***/api/webhook/nuki_ng_bridge_hook_

The bridge (not integration) doesn't support HTTPS. So you're in the polling only mode

from hass_nuki_ng.

chpego avatar chpego commented on September 27, 2024

@chpego

i've several errors

Does the integration work in general or not? In other words, are all updates failing or only some? Because I also get 503s from time to time, as bridge itself isn't very stable

Yes, it's works, but 197 occurrences of code 503 seems to be many times

from hass_nuki_ng.

alexdelprete avatar alexdelprete commented on September 27, 2024

Yes, it's works, but 197 occurrences of code 503 seems to be many times

The bridge is a bad piece of hw, it only supports one connection at a time, it doesn't support HTTPS, but if it happens so often, it probably means you are using more than one app/component that is communicating with the bridge (the official app, web int., other components, automations, etc.). If too many requests are received, it throws error 503 and only serves one at a time.

It's a very well known issue with Nuki, their forums are full of these issues...

Personally, since I've made Nuki Card integration, and now with Konstantin's custom component, I uninstalled all Nuki apps and not using anything else to manage, and I rarely have 503 errors.

from hass_nuki_ng.

badewanne1234 avatar badewanne1234 commented on September 27, 2024

Failed to update callback https://_/api/webhook/nuki_ng_bridge_hook_*_

The bridge (not integration) doesn't support HTTPS. So you're in the polling only mode

Oh, bugger - I have NGINX in place but forgot to configure Nuki for HTTP - I reconfigured it, now the 400 errors are gone - now I just got a warning with two occurencies of an unregistered webhook. Assuming this can be ignored?

from hass_nuki_ng.

chpego avatar chpego commented on September 27, 2024

Yes, it's works, but 197 occurrences of code 503 seems to be many times

The bridge is a bad piece of hw, it only supports one connection at a time, it doesn't support HTTPS, but if it happens so often, it probably means you are using more than one app/component that is communicating with the bridge (the official app, web int., other components, automations, etc.). If too many requests are received, it throws error 503 and only serves one at a time.

It's a very well known issue with Nuki, their forums are full of these issues...

Personally, since I've made Nuki Card integration, and now with Konstantin's custom component, I uninstalled all Nuki apps and not using anything else to manage, and I rarely have 503 errors.

ok, i just deactivated the official version component in HA i was using and see if i have this error code less

from hass_nuki_ng.

alexdelprete avatar alexdelprete commented on September 27, 2024

ok, i just deactivated the official version i was using and see if i have this error code less

do you have a v1 or v2 bridge? hope it's not the v1...

from hass_nuki_ng.

chpego avatar chpego commented on September 27, 2024

ok, i just deactivated the official version i was using and see if i have this error code less

do you have a v1 or v2 bridge? hope it's not the v1...

Yep, v2 bridge :)

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.