Commit Graph
136 Commits
Author SHA1 Message Date
ChuckBuilds 8aab1f8e17 conditional loading messages 2025-05-26 10:38:01 -05:00
ChuckBuilds 7b64f10dad Revert "slow music debugging so I can read it"
This reverts commit 830b14cb61.
2025-05-25 18:08:20 -05:00
ChuckBuilds 830b14cb61 slow music debugging so I can read it 2025-05-25 18:00:48 -05:00
ChuckBuilds d341c24a2a change music fonts 2025-05-23 13:50:41 -05:00
ChuckBuilds 08ab6f404d fix: Correct display update logic for draw_text 2025-04-30 11:13:03 -05:00
ChuckBuilds 429a7dfbaf Revert "feat: Add smaller font for inning indicator and use in live MLB display"
This reverts commit 4f3abb4975.
2025-04-25 15:17:00 -05:00
ChuckBuilds 4f3abb4975 feat: Add smaller font for inning indicator and use in live MLB display 2025-04-25 15:14:36 -05:00
ChuckBuilds 922bfed7f3 Display Manager: Fix text display by properly syncing image with canvas 2025-04-25 10:51:06 -05:00
ChuckBuilds b603494973 Display Manager: Remove automatic display update from draw_text to prevent flickering 2025-04-25 10:49:18 -05:00
ChuckBuilds 5ef851678e Display Manager improvements: 1) Update BDF font handling to use passed font 2) Fix font selection in _draw_bdf_text method 2025-04-25 10:45:18 -05:00
ChuckBuilds 33d57a3490 Display Manager improvements: 1) Use existing calendar_font in _draw_bdf_text method 2) Remove redundant Face object creation 2025-04-25 10:29:08 -05:00
ChuckBuilds 0b80303da1 changed calendar summary from 4x6 to 5x7 2025-04-23 17:50:55 -05:00
ChuckBuilds 537def7d37 refactor: update logging configuration to INFO level and enhance font logging 2025-04-23 15:43:05 -05:00
ChuckBuilds 3f4b1ec4fc refactor: reduce debug logging output in calendar and display managers 2025-04-23 15:38:40 -05:00
ChuckBuilds a38f83d27a adjust Calendar title font size to 8 2025-04-23 15:36:19 -05:00
ChuckBuilds 1ab87d29b8 feat: switch calendar font from tom-thumb.bdf to 4x6.bdf 2025-04-23 15:09:52 -05:00
ChuckBuilds 1d52acdf77 fix: handle both FreeType and PIL fonts in get_text_width method 2025-04-23 15:03:20 -05:00
ChuckBuilds 3e5486d9b7 fix: add default y-coordinate in draw_text method 2025-04-23 14:58:01 -05:00
ChuckBuilds daea754e83 feat: implement proper BDF font handling using freetype library 2025-04-23 14:53:44 -05:00
ChuckBuilds 646383c870 fix: enhance BDF font loading with better error handling and verification 2025-04-23 14:52:14 -05:00
ChuckBuilds db3f1cd4cf refactor: remove MatrixChunky6 font and standardize on tom-thumb.bdf for calendar display 2025-04-23 14:48:44 -05:00
ChuckBuilds 4da42236f6 feat: add detailed font type and size logging for debugging 2025-04-23 14:39:19 -05:00
ChuckBuilds 6dd7794d46 fix: reduce font change logging spam by only logging when font actually changes 2025-04-23 14:34:53 -05:00
ChuckBuilds f135befb3b feat: add debug logging for font usage in calendar display 2025-04-23 14:21:52 -05:00
ChuckBuilds 0899aa6a14 feat: add tom-thumb BDF font support for calendar events 2025-04-22 20:32:06 -05:00
ChuckBuilds bf9c27ce3a fix: properly use MatrixChunky6 font for calendar summaries 2025-04-22 19:27:38 -05:00
ChuckBuilds 973af8b88a feat: use MatrixChunky6 font for calendar event summaries 2025-04-22 17:49:47 -05:00
ChuckBuilds 9f07b235ed Refactor calendar manager to work like other display managers 2025-04-21 22:08:00 -05:00
ChuckBuilds d30ec921ae Add Google Calendar integration with display manager. Includes calendar manager implementation, configuration updates, and registration script. 2025-04-21 09:01:42 -05:00
ChuckBuilds b221ab8d2a fix: remove duplicate logging configurations to ensure consistent timestamp format 2025-04-19 18:03:06 -05:00
ChuckBuilds 2b0a154348 feat: add detailed timestamps to logging for better startup time tracking 2025-04-19 17:53:40 -05:00
ChuckBuilds 711b36eaa6 Update display_manager.py to use settings from config.json 2025-04-18 19:41:27 -05:00
ChuckBuilds 070cb18c79 adjust matrix config directly in display_manager 2025-04-18 19:30:43 -05:00
ChuckBuilds 22f21093f2 Disable hardware pulsing to allow running without root
Set options.disable_hardware_pulsing = True in display_manager._setup_matrix.

