Difference between revisions of "Device Tiles"
(→Thermostat Status Tiles) |
(→Door Lock Status Tiles Piston) |
||
Line 79: | Line 79: | ||
== Door Lock Status Tiles Piston == | == Door Lock Status Tiles Piston == | ||
− | + | These tiles will monitor any Door Locks setup and display that status (Locked or Unlocked) | |
+ | |||
+ | '''Import Code:''' | ||
+ | |||
+ | <code>kzug</code> | ||
+ | |||
+ | '''Example of what it looks like on the Dashboard:''' | ||
[[File:Door Lock Status Tiles Example.png]] | [[File:Door Lock Status Tiles Example.png]] | ||
+ | |||
+ | '''Before importing this one, read the instructions below:''' | ||
+ | |||
+ | * There’s a 16 device limit per piston so only use 16 devices max per piston. If you have more than 16 devices, create multiple pistons to get around the 16 device limit. | ||
+ | * Under the variables section on the top, update the device variable called '''DoorLocks''' with the Door Locks you want to monitor. | ||
+ | * Under the variables section on the top, update the string variable called '''DoorLockNames''' with the names that you want to display on the tile. This is helpful if you use a longer name for the device but the name is not fitting in the tile. You have to put a comma in-between each device with no space separating the devices (Ex: Device 1,Device 2). This is required to set up or the names will not display correctly. | ||
+ | * Clicking the tile will toggle (lock or unlock) the door lock. If you want to open the tile make sure you hold down CTRL + mouse click to open the tile instead of toggling the door lock. | ||
+ | * The tiles will update either once there's an event or after first 10 minutes of the piston being created. If there's no event, it'll display "No Event Yet" instead of a time stamp in the footer. I fixed it so it will display on the 10 minute timer but this 10 minute timer can always be updated if needed as well on the UpdateInterval variable. | ||
+ | * The Timestamps on the footer default to US format. If you want 24-hour timestamps, update the 24Hour variable to true. For DD/MM date format, change the DDMMDateFormat variable to true. It'll work fine if you mix or enable both as well. | ||
+ | |||
+ | [[File:Door Lock Device Tiles Piston.png|500px]] | ||
== Door Status Tiles == | == Door Status Tiles == |
Revision as of 19:15, 17 January 2018
This page contains a list of piston tile examples that will monitor your devices connected to the Smartthings platform called Device Tiles. Please post on the Device Status Tiles page within the Community site if you want to add anything on this page, have any problems or any suggestions when using these pistons below.
It's highly recommended to create another instance of webCoRE just for the device tiles listed below since it’ll split up the memory usage within webCoRE and increase performance. Instructions on how to create multiple instances of webCoRE is located here: Multiple Instances
Contents
- 1 Presence Sensor Status Tiles
- 2 Room Occupancy Status Tiles
- 3 Thermostat Status Tiles
- 4 Door Lock Status Tiles Piston
- 5 Door Status Tiles
- 6 Doorbell Status Tiles
- 7 Window Status Tiles
- 8 Light Bulb Status Tiles
- 9 Light Switch Status Tiles
- 10 Power Switch Status Tiles
- 11 Motion Sensor Status Tiles
- 12 Temperature\Humidity Status Tiles
- 13 Battery Status Tiles
- 14 Light Sensor Status Tiles
- 15 Water Leak Sensor Status Tiles
- 16 Smoke/CO Detector Status Tiles
- 17 Sleep Sensor Status Tiles
Presence Sensor Status Tiles
These tiles will monitor any Presence sensors you use along with displaying your location or closest location if away from home when using the webCoRE Presence Sensor. Another version of the Presence Sensor Status Tiles is also located on the Samples Page.
Import Code:
tymkb
Example of what it looks like on the Dashboard:
Before importing this one, read the instructions below:
- There’s a 16 device limit per piston so only use 16 devices max per piston. If you have more than 16 devices, create multiple pistons to get around the 16 device limit.
- Under the variables section on the top, update the device variable called PresenceDevices with the Presence Devices you want to monitor.
- Under the variables section on the top, update the string variable called PresenceDeviceNames with the Presence Devices that you want to display on the tile. This is helpful if you use a longer name for the device but the name is not fitting in the tile. You must put a comma in-between each device with no space separating the devices (Ex: Presence Device 1, Presence Device 2). This is required to setup or the names will not display correctly.
- The tiles will update either once there's an event or after first 8 minutes of the piston being created. If there's no event, it'll display "No Event Yet" instead of a time stamp in the footer. I fixed it so it will display on the 8 minute timer but this 8 minute timer can always be updated if needed as well on the UpdateInterval variable.
- The Timestamps on the footer default to US format. If you want 24-hour timestamps, update the 24Hour variable to true. For DD/MM date format, change the DDMMDateFormat variable to true. It'll work fine if you mix or enable both as well.
- How the tiles are displayed and what colors are used can be modified in the variables section, read the instructions already noted above each variable. You can use Font Awesome or Emojis for images in the tiles to change how they are displayed or change the color schemes to your liking.
Room Occupancy Status Tiles
This piston is designed for the Rooms Manager Smartapp and Rooms Occupancy DTH located here: Rooms Manager smartapps and Rooms Occupancy DTH, give credit to Baz2473 and bangali for this great idea! These tiles will monitor any Room sensors you use with the current occupancy status.
Import Code:
xc0u
Example of what it looks like on the Dashboard:
Before importing this one, read the instructions below:
- There’s a 16 device limit per piston so only use 16 devices max per piston. If you have more than 16 devices, create multiple pistons to get around the 16 device limit.
- Under the variables section on the top, update the device variable called Rooms with the Room Devices you want to monitor.
- Under the variables section on the top, update the string variable called RoomNames with the Room Devices that you want to display on the tile. This is helpful if you use a longer name for the device but the name is not fitting in the tile. You must put a comma in-between each device with no space separating the devices (Ex: Device 1,Device 2). This is required to setup or the names will not display correctly.
- The tiles will update either once there's an event or after first 8 minutes of the piston being created. If there's no event, it'll display "No Event Yet" instead of a time stamp in the footer. I fixed it so it will display on the 8 minute timer but this 8 minute timer can always be updated if needed as well on the UpdateInterval variable.
- The Timestamps on the footer default to US format. If you want 24-hour timestamps, update the 24Hour variable to true. For DD/MM date format, change the DDMMDateFormat variable to true. It'll work fine if you mix or enable both as well.
- How the tiles are displayed and what colors are used can be modified in the variables section, read the instructions already noted above each variable. You can use Font Awesome or Emojis for images in the tiles to change how they are displayed or change the color schemes to your liking.
Thermostat Status Tiles
These tiles will monitor any Thermostats setup with the setpoint temperature, current temperature, humidity and current mode
Import Code:
xc0u
Example of what it looks like on the Dashboard. Below is all the different ways it’ll show based on the mode the Thermostat is in. Gray: Idle / Orange: Heating / Blue: Cooling / Green: Auto (Heat & Cool) / Light Steel Blue: Fan Only / Black: Off (not on at all, not even idle)
When Celsius Variable is enabled, examples of what the tiles look like below:
Below shows a definition of all the values within the Thermostat tile(s):
Before importing this one, read the instructions below:
- This piston was designed for all Thermostats, but I only have a Nest Thermostat to test with so please let me know how this works with other Thermostat brands.
- There’s a 16-device limit per piston so only use 16 devices max per piston. If you have more than 16 devices, create multiple pistons to get around the 16-device limit.
- Under the variables section on the top, update the device variable called Thermostats with the Thermostats you want to monitor.
- Under the variables section on the top, update the string variable called ThermostatNames with the names that you want to display on the tile. This is helpful if you use a longer name for the device but the name is not fitting in the tile. You must put a comma in-between each device with no space separating the devices (Ex: Device 1,Device 2). This is required to set up or the names will not display correctly.
- Under the variables section on the top, if your Thermostat does not support converting the temperature to Celsius in the DTH, change the Variable called Convert2Celsius to True so it’ll convert from F to C.
- Under the variables section on the top, if your Thermostat is set to Celsius, change the Variable called CelsiusMode to true so it’ll display correctly as Celsius in the Device tiles.
- A timer is setup to update every 40 seconds by default, this can be modified by updating the UpdateInterval variable to the desired number of seconds you like. Do not use anything below 30 seconds though, it’ll decrease the performance a lot in WebCoRE.
Door Lock Status Tiles Piston
These tiles will monitor any Door Locks setup and display that status (Locked or Unlocked)
Import Code:
kzug
Example of what it looks like on the Dashboard:
Before importing this one, read the instructions below:
- There’s a 16 device limit per piston so only use 16 devices max per piston. If you have more than 16 devices, create multiple pistons to get around the 16 device limit.
- Under the variables section on the top, update the device variable called DoorLocks with the Door Locks you want to monitor.
- Under the variables section on the top, update the string variable called DoorLockNames with the names that you want to display on the tile. This is helpful if you use a longer name for the device but the name is not fitting in the tile. You have to put a comma in-between each device with no space separating the devices (Ex: Device 1,Device 2). This is required to set up or the names will not display correctly.
- Clicking the tile will toggle (lock or unlock) the door lock. If you want to open the tile make sure you hold down CTRL + mouse click to open the tile instead of toggling the door lock.
- The tiles will update either once there's an event or after first 10 minutes of the piston being created. If there's no event, it'll display "No Event Yet" instead of a time stamp in the footer. I fixed it so it will display on the 10 minute timer but this 10 minute timer can always be updated if needed as well on the UpdateInterval variable.
- The Timestamps on the footer default to US format. If you want 24-hour timestamps, update the 24Hour variable to true. For DD/MM date format, change the DDMMDateFormat variable to true. It'll work fine if you mix or enable both as well.
Door Status Tiles
To-Do
Doorbell Status Tiles
To-Do
Window Status Tiles
To-Do
Light Bulb Status Tiles
To-Do
Light Switch Status Tiles
To-Do
Power Switch Status Tiles
To-Do
Motion Sensor Status Tiles
To-Do
Temperature\Humidity Status Tiles
To-Do
Battery Status Tiles
To-Do
Light Sensor Status Tiles
To-Do
Water Leak Sensor Status Tiles
To-Do
Smoke/CO Detector Status Tiles
To-Do
Sleep Sensor Status Tiles
To-Do