do you have example coordinates?
sure : for example , in my area
-34.164738, -58.959321
-34.460747, -58.704175
but tested with other countries and i got the same results .
Latin america needs to use ‘EU’ as region. @dropchew @gnkarn
config
sensor:
- platform: waze_travel_time
origin: -34.164738, -58.959321
destination: -34.460747, -58.704175
region: 'EU'
logs
2019-07-08 18:44:58 INFO (SyncWorker_7) [WazeRouteCalculator.WazeRouteCalculator] From: -34.164738, -58.959321 - to: -34.460747, -58.704175
2019-07-08 18:45:00 INFO (SyncWorker_7) [WazeRouteCalculator.WazeRouteCalculator] Time 33.45 - 50.97 minutes, distance 43.87 - 62.88 km.
from waze web ui.
Was this ever solved? Im getting the same ‘Unknown’ status but have worked out if I hash tag out the line
name: Travel to work
in the sensor code then the sensor works.
if you use the name attribute, it changes the name of the entity_id. So when you use name: Travel to work
the entity_id will be sensor.travel_to_work
. My guess is that you are looking at the wrong entity.
Thats exactly what I was doing, was still looking at:
entities:
- sensor.waze_travel_time
looked everywhere for the solution and gave up in the end. It was only when I saw this post I thought I’d mention it. Thanks Petro.
@petro do you know if there is a region for south america or brasil? I’m setting it up just as it says, but I’m using two zones as origin and destition and it never calculated when using region: ‘US’
If I remember correctly, use EU. Waze has odd regions.
My Waze sensor displays the status: UNKNOWN
The Waze intergration has been added via HACS.
I’ve created two zones within Home Assistant (Home & Work)
My configuration.yaml has the following code:
- platform: waze_travel_time
name: "Huis naar werk"
origin: zone.home
destination: zone.work
region: 'EU'
Any suggestions?
Commenting out the name also does not work when i select sensor.waze_travel_time
That’s not the same integration then. This thread is about the built in integration, which wouldn’t come from hacs.
I explained myself wrong, i’m using the built in integration but was using the Waze Lovelaze card via Hacs. I have just removed that one.
The issue still occurs, in the screenshot in my first post you can see the status is unknown.
It still is at this moment.
my code:
where did you place that configuration? Are there errors in the logs?
Thanks, It uses EU for Brasil for whatever reason
Hello
have the same issue. The state is unknown. EU
Tracking entity to zone friendly name
- platform: waze_travel_time
name: Home To Dan’s Work
origin: zone.homemarronniers
destination: zone.workd
region: ‘EU’
vehicle_type: car # vehicle type used for routing car, taxi, motorcycle
avoid_toll_roads: true
avoid_subscription_roads: true
Same Error for me
no one has posted an error, everyone isn’t waiting long enough for the data to populate. IIRC it takes 5 minutes for the first state to be added.