Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created an overview dashboard for Grafana #196

Merged
merged 5 commits into from
Oct 12, 2019
Merged

Created an overview dashboard for Grafana #196

merged 5 commits into from
Oct 12, 2019

Conversation

DBemis
Copy link
Contributor

@DBemis DBemis commented Oct 8, 2019

Here is a screenshot of this dashboard: https://i.imgur.com/3Q4UP7U.png

Since this is my first attempted contribution, I assume it will need some tweaks. Everything should be using the car, distance, and temperature units from the vars. I wanted variable thresholds for the temp and voltage gauges, but it appears Grafana doesn't support that feature

This was based on the ideas from some other dashboards I've seen (primarily, https://i.redd.it/hc7v6ts1qni31.jpg ).

Based on the ideas from some other dashboards I've seen (primarily, https://i.redd.it/hc7v6ts1qni31.jpg ), I created an overview dashboard with existing data sets

Here is a screenshot of this dashboard: https://i.imgur.com/3Q4UP7U.png
@ngardiner
Copy link
Contributor

Just imported into my installation, looks great!

https://imgur.com/a/qZ3Ap43

I use metric units so I'd convert that for my environement, this is a really useful contribution @DBemis

@adriankumpf
Copy link
Collaborator

adriankumpf commented Oct 8, 2019

Awesome, well done! Thanks @DBemis

One little piece is missing before this can be merged: could you wrap all panels in a "row" that gets repeated for all $cars? That way users with multiple cars would see all information in one dashboard. That's how it's done by the other dashboards.

@spacecosmos
Copy link
Contributor

Wow! This looks great @DBemis and @ngardiner. How can I get this dash imported? Or will it be included in future releases perhaps @adriankumpf? (I'm sorry for the lack of knowledge here...) :)

@krezac
Copy link
Contributor

krezac commented Oct 9, 2019

@spacecosmos I don't have admin password here (so I'm not sure about exact page or field names), but roughly: go to Manage > Dashboards, there is sth like Add JSON, copy the content of the file (overview-dash.json) into the box and save.

@adriankumpf adriankumpf merged commit e5ba7bb into teslamate-org:master Oct 12, 2019
@tucopup
Copy link

tucopup commented Oct 12, 2019

Overview dashboard (love it!): only shows 1 vehicle, unclear how to switch to the other Teslas on the account. Perhaps either the whole dashboard should be repeated per vehicle (like "charges"), or a vehicle selector dropdown in the header row (like "charge details").

@DBemis
Copy link
Contributor Author

DBemis commented Oct 12, 2019

Overview dashboard (love it!): only shows 1 vehicle, unclear how to switch to the other Teslas on the account. Perhaps either the whole dashboard should be repeated per vehicle (like "charges"), or a vehicle selector dropdown in the header row (like "charge details").

Strange - the rows should repeat per vehicle. I'll test adding a fake second car to my local setup this weekend to see what's up

@tucopup
Copy link

tucopup commented Oct 12, 2019

In case it helps: It shows my car ID #2 (of 3). When I hover over the car name, a gear and trashcan appear. The gear shows:
gear
But you can probably see that already.

@natrlhy

This comment has been minimized.

@bahree

This comment has been minimized.

@natrlhy

This comment has been minimized.

@Allram
Copy link

Allram commented Oct 12, 2019

Did a hacking here and managed to get it to work with multiple cars.
Changed the "car"-variable to "car_id".
Atleast now you can switch between the two cars.
Overview Dash Multiple cars.zip
Skjermbilde

@adriankumpf
Copy link
Collaborator

Found the fix: The option "Multi-Value" must be activated.

@DrMichael
Copy link
Collaborator

I would like a visualisation of the state in this view...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants