Fibaro door sensors - error on open


(Brandon) #1

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.


#2

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.


#3

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.


Fibaro Door/Window sensor throwing exception since 08/23
(Gary D) #4

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


#5

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


(Gary D) #6

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


#7

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


(Gary D) #8

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

Thank you
Gary


(Ron S) #9

@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’


#10

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


(Ron S) #11

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