Device Tiles

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Revision as of 18:35, 19 January 2018 by Bfara83 (talk | contribs) (Window Status Tiles)
Jump to: navigation, search
Share on FacebookShare on TwitterShare on Google+Share on LinkedInShare on DiggShare on deliciousShare on redditShare on StumbleUpon

Not Done Yet

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

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:

Presence Sensor Device 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 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.

Presence Sensor Device Tiles Piston.png

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:

Room Occupancy 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 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.

Room Device Tiles Piston.png

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)

Thermostat Device Tiles Example.jpg

When Celsius Variable is enabled, examples of what the tiles look like below:

Thermostat Device Tiles Celsius.png

Below shows a definition of all the values within the Thermostat tile(s):

Thermostat Device Tiles Meaning.png

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.

Thermostat Device Tiles Piston.png

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:

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.

Door Lock Device Tiles Piston.png

Door Status Tiles

These tiles will monitor any doors setup via contact sensors and display the status (Open or Closed)

Import Code:

vahy

Example of what it looks like on the Dashboard:

Door 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 Doors with the Door Locks you want to monitor.
  • Under the variables section on the top, update the string variable called DoorNames 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.
  • 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 Piston.png

Doorbell Status Tiles

These tiles will monitor any doorbells setup and display the status (Active or Inactive)

Import Code:

9b7d

Example of what it looks like on the Dashboard:

Doorbell 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 DoorBells with the Doorbells you want to monitor.
  • Under the variables section on the top, update the string variable called DoorBellNames 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.
  • 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.

Doorbell Device Tiles Piston.png

Window Status Tiles

These tiles will monitor any windows with contact sensors that is setup and display the status (Opened or Closed)

Import Code:

gv0ji

Example of what it looks like on the Dashboard:

Window 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 Windows with the Windows you want to monitor.
  • Under the variables section on the top, update the string variable called WindowNames 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.
  • 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.

Window Device Tiles Piston.png

Light Bulb Status Tiles

To-Do

Light Bulb Status Tiles Example.png

Light Switch Status Tiles

To-Do

Light Switch Status Tiles Example.png

Power Switch Status Tiles

To-Do

Power Switch Tiles Example.png

Motion Sensor Status Tiles

To-Do

Motion Sensor Status Tiles Example.png

Temperature\Humidity Status Tiles

To-Do

Temperature & Humidity Status Tiles Example (F).png

Temperature & Humidity Status Tiles Example (C).png

Battery Status Tiles

To-Do

Battery Status Tiles Example.png

Light Sensor Status Tiles

To-Do

Light Sensor Status Tiles Example.png

Water Leak Sensor Status Tiles

To-Do

Water Leak Sensor Tiles Example.png

Smoke/CO Detector Status Tiles

To-Do

Smoke Detector Tiles Example.png

Sleep Sensor Status Tiles

To-Do

Sleep Sensor Device Tile Example.png