Ctabustracker

I'm tired of all the CTA tracker complaints threads so I hope this helps.

2022.07.14 16:34 BoomhauerArlen I'm tired of all the CTA tracker complaints threads so I hope this helps.

EVERYONE, STOP USING RANDOM APPS AND JUST PIN THE CTA BUS TRACKER AND TRAIN TRACKER MOBILE SITES TO YOUR PHONE. THEY EVEN HAVE MAP VERSIONS WITH ALL THE BUSES AND TRAINS THAT ARE RUNNING.
THERE ARE LITERALLY NO GHOST BUSES WHEN YOU USE THIS. AS FOR THE TRAIN TRACKER, IF THERES A WIFI LOOKING SYMBOL, THAT MEANS ITS COMING. IF THERE IS A CLOCK LOOKING SYMBOL, IT AINT AND WILL BE AT LEAST A 20+ MINUTE WAIT MINIMUM. HOWEVER, WHEN YOU ARE USING THE FIRST FEW STOPS OF A LINE, IT'S HARD TO TELL WHEN EXACTLY THE TRAIN WILL TAKE OFF. IT SUCKS, I KNOW.
http://ctabustracker.com/bustime/wireless/html/home.jsp
https://www.transitchicago.com/traintracke
http://www.ctabustracker.com/bustime/map/displaymap.jsp
https://www.transitchicago.com/traintrackermap/
submitted by BoomhauerArlen to chicago [link] [comments]


2016.08.28 18:22 KMazor So close but yet so far! Having some trouble figuring out the math in this skin.

So I have to first say a major thanks to shiverheart who spent his time helping me figure out how to parse things and wrote a majority of the code needed to make this skin work.
Quick background: I'm trying to create a bus tracker skin that plugs into Chicago Transit Authority's API and gives me the predicted time for the next bus.
So far the skin does seem to be correctly parsing the API, (which I was able to tell from looking at the values the skins has within the log) but I'm having trouble figuring out the math required to compare the 24-hour time given by the API to the current time and giving me readout of minutes until the next predicted bus.
The problem currently though is that it's only giving me a countdown until the end of the hour and I can't for the life of me figure out why. (example: current time is 11:20, skin says 40minutes until next bus)
If anyone here wouldn't mind just looking over some of the math and let me know where things are going wrong, I would really really appreciate it.
Thank you ahead of time for your assistance.
Here's where I'm at so far (and again major thanks to shiverheart for getting me up to this point):
; ------------------------------------------------------------------------ ; METERS ; ------------------------------------------------------------------------ [BusTrackerLogo] Meter=Image ImageName=bus.png X=#LeftPadding# Y=(#TopPadding#)+2.5 LeftMouseDoubleClickAction=["http://www.ctabustracker.com/bustime/wireless/html/eta.jsp?route=8&direction=Northbound&id=5907&showAllBusses=on"] [parent] Measure=Plugin FinishAction=[!EnableMeasureGroup bus] Plugin=WebParser RegExp=(?siU)(.*) UpdateDivider=120 Url=http://www.ctabustracker.com/bustime/api/v1/getpredictions?key=PERSONALAPIKEY&rt=8&stpid=5907 [data] Measure=Plugin Disabled=1 Group=bus Plugin=WebParser StringIndex=1 Substitute=":":""," ":"" Url=[parent] [time1] Measure=Calc Disabled=1 Formula=(Frac([data] / 10000)) * 10000 Group=bus [time2] Measure=Time Disabled=1 Format=%H%M Group=bus Substitute="0":"" [time_calc] Measure=Calc Disabled=1 Formula=(time1 < 100) && (time2 > time1) ? (60 - ((Frac(time2 / 100)) * 100)) + time1 : (((Trunc(time1 / 100)) * 60) + ((Frac(time1 / 100)) * 100)) - (((Trunc(time2 / 100)) * 60) + ((Frac(time2 / 100)) * 100)) Group=bus [display] Meter=String AntiAlias=1 MeterStyle=StyleSmallText MeasureName=time_calc Text=%1 minutes until next 8 bus Y=(#TopPadding#) X=(#LeftPadding#+45) LeftMouseDoubleClickAction=["http://www.ctabustracker.com/bustime/wireless/html/eta.jsp?route=8&direction=Northbound&id=5907&showAllBusses=on"] 
submitted by KMazor to Rainmeter [link] [comments]


2012.09.11 16:41 BabyRoof Bus Times Display

Hello, I am just starting to learn about Arduino and thought of a neat project and wanted to know exactly what I will need to complete it and if it was even feasible. I use public transportation daily and am looking at using an LCD display to show a few different things - Time, Temp, Bus Number, Next Arrival Time. Most likely on at least two screen lines, all coming from this website, http://www.ctabustracker.com/bustime/eta/eta.jsp. I would prefer to have it sitting away from my computer and router, so a board with built in wireless or a wifi shield would be awesome, but I could just do ethernet too. Since I am starting from scratch, can someone point me in the right direction of all the parts I would need to complete this? Side note: I am pretty confident in my coding abilities, but everything else will be pretty new to me, is this too hard of a project to start with?
Thank you!
submitted by BabyRoof to arduino [link] [comments]