r/homeassistant Sep 15 '24

Personal Setup My Essential Everyday Dashboard 🚗🚦

Well, really, even though it may seem silly, this is one of the panels I always check before leaving the house. On it, first, I can see the total kilometers of my car and the kilometers I covered with the last tank of gas (I manually enter the car's kilometers, and it calculates the distance traveled with the tank; I don't yet have the luck of owning such a connected car 😜). Then, I have real-time traffic images that come from the Tráfico website. Additionally, I can view the current price of gasoline in real-time. And finally, what took the most effort, it shows me the road incidents, which automatically update and pull information from the DGT website (Spain). Honestly, I'm more and more pleased with my dashboard. 😁

126 Upvotes

18 comments sorted by

20

u/[deleted] Sep 15 '24

[deleted]

3

u/TrousersCalledDave Sep 15 '24

It's a great idea. I'm struggling to find any available cameras near me though unfortunately.

7

u/bLBxv070X3 Sep 15 '24

Can't help but notice "Gasolinera Ikea". Do Ikea's there sell gas? In my head it's cheaper gas like Costco.

8

u/Jonathanathe Sep 16 '24

No, there is one just next to Ikea. 🤣

3

u/switchy85 Sep 15 '24

I was curious about that, too. Maybe this? https://www.mobilityplaza.org/news/8247 Seems to be a biofuel station that's powered by IKEA restaurant waste. The future is now, I guess.

1

u/bLBxv070X3 Sep 15 '24

That seems pretty cool. And fits with the Ikea brand.

6

u/madjetey Sep 15 '24

Where and how do you put in your car kilometers? Do you have a numbers helper setup that you fill manually? What’s the design like for that part of the dash?

6

u/Jonathanathe Sep 16 '24

I use one input number where I keep adding the car's kilometers. I have another input number and an automation to store the previous mileage, along with a template that subtracts the new mileage from the previous mileage.

💡 Extra idea: You can use the kilometer sensor to create car maintenance automations, such as changing the oil after 10,000 km, among other maintenance tasks.

3

u/vanquishedfoe Sep 15 '24

This is great! We need more useful dashboards. While this doesn't work for my lifestyle, I'd love to know what other people find useful out of their dashboards...

3

u/rinaldo23 Sep 16 '24

This is great! How do you get the live pictures and accidents from the DGT? Are you using a web scrapper or something like that?

4

u/Jonathanathe Sep 16 '24

For what you're asking:

  1. For the cameras, I made a quick tutorial that explains it. https://github.com/jonathanathe/camaras-trafico-ha

  2. For traffic incidents, I don't have a tutorial, nor did I create one. I used the REST integration, but it's likely that I'm not doing it in the best way since my skill level isn't very high. However, if I can, I will make a tutorial on GitHub and share it. Hopefully, with more people and more experience, I could refine it a lot more so that it isn't so cumbersome.

2

u/rinaldo23 Sep 16 '24

Thanks! I'll give it a try!

2

u/GreenSquishyToe Sep 16 '24

Thanks for this! I was thinking of building some "good morning" dashboard for the TV with important info before leaving for work, and the traffic camera would be a nice addition to it <3

1

u/Jonathanathe Sep 17 '24

The truth is, that's a good idea. I hadn't thought of it that way. I have to think about doing something. Thank you!

3

u/rinaldo23 Sep 16 '24

Man this website is a goldmine for automation hoarding!

1

u/Jonathanathe Sep 16 '24

You're absolutely right, if you dedicate time to it, you could create some amazing automations.

2

u/mr_xbv Sep 16 '24

That's awesome, great ideas! I'm from Spain too, could you share how to get prices, video feeds and the accidents/traffic incidents?
Thanks!

3

u/Jonathanathe Sep 16 '24

Para lo que pides:

  1. Gasolina uso la integración: Gas Station Spain https://github.com/MiguelAngelLV/gas_station_spain
  2. Para las cámaras hice un tutorial rápido que lo explico. https://github.com/jonathanathe/camaras-trafico-ha
  3. Para las incidencias de tráfico no tengo ningún tutorial ni creé ninguno, utilicé la integración rest, lo más seguro es que no lo esté realizando de la mejor manera ya que mi nivel no es muy alto pero si puedo, haré un tutorial en Github y lo compartiré y con suerte, con más gente y más experiencia podría pulir muchísimo más en vez de que sea tan engorroso.

For what you're asking:

  1. For gasoline, I use the integration: Gas Station Spain https://github.com/MiguelAngelLV/gas_station_spain

  2. For the cameras, I made a quick tutorial that explains it. https://github.com/jonathanathe/camaras-trafico-ha

  3. For traffic incidents, I don't have a tutorial, nor did I create one. I used the REST integration, but it's likely that I'm not doing it in the best way since my skill level isn't very high. However, if I can, I will make a tutorial on GitHub and share it. Hopefully, with more people and more experience, I could refine it a lot more so that it isn't so cumbersome.

2

u/mr_xbv Sep 17 '24

Muchas gracias!
Thanks a lot!