The by variables are ‘‘true’’ or ‘‘false’’, in string form.
stopFrom = name of the stop, can be found in the 9292 url when generated on the site
dateTime = time and date in this form yyyy-mm-ddThhmm
searchType = departure or arrival
interchangeTime = “standard”
resultCount = number of results, starts from 0
stopTo = name of the stop, can be found in the 9292 url when generated on the site
The reason I used 9292 is that the openov api doesn’t have my stop in the database while 9292 does. maybe someone will find this usefull.
Paul and I were talking about this yesterday. But we first need to finish the sensor. Like yesterday I added a new feature, namely a line filter. And I’m sure some people will find a bug we missed, that we need to fix first.
Very interested in this as I would like to replace my MagicMirror with Lovelace if I possibly can, this would get me one step closer.
Have you seen this MM module that does similar? Not sure if it can maybe be some inspiration.
Maybe there is a option to also use 9292ov but then we should rename the sensor and create options for the different dataproviders. This does require a redesign of the sensor to keep it clean and understandable.
You can add a issue in the GitHub repro for this request though, in that case the feature request won’t be forgotten
Nice, thanks for the info. I’ve reserved some time next weekend to update the docs and I’ll have a look at this repro for possible features or other interesting bits.
yes i read that but how to put it correctly in the sensor, i have this code where only the tram works
The route_code of the tram is the actual TimePointCode
Sorry for the delay on the new version of the readme, had a couple of surprises at home that needed my attention. I’m currently updating the readme so that it contains all options.
The explanation of the timing_point_code is quite small since it is a new option and I haven’t tried it yet.
If you have the chance, can you check the readme and verify that it contains all bits you were missing?? This indeed should help new users to find all possible options
hi no sorry this card is great and that you put time and effort in it, but still a bit buggy, i added the show_future_departures: 4 and all times of all future sensors are the same somehow, please check the screenshot:
EDIT: my bad used the same timing point code and bus and tram lel, must be PEBKAC with copy pasting things.
I do think you can safely remove the sop_code and route_code from youre guide now cause its not needit anymore