MAFFPT / Hubitat

Hubitat apps, drivers and forked repos
2 stars 0 forks source link

Not pairing #2

Closed tonypartridge closed 1 year ago

tonypartridge commented 1 year ago

Thanks for your work on this, I've tried to pair my bridge. It comes up and all looks good, you press to pair and the bridge lights up but then we press the button and get an error. Which is valid that strToLower cannot run on null, but why is it null is the question... any help much appreciated.

Screenshot 2022-12-13 at 07 34 26
tonypartridge commented 1 year ago

Looks to be an isssue with hubitat's getMACFromIP

https://community.hubitat.com/t/getmacfromip-stopped-working-for-host-names-but-still-works-for-ip-addresses/106289/2

I'll try and hard code this for me to allow me to add the device atleast.

MAFFPT commented 1 year ago

I just released an update to the Integration app - no longer using the bridge's MAC address as it's DNI (Device Network Identification).

tonypartridge commented 1 year ago

Thanks but that doesn't seem to have resolved it. Now getting:

java.lang.NullPointerException: Cannot invoke method toLowerCase() on null object on line 714 (method addedBridgesPage)

MAFFPT commented 1 year ago

Corrected the problem. If you are using HPM, do a REPAIR on the Integration. If not, copy the file "Nuki Smart Lock 2.0 Integration.groovy" from GitHub to the HE. Run it again. I'm sorry for the trouble!

tonypartridge commented 1 year ago

Great stuff! all good now, no need to be sorry at all :-)