Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: node.clearCallbacks is not a function" and "TypeError: Cannot read properties of null (reading 'registerBridgeNode')" #48

Open
lowtraxx opened this issue Jan 16, 2023 · 3 comments

Comments

@lowtraxx
Copy link

Hi,

I am getting the above errors and "bridge not connected". Calling the API via browser works and I am getting values back. I reset everything and restarted the Raspberry as well as the bridge and the Lock. No dice.

Thanks for your help

Bridge not connected

Node-Red Errors

@morlob
Copy link

morlob commented Jan 19, 2023

I have the same error. However, here a workaround. Type in your browser:

http://192.168.178.32:8080/callback/list&token=<your-token>

then you should get something like

{"callbacks": [{"id": 0, "url": "http://192.168.178.11:1880/nuki/"}]}

note 192.168.178.11:1880 is the IP of your node-red, it is only example here.

If you get something else, you have to add a "callback" first. Do

http://192.168.168.178.32:8080/callback/add?url=http%3A%2F%2F192.168.178.11:1880%2Fnuki%2F&token=<your-token>

Again 192.168.178.11:1880 is the IP of your node-red, it is only example here, replace it by your nor-red-IP.

Then try to set up a "HTTP-in" node

image

using

image

attach a debug node.

However, for more details check Nuki Bridge HTTP API

@lowtraxx
Copy link
Author

Thank you @martinorlob ! This helped me build my own widgets that do what I want. I'll leave this open anyway, maybe it gets fixed sometime :)

@sbernhard
Copy link

sbernhard commented Aug 26, 2024

Thank you @martinorlob ! This helped me build my own widgets that do what I want. I'll leave this open anyway, maybe it gets fixed sometime :)

I would expect that you just fix this @lowtraxx :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants