Hi,
I can not get waze component to work. it doesnt calculate the time and distance and shows state to “unknown”.
This is what i add in configuration files.
Same here since update to 0.89.
I didn’t see anything mentioned in the Breaking changes, but something broke/changed!
Bummer as I just got this working last week and now it won’t. -------------------------EDIT----------------------
I changed my address to home as that was all I was worried about and it started working for me again.
Maybe I was not paying enough attention, but I just realized my waze sensors seem to be taking a crazy amount of time to update, and even then not consistent. I think in my case it may be related to my zones for origin and destination.
# Pauls commute to home
- platform: waze_travel_time
name: Pauls Time to Home
origin: device_tracker.paul_all
destination: zone.home
region: 'US'
I use coordinates for my zones, and device trackers as my origin. I noticed this morning, that when my wife left the house and went to work, that the sensor for her time to home stopped updating. It had been updated all night, then suddenly it was 56 minutes since the last update. I have a few different sensors that were all over the place, one had updated in the past 5 minutes, one had been over 20 minutes, etc.
I restarted HA, and it took about 15-20 minutes but at the moment they all seem to be updated.
Internal error comes from the response from Waze. Something is wrong in your config, most likely you are using the wrong region. Or your area isn’t supported by the Waze api that is used.
@petro, it most probably is , but the issue is that it WAS WORKING for my region in south america , by using region = US , now no matter what it is not working anymore , that is why i think that something changed in the last three weeks …
and of course i know nothing about it, so just describing what i can tell , thanks
an update went through to the resource used called wazeroutecalculator. The dev added functionality to properly use the correct region instead of pinging all 3 at the same time. Find the correct region and it should work. You also may need to include your country in your addresses.
Also, before you ask, wazeroutecalculator is managed by some random dude unaffiliated with home assistant. If you want to revert or argue the change, you need to take it up on GitHub on that page.
@petro, thanks for your answer, i looked at the code on that github repo, but the latest modification seams to be from two month ago, in that case it can not be it as it was working well beyond that date , so the modifications should have happened on other place more recently .
should region matter if instead of addresses i use lat,lon coords ?
@petro, i have tested with several coordinates from south, and it is not working , so probably the error introduced in the last change is deeper .
Do you know if Is there other free travel-time calculator available from HA ?, thanks