This step-by-step tutorial follows on from the Home Assistant Installation Tutorial and uses the example SinoTimes DDS6619 smart meter to illustrate the concepts.
Step 1: Create a Clean Dashboard View
- Open your Home Assistant frontend, click Settings \(\rightarrow \) Dashboards.
- Click Add Dashboard at the bottom right, choose New Dashboard from Scratch, name it (e.g., Smart Meter), and click Create.
- Open your new dashboard, click the pencil icon in the top right, and click Edit Dashboard.
- Click Start with an empty dashboard if prompted.
Step 2: Build the Real-Time Gauges (Volts, Watts, Amps)
Instead of typing code, you will use the visual Gauge Card:
- Click Add Card (or the blue
+button). - Scroll down or search the list and click on the Gauge card.
- In the visual settings editor that pops up:
- Entity: Search for your
DDS6619 Voltagesensor. - Name: Change it to
Grid Voltage. - Minimum / Maximum: Set them to
210and260(to track typical grid ranges). - Check the box for Define needle if you want an active pointer.
- Click Severity at the bottom to visually flag bad voltage: set Green to
230, Yellow to244, and Red to253.
- Entity: Search for your
- Click Save.
- Repeat this process for Watts (Active Power, min
0/ max22000) and Amps (Current Load, min0/ m
Step 3: Build the Historical Trends (Volts, Watts, Amps)
To trace grid stability over a 24-hour window, use the visual History Graph Card:
- Click Add Card and select the History Graph card.
- In the configuration window:
- Title: Type
Voltage Stability (24h). - Hours to show: Type
24. - Entities: Click the drop-down menu and choose your
DDS6619 Voltagesensor.
- Title: Type
- Click Save.
- Create another History Graph card right below it for consumption trends:
- Title: Type
Power Consumption Profile. - Entities: Add both your
DDS6619 Active Power (Watts)andDDS6619 Current (Amps)sensors to the same card so they render on a shared timeline.
- Title: Type
- Click Save.
Step 4: Group the Static States (PF & Cumulative Energy)
For data that doesn’t change rapidly, a clean, compact list is the most user-friendly layout. Use the Entities Card:
- Click Add Card and select the Entities card.
- In the visual editor:
- Title: Type
System Efficiency & Totals. - Clear any default entities Home Assistant pre-filled for you.
- In the Entities list, add:
DDS6619 Power factorDDS6619 FrequencyDDS6619 Total active power(your cumulative lifetime energy sensor)
- Title: Type
- Click Save.
Step 5: Arrange and Finish
You can now freely click and hold the arrows icon on the corner of any card to drag, drop, and rearrange them into columns or rows that fit your layout. When you are happy with the arrangement, click Done in the top right corner.