Skip to content

Commit

Permalink
added Charged annotation to projected range dashboard.
Browse files Browse the repository at this point in the history
Prepared to show region after grafana update. (grafana#20752)
  • Loading branch information
ctraber authored and adriankumpf committed Jan 27, 2020
1 parent 1752c96 commit 4782403
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions grafana/dashboards/projected-range.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
},
{
"datasource": "TeslaMate",
"enable": false,
"hide": false,
"iconColor": "rgba(255, 96, 96, 1)",
"limit": 100,
"name": "Charged",
"rawQuery": "SELECT\n$__time(start_date),\nend_date as timeend,\nconcat('Charged: ',round(cast(charge_energy_added as numeric),2),' kWh') AS text\nFROM charging_processes\nWHERE\n$__timeFilter(start_date) AND duration_min > 5\nORDER BY start_date DESC",
"showIn": 0,
"tags": [],
"type": "tags"
}
]
},
Expand Down

0 comments on commit 4782403

Please sign in to comment.