This is a template repository for creating your own custom dashkits for HobDrive.
-
Clone this repository: Clone it via "Fork" button on GitHub. Rename the repository in GitHub directly, if you wish.
Or command line:
git clone https://github.com/hobdrive/template-dashkits.git my-dashkit cd my-dashkit -
Rename the template folder, to your dash desired name
cd community mv template my-dashkit-name cd my-dashkit-name
-
Edit the community/my-dashkit-name/info.json file:
- Update the
name,description, andauthorfields - Set your desired version number
- Update the
-
Customize your layout:
- Edit
user.layoutto create your custom dashboard design - Add any custom images to the
images/folder
- Edit
-
Test your dashkit:
- Push your repository to github.
- In Hobdrive, choose "Manage DashKits"
- Change
Repo nameto your repo id (your-login/repo-name) - Change
Branchif needed. - Press
Update- this will load your repo - Press
Installbutton on your DashKit.
-
Update your dashkit:
- After installed, you can directly Update already installed Dash.
- community/template/ - A simple working dashkit with a basic layout
- info.json - Metadata file for your dashkit
- user.layout - The main layout file where you define your dashboard screens
- images/ - Folder for custom images and graphics
The user.layout file uses HobDrive's XML-based layout language. Key concepts:
- Full Documentation: See LAYOUT_SPEC.md for complete layout reference
- Main Repository: hobdrive-dashkits for more examples
- Community: Share your dashkits with the HobDrive community!
- Start Simple: Begin with the included template and gradually add complexity
- Test Often: Test your layout in HobDrive after each change
- Use Conditionals: Use
ifattributes to show items only when sensors are available - Preview First: The template includes a working example you can modify
- Image Optimization: Keep image files small for better performance
- Multiple Sections: You can create multiple dashboard screens in one layout file
my-dashkit/
├── README.md (this file)
├── LAYOUT_SPEC.md (complete syntax reference)
└── community/
└── your-dashkit-name/
├── info.json (dashkit metadata)
├── user.layout (your dashboard layout)
├── README.md (optional: describe your dashkit)
└── images/ (optional: custom graphics)
When you're ready to share your dashkit:
- Update the README in your dashkit folder with screenshots and description
- Make sure your info.json has accurate information
- Consider submitting a pull request to the main hobdrive-dashkits repository
- Share with the community!
This template is provided as-is for creating HobDrive dashkits. Check the HobDrive license for distribution terms.
- Check LAYOUT_SPEC.md for detailed documentation
- Look at examples in the main hobdrive-dashkits repository
- Join the HobDrive community for support
Happy dashboard creating! 🚗📊