Device Tiles

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
Share on FacebookShare on TwitterShare on Google+Share on LinkedInShare on DiggShare on deliciousShare on redditShare on StumbleUpon

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:

i8ye5

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 is set to Celsius, change the Variable called CelsiusMode to true so it’ll display correctly as Celsius in the Device tiles.
  • 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.
  • 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

These tiles will monitor any light bulbs setup and display the status (Turned On or Off). The tiles are also setup to display the level and color temperature (if bulb supports it) if turned on.

Import Code:

0tw9

Example of what it looks like on the Dashboard:

Light Bulb 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.
  • This Piston displays the Color Temperature and Level on the footer, it only display time stamps when the light bulb is turned off. If the bulb doesn’t support colors, it will not display the color temperature value as you can see with the LR Lamp example above that’s a white bulb.
  • Under the variables section on the top, update the device variable called “Bulbs” with the light bulbs you want to monitor.
  • Under the variables section on the top, update the string variable called “BulbNames” 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 setup or the names will not display correctly.
  • Clicking the tile will toggle the light bulb (Turn on or off). If you want to open the tile make sure you hold down CTRL + mouse click to open the tile instead of toggling the light bulb.
  • 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.
  • 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.

Light Bulb Status Tiles Piston.png

Light Switch Status Tiles

These tiles will monitor any light switches setup and display the status (Turned On or Off). The tiles are also setup to display the level (if switch supports it) if turned on.

Import Code:

aupy

Example of what it looks like on the Dashboard:

Light Switch 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.
  • This Piston displays the Level on the footer if the switch is a dimmer. It'll only display time stamps when the light switch is turned off or turned on if the switch doesn't support a level.
  • Under the variables section on the top, update the device variable called “Switches” with the light switches you want to monitor.
  • Under the variables section on the top, update the string variable called “SwitchNames” 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 setup or the names will not display correctly.
  • Clicking the tile will toggle the light switch (Turn on or off). If you want to open the tile make sure you hold down CTRL + mouse click to open the tile instead of toggling the light switch.
  • 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.
  • 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.

Light Switch Status Tiles Piston.png

Power Switch Status Tiles

These tiles will monitor any power switches setup and display the status (Turned On or Off).

Import Code:

fh5r

Example of what it looks like on the Dashboard:

Power Switch 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 “PowerSwitches” with the Power switches you want to monitor.
  • Under the variables section on the top, update the string variable called “PowerSwitchNames” with the Power switches 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 seperating the devices (Ex: Power Sw1,Power Sw2). This is required to setup or the names will not display correctly.
  • Clicking the tile will toggle the device, if you want to open the tile make sure you hold down CTRL + mouse click to open the tile instead of toggling the power switch.
  • 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.
  • 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.

Power Switch Device Tiles Piston.png

Motion Sensor Status Tiles

These tiles will monitor any motion sensors setup and display the status (Motion or No Motion).

Import Code:

ksnag

Example of what it looks like on the Dashboard:

Motion Sensor 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 “MotionSensors” with the motion sensors you want to monitor.
  • Under the variables section on the top, update the string variable called “MotionSensorNames” 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 setup 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.
  • 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.

Motion Sensor Device Tiles Piston.png

Temperature\Humidity Status Tiles

These tiles will monitor any Temperature sensors and display the Temperature & Humidity (if device supports Humidity) values.

8792

Example of what it looks like on the Dashboard:

Fahrenheit: Temperature & Humidity Status Tiles Example (F).png

Celsius: Temperature & Humidity Status Tiles Example (C).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 “TempDevices” with the devices you want to monitor.
  • Under the variables section on the top, update the string variable called “TempDeviceNames” 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 setup or the names will not display correctly.
  • Under the variables section on the top, if your Device is set to Celsius, change the Variable called CelsiusMode to true so it’ll display correctly as Celsius in the Device tiles.
  • The tiles will update either once there’s an event or after first 5 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.
  • Under the variables section on the top, the Background and font colors can be modified if needed under the TileBackgroundColor and TileTextColor variables
  • 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.
  • A timer is setup to update every 5 minutes by default, this can be modified by updating the UpdateInterval variable to the desired number of minutes you like.
  • Under the variables section on the top, if your Device 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.

Temperature Device Tiles Piston.png

Battery Status Tiles

These tiles will monitor any devices with a battery and display the battery status.

Import Code:

4ff8

Example of what it looks like on the Dashboard based on the Themes:

Light:

Battery Status Tiles Example (Light).png

Normal:

Battery Status Tiles Example (Normal).png

Dark:

Battery Status Tiles Example (Dark).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 “BattDevices” with the devices you want to monitor.
  • Under the variables section on the top, update the string variable called “BattDeviceNames” 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 setup or the names will not display correctly.
  • 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. Themes can be used using the UseTheme and ThemeType variables.
  • 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.
  • 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.

Battery Device Tiles Piston.png

Light Sensor Status Tiles

These tiles will monitor any light sensors setup and display the Lux (illuminance) value. This piston can be used for both indoor and outdoor sensors

Import Code:

foz7

Example of what it looks like on the Dashboard:

Light Sensor 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 “LightSensors” with the light sensor devices you want to monitor.
  • Under the variables section on the top, update the string variable called “LightSensorNames” 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 setup 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.
  • 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.

Light Sensor Device Tiles Piston.png

Water Leak Sensor Status Tiles

These tiles will monitor any water leak sensors setup and display the status (Wet or Not Wet).

Import Code:

p3nde

Example of what it looks like on the Dashboard:

Water Leak Sensor 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 “WaterSensors” with the Water Leak Sensors you want to monitor.
  • Under the variables section on the top, update the string variable called “WaterSensorNames” 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 setup 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.
  • 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.

Water Leak Sensor Device Tiles Piston.png

Smoke/CO Detector Status Tiles

These tiles will monitor any Smoke/CO Detectors setup and display the status.

Import Code:

hzug

Example of what it looks like on the Dashboard:

Smoke Detector 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 “SmokeDetectors” with the Smoke/CO Detectors you want to monitor.
  • Under the variables section on the top, update the string variable called “SmokeDetectorNames” 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 setup 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.
  • 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.

Smoke Detector Device Tiles Piston.png

Sleep Sensor Status Tiles

These tiles will monitor any sleep sensors setup such as the one on the webCoRE Presence Sensor and display the status.

Import Code:

wwgy

Example of what it looks like on the Dashboard:

Sleep Sensor Device Tile 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 “SleepSensors” with the Sleep Sensor Devices you want to monitor.
  • Under the variables section on the top, update the string variable called "SleepSensorNames" with the Sleep Sensor 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.
  • 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.

Sleep Sensor Device Tiles Piston.png