OV information app
Moderators: marcelr, TheHogNL, Toonz
OV information app
1.) First get the station id from http://api.9292.nl/0.1/locations?lang=nl-NL&q=eindhoven (Change eindhoven to your own search parameter).
2.) Copy the ID and enter this value in the 'Station / Halte' field under settings
Update:
Refresh button is now working
- Attachments
-
- ovinformationapp.zip
- (26.88 KiB) Downloaded 491 times
Last edited by atlantica on Mon Aug 27, 2018 3:12 pm, edited 2 times in total.
Regards
David
David
Re: OV information app
Hi good to see new apps, just a question, to what extent does this differ from the OV info in this app:
viewtopic.php?f=99&t=11882&p=84325&hilit=Halte#p84325
viewtopic.php?f=99&t=11882&p=84325&hilit=Halte#p84325
member of the Toon Software Collective
Re: OV information app
Hi Toonz,Toonz wrote:Hi good to see new apps, just a question, to what extent does this differ from the OV info in this app:
viewtopic.php?f=99&t=11882&p=84325&hilit=Halte#p84325
That app makes your toon very slow...
Regards
David
David
Re: OV information app
Ok, makes sense. Will give it a tryatlantica wrote: That app makes your toon very slow...
member of the Toon Software Collective
Re: OV information app
Is it finished from your point of view, in other words, do you want it to be included in the ToonStore?
member of the Toon Software Collective
Re: OV information app
Maybe a bit later. The refresh button is not working right now. But when you open de app again from the main menu it is refreching the data...Toonz wrote:Is it finished from your point of view, in other words, do you want it to be included in the ToonStore?
Regards
David
David
Re: OV information app
When trying fixing the old ov app url for a new one,
Old url:
xmlhttp.open("GET", "http://dashticz.nl/ov/ov.php?station="+settings.ovHalte, true);
I discovered the used source ov url:
http://api.9292.nl/0.1/locations/[ovHal ... lang=nl-NL"
#[ovHalte] = is described in this example:
1.) First get the station id from http://api.9292.nl/0.1/locations?lang=nl-NL&q=eindhoven
(Change eindhoven to your own search parameter).
Does anyone know what was in the old ov.php or
is it posible to translate this into the ov app?
Old url:
xmlhttp.open("GET", "http://dashticz.nl/ov/ov.php?station="+settings.ovHalte, true);
I discovered the used source ov url:
http://api.9292.nl/0.1/locations/[ovHal ... lang=nl-NL"
#[ovHalte] = is described in this example:
1.) First get the station id from http://api.9292.nl/0.1/locations?lang=nl-NL&q=eindhoven
(Change eindhoven to your own search parameter).
Does anyone know what was in the old ov.php or
is it posible to translate this into the ov app?
Regards
David
David
Re: OV information app
Trying to get this to work but no luck, keeps trying to load data.
Toon2 with 6.0.2 firmware TSC 2.1.7
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.
Re: OV information app
The links provided by Atlantica provide all info you need (seems proper JSON data to me)
However, you will need to rewrite the app to work from the 9292 site directly without the dashtics site inbetween.
I might do this when I have time, but if other feels inspired to work on this even better
However, you will need to rewrite the app to work from the 9292 site directly without the dashtics site inbetween.
I might do this when I have time, but if other feels inspired to work on this even better
member of the Toon Software Collective
Re: OV information app
Hi Toonz,Toonz wrote:The links provided by Atlantica provide all info you need (seems proper JSON data to me)
However, you will need to rewrite the app to work from the 9292 site directly without the dashtics site inbetween.
I might do this when I have time, but if other feels inspired to work on this even better
got any luck and time about updating this app for Firmware 5.0.4 and the rewrite directly to 9292 site?
Would like to do this but I don't have the knowdledge
Toon2 with 6.0.2 firmware TSC 2.1.7
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.
Re: OV information app
Not yet started, will post it here when done.
member of the Toon Software Collective
Re: OV information app
small teaser, the basics are running again.
Need much more work to simplify the app structure and further enhance it.
The app will not slowdown your toon anymore.
Not sure when it's ready for release....
Need much more work to simplify the app structure and further enhance it.
The app will not slowdown your toon anymore.
Not sure when it's ready for release....
member of the Toon Software Collective
Re: OV information app
While you're at it: perhaps rename "Bushalte informatie" to "<stopType> or <stationType> informatie" en display its <name>.Toonz wrote: .... and further enhance it.
Last edited by Templar on Sun Jan 20, 2019 10:32 pm, edited 1 time in total.
Re: OV information app
Halte name is already in the WIP version .
I also rebuild the config screen to be able to search for a busstop from there. No need to find the busstop id yourself.
Also rebuilt the tile to show the data of the first bus departing.
To do: somehow split/sort the list of departing busses by direction. Useful if the busstop is on both sides of the road
Keep the suggestions coming....
I also rebuild the config screen to be able to search for a busstop from there. No need to find the busstop id yourself.
Also rebuilt the tile to show the data of the first bus departing.
To do: somehow split/sort the list of departing busses by direction. Useful if the busstop is on both sides of the road
Keep the suggestions coming....
member of the Toon Software Collective
Re: OV information app
great Job!
looking forward to this app.
Will it be possible that the app will show the information in a tile? like the first possible travel option?
Maybe also an idea to add 2 travel option like train and bus so that a (dis)connection is also viseble. In case the train is delayed you can take a bus later.
looking forward to this app.
Will it be possible that the app will show the information in a tile? like the first possible travel option?
Maybe also an idea to add 2 travel option like train and bus so that a (dis)connection is also viseble. In case the train is delayed you can take a bus later.
Toon2 with 6.0.2 firmware TSC 2.1.7
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.