Request: Trending / Graphing / Analytics

Thanks for sharing! From a quick glance, it looks like they’re using Google Charts (cloud charting library) to chart the history data from Hubitat and then embedding that in an iframe to display in the Hubitat dashboard.

We don’t currently support arbitrary HTML / JavaScript for security reasons, so this won’t work today. That being said, we do have it on our hit list to enable the ability to build and use custom components and I think something like this would fit into that quite well.

Update! :tada: Custom Tiles are now available and provide a secure / sandboxed approach for running custom code and building custom displays!

Custom Tiles - Third Party Integrations

In the meantime, I’ve seen other people take a similar approach by logging the data to Google Sheets and generating charts can be displayed in the SharpTools Media Tile. (This approach works in both Hubitat and SmartThings)

If you’d like more details on the Google Sheets approach, I’d be happy to write something up. The overall concept is:

  1. Install the Google Sheets Logging app in Hubitat and setup logging to a Google Sheet.
  2. In Google Sheets, create a Chart from the logged data
  3. Publish the Chart as an Image
  4. Copy the Link (to the published Image) and use the URL in a Media Tile with an appropriate refresh rate

image

2 Likes