Bug in logging Iris Contact Sensor temperature?

I have a couple of Iris contact sensors paired to Hubitat, one brand new and one that I had been using for a long time with SmartThings. I just noticed that when the reported temperature hovers near 32F both of them report 1211 degrees. Granted, they are spec'd to operate 0-40C but I suspect something else may be going on here, possibly with the driver code handling the 0 degree C temperature value.

Reason I don't suspect the sensors is that I've been using several of these (motion and contact) outdoors for going on two years and they don't report strangely on ST, even down to -13F. I ran into a similar situation with an Ecolink device on SmartThings; anytime the temperature fell below 32F it started report impossible temperature readings; a DTH update fixed that.

This is a typical event log I'm seeing where temperatures approach 32F. I've reviewed pages of logs with temperatures > 32 and haven't seen any anomalous readings with those:

Temperature 34.58 Iris Contact Sensor H1 temperature is 34.58°F DEVICE 02/16/2018 2:08 PM
temperature 32.42 Iris Contact Sensor H1 temperature is 32.42°F DEVICE 02/16/2018 1:01 PM
temperature 32.78 Iris Contact Sensor H1 temperature is 32.78°F DEVICE 02/16/2018 10:54 AM
temperature 32.00 Iris Contact Sensor H1 temperature is 32.00°F DEVICE 02/16/2018 8:47 AM
temperature 1211.62 Iris Contact Sensor H1 temperature is 1211.62°F DEVICE 02/16/2018 7:17 AM
temperature 32.00 Iris Contact Sensor H1 temperature is 32.00°F DEVICE 02/16/2018 7:07 AM
temperature 1211.60 Iris Contact Sensor H1 temperature is 1211.60°F DEVICE 02/16/2018 6:37 AM
temperature 32.00 Iris Contact Sensor H1 temperature is 32.00°F DEVICE 02/16/2018 6:27 AM
temperature 1211.56 Iris Contact Sensor H1 temperature is 1211.56°F DEVICE 02/16/2018 6:07 AM
temperature 32.15 Iris Contact Sensor H1 temperature is 32.15°F DEVICE 02/16/2018 5:37 AM

I have one that has done that in ST and in Hubitat. Same sensor so I think it is more of an issue with the sensors than the code.

Im burning up in here
image

2 Likes

Was that sensor an Ecolink? Try updating the ST DTH.

None of my Iris sensors outdoors have ever shown that behavior with ST. I'm using five of them outside, going on the second winter and this one has been much colder. Almost always have temps below 32F, several times below 0 F; they always work fine. Here's what my outside sensors reported on Jan. 7th (all the exterior sensors are Iris contact or Iris motion, the one reporting -12 F is the one that now reports 1211 degrees in the refrigerator :flushed:):


Iris motion sensors on Hubitat show similar behavior; just put one in the freezer and this is what gets logged as it cools down:

temperature 1209.10 Iris Motion Sensor H1 is 1209.10°F DEVICE 02/16/2018 3:04 PM
temperature 36.90 Iris Motion Sensor H1 is 36.90°F DEVICE 02/16/2018 2:54 PM
temperature 44.05 Iris Motion Sensor H1 is 44.05°F DEVICE 02/16/2018 2:44 PM
temperature 50.47 Iris Motion Sensor H1 is 50.47°F DEVICE 02/16/2018 2:34 PM
temperature 55.95 Iris Motion Sensor H1 is 55.95°F DEVICE 02/16/2018 2:24 PM

Mine is an iris contact sensor. Judging by the temps the first thing I would have to if I was you is move where it’s warmer :slight_smile:

1 Like

Or wait till Tuesday… forecast calls for 65!

1 Like

I replaced the ‘Generic Zigbee Contact Sensor’ Hubitat driver with a suitably modified version of one that my ST setup uses; now temperatures below freezing are logged correctly, confirming that the Hubitat version (as well as the Generic Zigbee motion sensor driver) only display valid temperatures >= 32F . Problem has been logged with support.

Good catch, this was an artifact introduced in trying to prevent a few of these devices producing temps like -1000…

1 Like

do you have the driver you can share?

You can use the SmartSense Open/Closed sensor DTH; just change two instances of physicalgraph to hubitat.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.