What you get:
- Sensor with current travel time in minutes (i.e. if you would leave right now)
- Sensor with percentage delay in relation to normal traffic for that time of the day
- You probably won't
- But maybe because you want to drive a RGB led with the current traffic congestion
- Or have your eardrums blown up by a z-wave sirene while at breakfast, because you really need to leave the house now to get on work in time
- urllib package (pip install urllib if you ain't have it)
- Google API Key - Get one https://developers.google.com/maps/docu ... et-api-key
- Put complete folder from zip in plugins folder
- Add 'Travel Times' hardware device
- In from and to add a descriptive text that gives a distinctive location as if you would search on Google Maps
- Set a not so small polling interval as free Google API Key gives you 2,500 requests per day only
- If for any reason people are actually interested in this, I will probably make the code a bit nicer. Leave some feedback or feature requests if you'd like.