Hi Alex, I’m using this guide to integrate Nuki
When I give the command curl -X GET -H "Content-Type: application/json" 'http://your_nuki_bridge_IP:8080/callback/add?token=your_NUKI_API_token&url=http://your_HA_IP:8123/api/webhook/your_long-term_webhook_id' I get this message {"success": false, "message": "too many callbacks registered"}.
How can I solve? Thank you
I think you registered too many callbacks - and you only need 1 per HA/integration (I have 2 callbacks for two independent HA systems).
Use this to list all the ones you have: curl -X GET -H "Content-Type: application/json" 'http://your_nuki_bridge_IP:8080/callback/list?token=your_NUKI_API_token'
And then delete any extra you have with this command - replace number after ID with one you want to delete:
Thank you for the info. I just realized that there are two hardware releases of the Nuki bridge and I unfortunately have the older 1.x version. I’ll replace the bridge and then the problem should be solved
You are not providing any valuable information that can help us understand what you’re doing wrong.
If you follow the guide step-by-step, it works like it has for everybody. So you’re either missing some steps or doing wrongly one of the steps. All the sensors are populated by the REST sensors and the callback. If they’re not configured correctly you will see no sensors with a real status.
Show us the all the config files so we can check if you’ve done what the guide says.
The opening/closing states are not triggered by the callback, the bridge doesn’t send them, so the answer is no. And if you think about it, it makes sense: when you start the lock action, from unlocked to lock only 2-3 seconds pass, and you would never see those intermediate states.
Here is what I entered in HA (copy / paste of the various files) https://pastebin.com/Ac7fPrcT
Additional information, I did the integration for the first time and it worked perfectly, then I wanted to create a package and it didn’t work (due to the problem of templates not being packaged), since I put everything back into 4 separate files started not working.
Thanks for your help
From a first look I don’t see blocking errors. So either you are not pasting everything in the right places, or you have a mix of things, and leftovers from the previous working installation.
Also, did you check HA logs when you restart? Do you find anything that can help us understand your specific issue?
What I can recommend is:
delete all modifications in all files, double check that there are no leftovers
restart HA and check there’s no errors in the logs related to this integration (sensors, etc.)
check HA entities list and make sure there are no sensors disabled or strange state related to this integration
delete all callbacks created from the bridge and double check it’s empty with list command
once you are sure you are in a clean state, take a break, get a coffee and breath fresh air.
sit down at the computer, relax your mind, and follow the guide, step by step, after each step double-check
then double-check all files changed, just to make sure everything’s in there
Thanks, I try to do as you told me (although I should already have done it this morning). Do you recommend that I also cancel the Nuki integration?
OT the thing that makes me laugh is that we write to each other in English and we are Italian
As you want, it’s not needed for this integration. The two can coexist, but once you have this working there’s no reason to keep that one.
It’s a matter of respect for other users, and btw: writing in english allows you to benefit from the help of other non-italian people, the vast majority in this board. I’m not always present and many kind friends here have followed the developement of it since the beginning, so they can provide great support.
Alexdelprete, do you have a final list of steps for your work? I have made a similar request to Bearded Tinker who first alerted me to your work. Many thanks.