Fibaro door sensors - error on open

I’m no longer getting “door open” messages… This is what I see in the IDE log

531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:43 PM EST: debug Parse returned [[name:battery, value:88, unit:%, displayed:false, isStateChange:false, linkText:Sliding Door, descriptionText:Sliding Door battery is 88%], 8002]
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:43 PM EST: debug Parse returned [8002]
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:43 PM EST: warn Exception ‘java.lang.NullPointerException: Cannot invoke method command() on null object’ encountered parsing 'cmd: 5601, payload: 30 03 00 CF 3B’
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:34 PM EST: debug Parse returned [8002]
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:34 PM EST: warn Exception ‘java.lang.NullPointerException: Cannot invoke method command() on null object’ encountered parsing 'cmd: 5601, payload: 30 03 FF D1 CB’
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:04 PM EST: debug Parse returned [[name:battery, value:88, unit:%, displayed:false, isStateChange:false, linkText:Sliding Door, descriptionText:Sliding Door battery is 88%], 8002]
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:03 PM EST: debug Parse returned [8002]
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:03 PM EST: warn Exception ‘java.lang.NullPointerException: Cannot invoke method command() on null object’ encountered parsing 'cmd: 5601, payload: 30 03 00 CF 3B’
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:02 PM EST: debug Parse returned [8002]
531fbdad-3f27-4c74-9e39-0272f1a0fdf5 8:42:02 PM EST: warn Exception ‘java.lang.NullPointerException: Cannot invoke method command() on null object’ encountered parsing 'cmd: 5601, payload: 30 03 FF D1 CB’

I’m using the built in device type, nothing custom. The error messages are when the contact is opened.

I’ve passed this question around. It’s after hours here in SmartThingsVille but I’ll do my best to follow up later tonight and in the morning.

Hey all!

This is fixed. The issue was related to the way that the Fibaro Door/Window sensor sends events. In certain circumstances the device would send events in a different format and the Device Type wasn’t handling that gracefully.

CRC16 encapsulated? I should be getting one of these tomorrow night, so I’ll be having fun with the device type…

Sounds right. @duncan worked on it so he may have the technical details.

Any chance that the device type code can be published as a template in the IDE? I’ve noticed that none of the fibaro types are showing up there…

Thanks
Gary

Can you take another look? They should be published now.

Ah! They must have snuck in between last night and this afternoon. :wink:

Thank you
Gary

@tyler @duncan Looks like this has resurfaced. Since Sunday afternoon, Live logging shows the following exception for the Fibaro Door/Window sensor and events are not getting processed. This is the stock device handler from ST and not custom device type. Opened a ticket.

75952d24-6978-4a18-a496-2fd1dbe63a22 10:00:39 AM: debug Parse returned [8002]
75952d24-6978-4a18-a496-2fd1dbe63a22 10:00:39 AM: warn Exception ‘java.lang.NullPointerException: Cannot invoke method command() on null object’ encountered parsing ‘cmd: 5601, payload: 80 03 3C C6 1B’
75952d24-6978-4a18-a496-2fd1dbe63a22 10:00:39 AM: debug Parse returned [8002]
75952d24-6978-4a18-a496-2fd1dbe63a22 10:00:39 AM: warn Exception ‘java.lang.NullPointerException: Cannot invoke method command() on null object’ encountered parsing ‘cmd: 5601, payload: 84 07 CC 39’

I’m not able to replicate on my end. Support is the go-to place to help you with issues like this.

I have opened a ticket with them. Let’s see! Thanks, buddy!