Skip to content

Home Assistant in Docker + Here Travel Time sensor and Automation

Home Assistant in Docker + Travel Time sensor and Automation

Today I will show you how to install Home-Assistant using Docker, how to configure Travel time sensor (Here) and how to create Home Assistant automations. Don’t worry it’s very easy and no coding skills are needed.

Update in 2020:

HERE has deprecated the usage of app_code and new users can only generate an api_key.

If you are already using HERE Travel Time Sensor, you have to follow the migration guide to retrieve the, now required, api_key –

Example configuration: sensor:

 sensor:
   platform: here_travel_time
   api_key: "YOUR_API_KEY"
   origin_latitude: "51.222975"
   origin_longitude: "9.267577"
   destination_latitude: "51.257430"
   destination_longitude: "9.335892" 

The things that you need to complete this How-To are:

  1. Docker client or Working Home Assistant installation
  2. Subscribe to my newsletter here – https://peyanski.com/newsletter/

At the end of this how-to you will have fully functional Home-Assistant. As well as a sensor showing you how much time you will need to get from point A to point B (In our case from Eiffel Tower to Disney Land Paris) 

I will show you how you can configure this A and B points to suit your needs. Also how to add or remove the current traffic from the calculated time. And how you can change the transport method from car to public transport for example. 

Finally we will create a simple Home Assistant automation that will update this Travel time sensor. This will happen more frequently at specific times in order to be as accurate as possible exactly when you need it most.

You can use the results from the Travel Time sensor and announce those results using TTS (text to speech) from your Amazon smart device (Alexa). 

If you want to learn how to enable text to speech on your Amazon smart device (Alexa) you can check my Alexa TTS post – https://peyanski.com/alexa-tts-how-to/

My question for you guys is

on what kind of device you have installed Home Assistant? Is it a laptop, desktop, Raspberry Pi or something else? 

Let me know in the comments bellow. 

Support my work

Any sort of engagement on this site does really help out a lot with the YouTube algorithm. So make sure you hit the subscribe, Like and Bell buttons If you enjoy this video. 

Also feel free to add me on Instagram, Snapchat and Twitter by searching for KPeyanski username. I post there pretty much daily.

I really hope that you manage to follow the steps in this video till the end and you have working Home-Assistant with Travel time sensor at the moment.

Thank you for watching, stay safe and see you next time.

Home Assistant on Docker installation page: https://www.home-assistant.io/docs/installation/docker/

Here Travel Time Sensor page: https://www.home-assistant.io/integrations/here_travel_time/

Leave a Reply

Your email address will not be published. Required fields are marked *