ebaauw / homebridge-nb

Homebridge plugin for Nuki Bridge
Apache License 2.0
50 stars 3 forks source link

Cannot read property 'ringactionState' of undefined #19

Closed michije closed 3 years ago

michije commented 3 years ago

After getting a replacement opener from Nuki, the new opener seems to throw an exception: "Nuki_Bridge_XXXXX: warning: heartbeat error: TypeError: Cannot read property 'ringactionState' of undefined" I already enabled debug- and web mode on the opener, updated node.js, renewed the subscription and re-installed the whole plugin. However, the issue persists. Newest firmwares are also installed. Any help would be appreciated!

ebaauw commented 3 years ago

Sorry for this, but some stupid questions first:

If the problem persists, please turn on DEBUG mode in Homebridge, set the Log Level on the Nuki bridge accessory to 2 (using Eve or another HomeKit app), and capture and attach the Homebridge log file.

michije commented 3 years ago

Hi, Thank you for the quick reply. I found the issue accidently by looking at the eve app. It looks like the bridge still thought the old opener exists, even though I deleted it properly. After removing again from the bridge and then power cycling everything, the old opener was gone and with it the error.