I mean you’re welcome to, I suppose I could create another PR but the last one got ignored. Basically it has sat untouched waiting for merge and approval from the main devs. Coming up on month 3 now.
I am on 0.95b0 and unfortunately I am still getting a ton of Error on retrieving data: empty response messages. 336 of those after just four hours of uptime. (I have 13 sensors and the default scan interval of 5 mins). Guessing that Waze API is doing lot more rate limiting in these last few months or something…
You’re right, I suppose it could be. It always used to work fine for me until a few versions ago (maybe 0.89 or something?). The only problem I remember having before was some JSON Decode error on startup or something like that, but it worked perfectly fine in terms of the routes.
Now it’s failing more often than not, and majority of my Waze sensors are always an hour or more out of date, making them not too useful for automations. And being an hour or more out of date means they’ve failed to update 20+ times in a row which is not good…
I hope that whatever the problem is here it can be identified and fixed. This sensor is great when it works properly.
looks like my changes got pushed but the package changes didn’t. For some reason they removed the requirements=0.10 line and plopped the old broken 0.9 version in.
Make it a custom component with the requirements being 0.10. I’m guessing it has something to do with the manifest stuff that was added and it will need another PR.
Not sure, I have to investigate how manifests work and I just don’t have the time right now. You can attempt to place the requirement up to 0.10 but I do not know if that works anymore.
@petro - I think all that is required is in this PR. I’ve gone ahead and submitted it and lets see if the tests pass… Might help if you chimed in on my PR and “blessed it” as you are the original PR author. Thanks
No, that is the old way. The new way uses manifests and that PR will never go through, which is why it wasn’t done in the first place when it was merged.
Appears to have been merged in 0.95 and so far the initial results are looking very promising.
I only got a few “Error on retrieving data: empty response” errors right after startup and only a handful have come in after that in the last 24 hours. Before this PR those errors would be flowing in non-stop and I’d have literally thousands of errors in my logs at this point.
I’m still a little confused on how exactly the sensors get updated though. From my limited testing, it appears when I’m away from home they update faster and more consistently. When I’m home for awhile, some of the Waze sensors can often go an hour before being updated. Not sure if that’s an intentional thing (possibly to prevent necessary updates if device_tracker location hasn’t changed in a while?) Or maybe it’s just a coincidence?