This corresponds to the --led-no-hardware-pulse flag for the rgbmatrix library.

Disabling hardware pulsing removes the need for root privileges, allowing the script to run as the regular user (ledpi).

This aims to resolve the permission issues encountered when trying to write stock logos to assets/stocks while running with sudo (which resulted in UID=1 instead of UID=0).
2025-04-17 09:51:58 -05:00
ChuckBuilds ecb20003ff implemented 4x6-font.ttf as extra small font 2025-04-15 15:48:29 -05:00
ChuckBuilds 36b1ddc5ff swapped 4x6 for player 3 font for troublebshooting 2025-04-15 15:29:50 -05:00
ChuckBuilds 8f2382e7a8 changed font path for 4x6 2025-04-15 15:27:15 -05:00
ChuckBuilds 7efaa2e3b9 fix(display): Use normalized absolute path for 4x6 font
Calculate path relative to script, then normalize to absolute path before loading.
2025-04-15 15:11:38 -05:00
ChuckBuilds 57e5d801c7 hard code asset location 2025-04-15 15:02:24 -05:00
ChuckBuilds 6a796c3794 feat(weather): Adjust layout and use 4x6 font for details
Removed "time since update" text. Used 4x6.bdf font for pressure, humidity, and wind speed.
2025-04-15 11:31:46 -05:00
ChuckBuilds 97b0b79901 Revert "feat(weather): Adjust layout and reduce font size"
This reverts commit 6d31a0953e.
2025-04-15 11:27:23 -05:00
ChuckBuilds aaedb468a3 Revert "fix(display): Use absolute path for 4x6 font"
This reverts commit a3b8902dcb.
2025-04-15 11:20:00 -05:00
ChuckBuilds a3b8902dcb fix(display): Use absolute path for 4x6 font
Corrected the path for loading 4x6.bdf font to resolve "cannot find glyph data file" error.
2025-04-15 11:11:52 -05:00
ChuckBuilds 4683a175c5 change font on bottom half weather display 2025-04-15 11:02:36 -05:00
ChuckBuilds 6d31a0953e feat(weather): Adjust layout and reduce font size
Remove update time text and use smaller font for pressure/humidity/wind details.
2025-04-15 10:55:00 -05:00
ChuckBuilds 01ad080094 Switch back to Press Start 2P font - Update font paths in display manager - Use PressStart2P-Regular.ttf for both regular and small text - Maintain consistent font sizes (10 for regular, 8 for small) 2025-04-12 20:16:15 -05:00
ChuckBuilds d7c04497d4 Switch to 7x13.bdf font for improved readability - Update font paths in display manager - Use 7x13.bdf for both regular and small text - Maintain consistent font sizes (10 for regular, 8 for small) 2025-04-12 20:10:40 -05:00
ChuckBuilds f42140baca Update font paths to use correct rpi-rgb-led-matrix-master folder 2025-04-12 20:08:48 -05:00
ChuckBuilds 7470ea7a43 Merge Stocks branch: Add stock display improvements and configuration updates 2025-04-11 13:41:11 -05:00
ChuckBuilds 29f45ec3f6 Improve display: Update test pattern to 'Initializing' with smaller font and faster animation. Also improve stock chart with 50% wider display and better spacing between elements. 2025-04-11 13:33:12 -05:00