Iris gen 2 contact temp

@KevinH is correct, before the release of the v2 hub you could choose which tile value you wanted to display in the Things list and unfortunately that went away.

Now this said, through code you can accomplish what you are asking. You will need to create your own device handler to accomplish this and its a matter of setting which tile you want to use as “main”. The downside by creating your own device handler is that it will no longer run locally so if you have any locally running Smart Lighting rules that leverage this sensor, they will no longer run locally.

I used the following steps to change one of my Iris contact sensors to show the temperature in the things list:

  1. Login to the IDE and click My Device Handlers.
  2. Click Create New Device Handler in the upper right corner
  3. Click From Template at the top
  4. Scroll till you find SmartSense Open/Closed Sensor in the left list and click it.
  5. Scroll back up to the top and confirm the right says “SmartSense Open/Closed Sensor by SmartThings” and if so click the Create button.
  6. Change the name attribute in the metadata definition section to something like “Iris Contact Temp Sensor” so you can distinguish it from the stock device type.
  7. Scroll down until to the bottom of the metadata section just above the parse function. You will find the folllowing:
    main ([“contact”, “temperature”])
  8. Change that to main ([“temperature”, “contact”]) which makes temperature the default one to show.
  9. Click Save and then Publish at the top. You will get a confirmation message that your device handler was published.
  10. Click My Devices at the top of the IDE.
  11. Find the device that you want to change and click its Display Name to edit it.
  12. Scroll to the bottom and click Edit.
  13. Change the Type attribute from SmartSense Open/Closed Sensor to whatever you named the device handler in step 6 above. Its worth noting that all custom device handlers that you create are at the very bottom of the list.
  14. Click Update
  15. Now pull up the SmartThings application and enjoy seeing the temperature instead of the contact status in the list.
1 Like