How to Create a Custom Dashboard
This guide walks you through creating your first custom dashboard for a Custom Component.
Prerequisites
- A Custom Component created in Profinity
- Basic understanding of YAML syntax
- Access to the Dashboard Editor
Steps
Step 1: Open the Dashboard Editor
- Navigate to your Custom Component in the sidebar
- Click the Dashboard Editor icon (pencil/edit icon) in the toolbar
- The dashboard editor opens with a "Hello World" template
Step 2: Add Your First Data Binding
Replace the static label with a data binding:
- value:
label: TEMPERATURE
precision: 1
bind:
- target: value
source: '{COMPONENT_NAME}.Temperature.Value'
Note: {COMPONENT_NAME} is automatically replaced with your component's actual name at runtime.
Step 3: Add More Components
Add additional readouts:
- pillgroup:
items:
- value:
label: TEMPERATURE
precision: 1
bind:
- target: value
source: '{COMPONENT_NAME}.Temperature.Value'
- value:
label: PRESSURE
precision: 2
bind:
- target: value
source: '{COMPONENT_NAME}.Pressure.Value'
Step 4: Validate and Save
- The editor validates your YAML in real-time
- Check for error messages at the bottom
- Click Save when validation passes
- Your dashboard updates immediately
Next Steps
- Learn about Core Elements for more complex layouts
- Explore Component Reference for available components
- See Examples for complete dashboard examples