Closed vingerha closed 1 year ago
I was seeing this for api.nationaltransport.ie, but it was because I'd appended ?format=json
to the end of my request URL.
It looks like your API returns JSON by default. You likely want to see if they offer format switching as a parameter.
I am not sure if I follow you. I think it is different problem? The examples in this repo all download a format 'pb' which I guess is google protobuf ?? I have no idea how to get this (french/non-responsive/non-interested) governmental institute to change any format So, my hope is that this repo can take json directly, but I am not even sure which structure and then IF the one I am targeting matches that structure. For Homeassistant, I now wrote a lengthy jinja template with rest and this works too but that is mediocre as a solution
The URL is a 404 so I can't see it any more. But you are correct that the component only works with Protobuf.
For the departures, I tried with/out quotes, error remains
HA 2022.09 gtfs_rt : latest Config:
Error without quotes in 'departures'
Error with quotes