Weather Tile - Custom Device Definition

The main thing the Weather Tile is looking for is the device to implement a weather attribute. That triggers the weather tile being rendered instead of a generic thing tile.

It’s looking for a few key attributes:

  • weather - description of the weather/forecast [required]
  • weatherIcon - reports a Weather Underground or TWC compatible icon id
  • forecastIcon - should report a Weather Underground compatible icon name
    • The weather tile falls back to this attribute if the weatherIcon is not available
  • city - replaces the device name in the top-left (location is used as a fallback)
  • temperature - numeric temperature (without units)
  • feelsLike - numeric temperature (without units)
  • wind - in MPH
  • illuminance - hidden for now
  • humidity - as a percentage (without units)
  • percentPrecip - as a percentage (without units)
  • localSunrise - time
  • localSunset - time

If I remember correctly, weather and forecastIcon are the only required attributes. The rest of the attributes are conditionally displayed based on whether or not they are implemented in the device driver.

Edit:
Here’s a visual layout of what each attribute maps to on the weather tile:

1 Like