Re: [LUA] Durée de trajet avec Waze
Publié : 25 nov. 2025, 21:05
A priori, la commande
Retourne maintenant :
Cette API a été enlevée par Waze 
Même problème donc chez nos amis de Home Assistant : https://github.com/home-assistant/core/issues/157187
Un workaround a été trouvé par le développeur du projet WazeRouteCalculator
https://github.com/kovacsbalu/WazeRoute ... 90054fe37b
Reste à le backporter dans notre script lua.
Code : Tout sélectionner
curl --referer https://www.waze.com "https://www.waze.com/row-RoutingManager/routingRequest?from=AAA&to=BBB&returnJSON=true&timeout=60000&nPaths=1&clientVersion=4.0.0&subscription="*"&options=AVOID_TOLL_ROADS:t,ADD_HOV_ROUTES:f,AVOID_LONG_TRAILS:t,AVOID_DANGEROUS_TURNS:f,AVOID_PRIMARIES:f,AVOID_TRAILS:t,AVOID_FERRIES:t,ALLOW_UTURNS:f"
Code : Tout sélectionner
<html>
<head><title>410 Gone</title></head>
<body>
<center><h1>410 Gone</h1></center>
<hr><center>nginx</center>
</body>
</html>
Même problème donc chez nos amis de Home Assistant : https://github.com/home-assistant/core/issues/157187
Un workaround a été trouvé par le développeur du projet WazeRouteCalculator
https://github.com/kovacsbalu/WazeRoute ... 90054fe37b
Reste à le backporter dans notre script lua.