Skip to content

joshualyon/custom-tile-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharpTools Custom Tile Demos

A collection of Custom Tile demonstrations and reference implementations for SharpTools.io - a smart home dashboard platform.

For Users

Looking to use these custom tiles? Each tile has detailed setup instructions in the SharpTools Community:

  • 🏠 Community Projects - Find the official release thread for each custom tile with:
    • Step-by-step import instructions
    • Configuration guides
    • Screenshots and examples
    • Community support

To use a custom tile:

  1. Find the tile's release thread in Community Projects
  2. Click the one-click import link in the thread
  3. Follow the configuration guide provided

For Developers

Building your own custom tiles? Start here:

📚 Official Documentation

🔍 Reference Implementations

Learn from these examples in the repository:

Modern Approach (Recommended)

  • /html-attribute/ - THING and THING:ATTRIBUTE:NAME settings
  • /gauges/thingGaugeJS.html - VARIABLE integration with gauge visualization
  • /vertical-range-input/ - Advanced features including:
    • Capability filters for device selection
    • Undocumented: Conditional settings using showIf (use at your own risk)

UI Components

  • /gauges/ - Complex visualizations with ApexCharts and GaugeJS
  • /analog-clock/ - Animated SVG elements
  • /sunrise-sunset/ - External API integration

Platform Integrations (Fallback Approach)

  • /he-maker-api-html/ - Hubitat Maker API (when THING access isn't sufficient)
  • /smartthings-scenes/ - SmartThings API with Personal Access Tokens
  • /homey/ - Multiple Homey integration methods

🏗️ Repository Structure

/he-*                    # Hubitat platform integrations
/homey/                  # Homey platform tiles
/smartthings-scenes/     # SmartThings integrations
/gauges/                 # Various gauge visualizations
/vertical-range-input/   # Vertical slider controls
/html-attribute/         # Display device attributes
/analog-clock/          # Clock display
/sunrise-sunset/        # Sunrise/sunset times

🛠️ Development Tips

  1. Use Modern Approach: Prefer THING/VARIABLE settings over direct API integration
  2. Test Broadly: Verify functionality across different browsers and devices
  3. Handle Errors: Implement user-friendly error messages (see examples)
  4. Follow Patterns: Review existing tiles for coding conventions
  5. Check AGENTS.md: Internal development guidelines and patterns

⚠️ Important Notes

  • Custom tiles run in a sandboxed environment
  • Always validate user inputs and handle missing configurations
  • Some features shown in examples (like showIf) are undocumented and may change
  • Place settings schema at the end of your HTML file

Contributing

This repository primarily serves as a reference collection. For questions or to share your own custom tiles:

Note: Custom Tiles are community-supported. For help with a specific tile, please find its release thread in the Community Projects section.

License

Individual custom tiles may have their own licenses. Check each file for specific terms.

About

Proof of concepts, samples, and sandbox of Custom Tiles for SharpTools.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages