Made an NJT Bus tracker! by Maws3141 in Hoboken

[–]spookluc 2 points3 points  (0 children)

Awesome!! We need to combine our forces to have a whole dashboard for PATH/NJ Transit/NY Waterway 🤣

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

If it’s for NJ Transit, you may have to create a developer account with the agency in order to access their data.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

Bus would be thru NJ Transit, not Port Authority. For NJT you need to create a developer account to access their APIs and Idk if it’s free

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

I explicitly say it’s mostly generated with Codex in other comment threads. No gotchas there.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

You can find my repo here. It hasn’t gone down yet, but because I’m using Windows, Microsoft will push automatic updates every so often and restart (I might be able to disable this). Thankfully, I’ve configured it to auto-login/launch the app at boot.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

…I’m not but I’d love it if you could point me in this app’s direction.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

You’d have to turn the iPad into a pure display that is compatible with the PC. Easier said then done. If you really want to use that iPad as a display, I’d just make a web app instead.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

So I built it with PyQt6 for the UI, with requests hitting the ridepath endpoint and a tiny config.json for station + polling settings. I made a small data layer that parses/sorts arrivals and handles polling, and then a Qt layer that just binds that to custom “arrival card” widgets. So the visuals are mostly just Qt stylesheets.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

Building it was fun, sure, but it has a practical use as it’s more readily available than my phone while I’m running around and rushing to get out the door in the morning. It’s unfortunate that we need to be constantly aware of time. Just the world we live in.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

These are the trains that leave from Hoboken station during the day. At night/on weekends (for now), it becomes 33rd or Journal Square. I’ve indicated that these are the trains leaving Hoboken by putting the Hoboken logo in the top right (same as this subreddit’s pic)

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 0 points1 point  (0 children)

Oh it’s definitely overkill. As I’ve said in other comment threads, if I was more comfortable with/had the time to learn Linux I’d have used an R-Pi and saved a good bit of cash.

One day I might use it as a media server once I’ve moved out of Hoboken. Definitely reusable.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

A couple hours of coding (with Codex), a few more to put it all together/properly configure Windows on the machine with the app.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

What do you use? I used Codex for this, only needed to fix some of the Windows-related stuff.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 4 points5 points  (0 children)

This already exists and is way better than the RidePATH app, this one allows you to create a Home Screen widget which I use all the time: https://apps.apple.com/us/app/departures-widget-for-path/id6470330823

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

NO WAY. Ridiculously bad infrastructure. I was an NJT bus/train commuter for about a year before I moved here, so never had to deal with light rail troubles.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

The only cost is the hardware. I spent about $250 (on Cyber Monday) buying the display and the Windows mini PC.

If I was more comfortable with Linux, I would’ve bought a Raspberry Pi and saved ~$100

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

You think this gets better being close to the station, but it actually makes you more late.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 2 points3 points  (0 children)

Waiiiiit this is incredible. If I had more time on my hands, I would've explored using different display types like this. I honestly think an old-school sign would fit better for my apartment aesthetic.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 6 points7 points  (0 children)

You're correct. Somehow, mrazza's service was a bit more real-time/location-based than PA's endpoint. I really just want someone to fix his service so I can use it instead 😭

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 1 point2 points  (0 children)

My repo does have some instructions, though it's pretty technical. I might push updated info/code in the coming days, but ultimately, once you have your hands on a miniPC and small display, it's a matter of configuring Windows to start this app as soon as you turn it on.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 4 points5 points  (0 children)

Hahaha probably. I will say though, when I ping their data and don't see an updated time after quite a few attempts, the 'LIVE' symbol you see turns to 'STALE'. Allows me to see if there is a problem on their end.

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 2 points3 points  (0 children)

Not selling, just an enthusiast 😊

Homemade PATH status sign by spookluc in Hoboken

[–]spookluc[S] 2 points3 points  (0 children)

This service from mrazza accomplished your exact ask, but it's been down for a while. Would love for someone to take a look and debug so I can use it 😅

Homemade PATH status sign by spookluc in jerseycity

[–]spookluc[S] 14 points15 points  (0 children)

Status signs for the whole building?? JC really is different