Tolik
(Tolik)
March 8, 2016, 5:16pm
46
I wish there was a way to change the info for a devices.
I’m using a “Multipurpose” sensor as a temperature sensor. I do not care if its open/closed. I want to see the temperature information…
P.S. Does anyone know of a custom device type to allow this change?
Edit: Just found this post: i guess this can work but why can’t i just switch the info as i please without doing all this
@vseven , yes it is very possible. I do exactly that using a virtual device and a SmartApp to update it every time the temp changes. Here’s what it looks like in the app:
[image]
The device “Temp Kitchen Area” is a virtual device that will use the average of as many temperature sensors as you like,or just 1 sensor. In my case, I have 4 sensors in the kitchen area. I also do this for the kitchen frig in the image above. I also do this for roughly 16 other temperature-capable devices. It’s easy!
Here’s how to do this:
1.) In the IDE, create a custom temperature device type using my code from here: (make sure to Save and Publish for yourself)
https://raw.githubusercontent.com/constjs/SmartThings-Devices/master/virtual_temperature_tile.device.groovy
2.) Create a virtual device in t…
1 Like