dbgalur / dbgalur-hubitat

A Hubitat Driver for the Quirky Overflow water sensor
0 stars 1 forks source link

Problems with Overflow with latest Hubitat and Homekit App #1

Open earlthesquirrel opened 1 year ago

earlthesquirrel commented 1 year ago

I'm trying to find out if there are any outstanding updates to the driver.

See: https://community.hubitat.com/t/problem-with-quirky-overflow-driver-with-latest-homekit-add/117540 for my existing logs, but basically I'm getting a null pointer exception in the Hubitat log coming from the Overflow devices when they interact with the Homekit app (that's the best that I can debug it)

[dev:419](http://172.16.224.199/logs#)2023-04-10 07:18:54.364 PM[error](http://172.16.224.199/logs#)java.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse)
[dev:419](http://172.16.224.199/logs#)2023-04-10 07:18:53.376 PM[error](http://172.16.224.199/logs#)java.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse)
[dev:419](http://172.16.224.199/logs#)2023-04-10 07:18:52.911 PM[error](http://172.16.224.199/logs#)java.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse)
[dev:419](http://172.16.224.199/logs#)2023-04-10 07:18:51.875 PM[error](http://172.16.224.199/logs#)java.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse)
[sys:1](http://172.16.224.199/logs#)2023-04-10 07:18:51.134 PM[info](http://172.16.224.199/logs#)Zigbee Discovery Stopped
[dev:419](http://172.16.224.199/logs#)2023-04-10 07:18:50.805 PM[error](http://172.16.224.199/logs#)java.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse)
[dev:419](http://172.16.224.199/logs#)2023-04-10 07:18:50.395 PM[error](http://172.16.224.199/logs#)java.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse)
[sys:1](http://172.16.224.199/logs#)2023-04-10 07:18:50.247 PM[info](http://172.16.224.199/logs#)Created Zigbee Device Quirky Moisture Sensor
[sys:1](http://172.16.224.199/logs#)2023-04-10 07:18:48.798 PM[info](http://172.16.224.199/logs#)Initializing Zigbee Device 7CE5240000098FD5, 3AD7
[sys:1](http://172.16.224.199/logs#)2023-04-10 07:18:45.099 PM[info](http://172.16.224.199/logs#)Zigbee Discovery Running
dbgalur commented 1 year ago

I haven't made any changes to this driver since posting it.

On Thu, Apr 20, 2023, 12:49 earlthesquirrel @.***> wrote:

I'm trying to find out if there are any outstanding updates to the driver.

See: https://community.hubitat.com/t/problem-with-quirky-overflow-driver-with-latest-homekit-add/117540 for my existing logs, but basically I'm getting a null pointer exception in the Hubitat log coming from the Overflow devices when they interact with the Homekit app (that's the best that I can debug it)

dev:4192023-04-10 07:18:54.364 PMerrorjava.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse) dev:4192023-04-10 07:18:53.376 PMerrorjava.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse) dev:4192023-04-10 07:18:52.911 PMerrorjava.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse) dev:4192023-04-10 07:18:51.875 PMerrorjava.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse) sys:12023-04-10 07:18:51.134 PMinfoZigbee Discovery Stopped dev:4192023-04-10 07:18:50.805 PMerrorjava.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse) dev:4192023-04-10 07:18:50.395 PMerrorjava.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse) sys:12023-04-10 07:18:50.247 PMinfoCreated Zigbee Device Quirky Moisture Sensor sys:12023-04-10 07:18:48.798 PMinfoInitializing Zigbee Device 7CE5240000098FD5, 3AD7 sys:12023-04-10 07:18:45.099 PMinfoZigbee Discovery Running

— Reply to this email directly, view it on GitHub https://github.com/dbgalur/dbgalur-hubitat/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWLCKPZZ7GMSYPGDVYF2TTXCGHLFANCNFSM6AAAAAAXF6SVTY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

earlthesquirrel commented 1 year ago

So, do you still use it in the current Hubitat? Is anyone maintaining it?

dbgalur commented 1 year ago

I still use it. Anyone should feel free to maintain it :)

On Thu, Apr 20, 2023 at 2:48 PM earlthesquirrel @.***> wrote:

So, do you still use it in the current Hubitat? Is anyone maintaining it?

— Reply to this email directly, view it on GitHub https://github.com/dbgalur/dbgalur-hubitat/issues/1#issuecomment-1516985091, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWLCKJLEMDJ43QCGZWN3I3XCGVKDANCNFSM6AAAAAAXF6SVTY . You are receiving this because you commented.Message ID: @.***>

earlthesquirrel commented 1 year ago

Have you used it with the Homekit app?

earlthesquirrel commented 1 year ago

I've got an "test" C-7 hub to try to debug this stuff. I've onboarded one Overflow and then enabled the Homekit app. What the error I'm getting is : java.lang.NullPointerException: Cannot get property 'profileId' on null object on line 79 (method parse)

So, if I'm interpreting this correctly, it's the bold line below, which would be that the "cluster" object is null. I'm not a groovy expert, but reviewing the code, I don't see where the "cluster" is set.

private boolean shouldProcessMessage(descMap) { // 0x0B is default response indicating message got through // 0x07 is bind message boolean ignoredMessage = cluster.profileId != 0x0104 || cluster.command == 0x0B || cluster.command == 0x07 || (cluster.data.size() > 0 && cluster.data.first() == 0x3e) return !ignoredMessage }

earlthesquirrel commented 6 months ago

Any ideas?

I would love to get these working but I don't understand how the cluster object could be null. Any pointers on how I might be able to debug this? This is my first time working on a plugin like this....

earlthesquirrel commented 6 months ago

Also, are you running the latest Hubitat code on your devices? And are they C-7's or C-8's? (yes, it's been a bit since I originally posted this issue... but I've finally got some time to work on this project :-) )