This website requires JavaScript.
014e9dd0d3
Fixed rounded corners in the backing
main
nahuel
2025-12-26 17:45:13 +00:00
d3d55eb85e
changes to the enclosure when migrating to FreeCad 1.0
nahuel
2025-12-26 14:18:08 +00:00
03d22f47d7
Cleaned up a bunch of typos, removed unused code and made it tidier.
nahuel
2025-01-12 14:35:04 +00:00
d9811d3f91
Updated requirements.txt
nahuel
2025-01-12 14:32:38 +00:00
cc2b63e816
Use Urllib3 to stream the initial feed.
nahuel
2023-11-18 16:13:01 +00:00
b5d9fa1dd8
Add timeouts to the calls to the GTFS-R API
nahuel
2023-11-11 15:46:51 +00:00
3c3199e3eb
Catch exceptions in refresh()
nahuel
2023-11-10 09:57:10 +00:00
9f87527d9a
Add some last-resort exception handling
nahuel
2023-10-08 15:27:35 +01:00
35d0261682
Make the GTFS-R client resilient to network errors.
nahuel
2023-09-23 21:21:34 +01:00
36749669b4
Replace ad-hoc scheduler with package schedule
nahuel
2023-09-17 17:47:08 +01:00
d5c57b35eb
Merge pull request #6 from Gultak/Gultak-patch-4
nahuel
2023-09-17 16:43:38 +01:00
3c2aa25cd8
Merge pull request #7 from Gultak/Gultak-patch-1
nahuel
2023-09-08 14:12:43 +01:00
076066ce0b
Make the font file configurable.
Gultak
2023-08-27 16:46:16 +01:00
e59201bfa3
Update README.md
Gultak
2023-08-22 22:50:15 +01:00
8bf7503a39
Do not initialize Pygame modules that we don't use (avoid sound underruns)
nahuel
2023-07-09 22:01:49 +01:00
c244a4bc21
Update gitignore
nahuel
2023-06-24 22:45:30 +01:00
e39e18d243
Fix lookup of walk time to the stop
nahuel
2023-06-24 22:44:03 +01:00
ccf7c62727
Remove VS Code directories from repo
nahuel
2023-06-24 06:21:00 +01:00
b16830020d
Add more debug info
nahuel
2023-06-24 06:06:17 +01:00
12cb88ed20
Move the feed .zip file to /tmp. Add debug info on refresh.
nahuel
2023-06-24 05:55:23 +01:00
f8857b3015
Add debug info for when a bus's headsign isnt found.
nahuel
2023-06-24 05:26:52 +01:00
053e1191e0
Update enclosure model. Ignore exported STLs
nahuel
2023-06-24 05:22:51 +01:00
4517bf0dbb
Add code to debug an issue with destinations
nahuel
2023-06-20 16:28:40 +01:00
a89d28129f
Update GTFS-R URL for nationaltransport.ie
nahuel
2023-06-20 06:26:29 +01:00
ef27551ee4
Fix typo in function signature
gtfs-r
nahuel
2023-05-20 17:29:10 +01:00
9b43a973ee
Create allow-list for routes at stops
nahuel
2023-05-20 17:28:39 +01:00
29cdb35f2e
Forgot to initialize the added stops collection
nahuel
2023-05-19 05:28:44 +01:00
b8ad5b76de
Fix the return types of __poll_gtfsr_deltas when API calls fail
nahuel
2023-05-07 06:20:02 +01:00
864bf52d64
Deal correctly with empty GTFS-R updates
nahuel
2023-05-07 05:38:19 +01:00
1fc69e1cc9
Add support for GTFS-R added routes
nahuel
2023-05-06 18:48:40 +01:00
4ff5c959b0
Add yaml to the list of dependencies
nahuel
2023-05-06 10:30:49 +01:00
766e9ae780
Run a full GC cycle after refreshing the display.
nahuel
2023-05-06 10:26:09 +01:00
4c38a8dc1e
Update gitignore
nahuel
2023-04-30 07:46:17 +01:00
e5019b137d
Create a separate config file, move settings there
nahuel
2023-04-30 07:33:02 +01:00
eb41b52b52
Show the time of the arrival if ETA >=60 minutes, like Google Maps.
nahuel
2023-04-25 19:50:03 +01:00
0def241318
Make matching of ADDED and CANCELED actions explicit.
nahuel
2023-04-24 06:41:33 +01:00
963b1e5e47
Adjust inter-line spacing
nahuel
2023-04-24 06:16:50 +01:00
471794c461
In the status line, don't show the current time's seconds.
nahuel
2023-04-23 15:58:09 +01:00
a71862be64
Why on Earth was I loading shapes.txt???
nahuel
2023-04-23 15:53:53 +01:00
cbad15a6fd
Force garbage collection in multiple places during data load to avoid OOMs in the Pi Zero
nahuel
2023-04-23 07:43:45 +01:00
4a7a09fce7
Correct arrival and departure dates (h:mm:ss -> hh:mm:ss)
nahuel
2023-04-23 07:14:47 +01:00
a95e2a29a0
Use trip's headsign instead of the route's long name for display
nahuel
2023-04-23 07:13:51 +01:00
32b0fa3392
If the arrival is due in > 99min, show the arrival time instead
nahuel
2023-04-23 06:32:26 +01:00
2d00e744d6
Support trip updates with no stop time updates. Add more logging.
nahuel
2023-04-23 06:05:06 +01:00
2570ab0cef
Fix name of method call
nahuel
2023-04-22 13:14:16 +01:00
4f056714b2
Remove empty space around the key
nahuel
2023-04-22 13:10:39 +01:00
cb13407418
Display date and time in the last line of the display.
nahuel
2023-04-22 12:41:00 +01:00
1c50e6ae3b
Remove the original Dublin Bus SOAP API client.
nahuel
2023-04-22 12:26:28 +01:00
b8ec772c51
Read feed files straight from the zip file to avoid wearing out the Pi's SD card.
nahuel
2023-04-22 12:23:39 +01:00
9ca4a19672
Added api-key.txt to gitignore
nahuel
2023-04-22 11:29:15 +01:00
d0eb731c23
Moved the NTA API Key to a separate file so I don't need to worry about accidentally committing it.
nahuel
2023-04-22 11:28:04 +01:00
e28fe74447
Update dependencies in the Readme
nahuel
2023-04-22 08:04:28 +01:00
22dec4adfd
Lots of fixes for the way GTFS-R handles things
nahuel
2023-04-16 22:42:52 +01:00
93275fc37c
Switch to GTFS-R v2
nahuel
2023-04-16 20:44:38 +01:00
1bdac7b5c2
Poll GTFS-R endpoint on every refresh
nahuel
2023-04-16 19:58:22 +01:00
56c0417705
Merge deltas from the GTFS-R feed into the estimations
nahuel
2023-04-16 19:43:54 +01:00
9877da7bc4
We aren't using the Dublin Bus API anymore
nahuel
2023-04-16 14:53:20 +01:00
dd4733b1cf
Calculate and display ETA of bus stops correctly
nahuel
2023-04-16 14:44:24 +01:00
df3e9aa992
Fix miscellaneous bugs
nahuel
2023-04-16 14:00:38 +01:00
6b45e27539
Separate the loading of stop_times.txt and only load the stop times for the stops we are interested in.
nahuel
2023-04-16 13:49:46 +01:00
855bfc3efc
Copy the code to read the GTFS feed from gtfs_kit to gtfs_client.py to allow for selective loading of stop times.
nahuel
2023-04-16 10:49:17 +01:00
e4f4e30b27
Added some code to automatically refresh the feed file if it changed
nahuel
2023-04-16 10:13:52 +01:00
54a7e7da06
Moved from ad-hoc parsing of GTFS data to gtfs-kit
nahuel
2023-03-25 16:41:19 -03:00
e961c7bc42
Removed the API key left accidentally in the code. The key is now invalidated.
nahuel
2023-03-07 19:41:37 +00:00
b04648b1e2
Add initial code to migrate from the SOAP API client to GTFS-R
nahuel
2023-03-07 19:38:03 +00:00
ca57d1c5ec
Updated enclosure FreeCad file.
nahuel
2023-03-04 16:23:09 +00:00
c3db2b5fd8
Updated gitignore
nahuel
2023-03-04 16:21:30 +00:00
1b4b7d9a19
Rename FreeCad file fort the enclosure
nahuel
2023-03-04 16:20:00 +00:00
60fb612678
Hide mouse pointer
nahuel
2022-12-18 19:04:44 +00:00
ab079ff3a1
Added service file. Improvements to the readme.
nahuel
2022-12-18 18:53:22 +00:00
2f5001e70f
Fix display initialization
nahuel
2022-12-18 10:16:56 +00:00
eec2311014
Improvements to the documentation
nahuel
2022-12-07 18:50:26 +00:00
d9e46637c6
Reduced verbosity
nahuel
2022-12-07 18:50:10 +00:00
3206380431
Initial design of the enclosure
nahuel
2022-10-09 16:52:10 +01:00
2d791cb08b
The ETA is shown in green, yellow or red depending on how much time is left to walk to the stop.
nahuel
2022-10-09 16:51:21 +01:00
0ff9dcbd56
Another couple of comments
nahuel
2022-10-08 16:38:29 +01:00
34b80fd248
Add some comments and reformat code
nahuel
2022-10-08 16:11:17 +01:00
e914a0630e
Fix event loop.
nahuel
2022-10-08 10:59:19 +01:00
558fc39eb4
Support both X11 (dev) and DirectFB (runtime) screen types.
nahuel
2022-10-08 10:58:01 +01:00
3c6ee33864
Bold font looks horrible
nahuel
2022-09-11 11:15:28 +01:00
01a97d19a2
First version
nahuel
2022-09-11 11:12:51 +01:00
519bc0aee2
Initial commit
nahuel
2022-09-11 02:59:00 -07:00