Commit Graph

211 Commits

Author SHA1 Message Date
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
6bd9b04a3a Force DEBUG logging level in display_controller 2025-04-17 09:48:53 -05:00
ChuckBuilds
17dd82767d Set logging level to DEBUG 2025-04-17 09:41:57 -05:00
ChuckBuilds
2999bf80da Add debug logging to directory write test 2025-04-17 09:39:26 -05:00
ChuckBuilds
2f91c0e48c Use non-hidden filename for directory write test 2025-04-17 09:37:54 -05:00
ChuckBuilds
90f5087b60 Refactor stock logo download/save logic and writability check 2025-04-17 09:32:48 -05:00
ChuckBuilds
44b3853230 added handling of stock images to reduce number of downloads 2025-04-17 09:25:48 -05:00
ChuckBuilds
7dcc22f74d added space between the end of one headline and the beginning of the next 2025-04-17 09:16:46 -05:00
ChuckBuilds
e9157867c5 removed asterisk from temperatureadouts 2025-04-17 09:13:48 -05:00
ChuckBuilds
bfb2f50942 Limit daily forecast to 3 days and adjust spacing 2025-04-17 09:10:21 -05:00
ChuckBuilds
8092148adc Use tiny font for daily forecast temperatures 2025-04-17 09:02:40 -05:00
ChuckBuilds
16e94d7f16 Exclude today from daily weather forecast 2025-04-17 08:56:14 -05:00
ChuckBuilds
6a5949d65e Update fonts and adjust layout for clock and weather displays 2025-04-17 08:48:11 -05:00
ChuckBuilds
3d83930e0b spacing adjustment on weather and clock. Added notes to readme about font type requing ttf. removed sensitive credentials 2025-04-15 15:55:47 -05:00
ChuckBuilds
ecb20003ff implemented 4x6-font.ttf as extra small font 2025-04-15 15:48:29 -05:00
ChuckBuilds
05d2a3f97e added 4x6-font.ttf 2025-04-15 15:43:23 -05:00
ChuckBuilds
7f716d4d25 adding rgbmatrix to requirements txt 2025-04-15 15:35:16 -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
6b6fc9fc49 Revert "commented out the time since last refesh on weather current"
This reverts commit 731ba7e2b1.
2025-04-15 11:24:25 -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
731ba7e2b1 commented out the time since last refesh on weather current 2025-04-15 10:51:35 -05:00
ChuckBuilds
3a4b885424 added credentials to git irngore 2025-04-15 10:01:27 -05:00
ChuckBuilds
27ea581d2d feat: Implement continuous scrolling and news shuffling in StockNewsManager - Changed from group-based to continuous scrolling like StockManager - Added random shuffling of news items for varied display order - Improved spacing and layout for smoother transitions 2025-04-13 10:36:48 -05:00
ChuckBuilds
ebe606f32f fix: Convert float to int for logo resizing to prevent dimension errors 2025-04-13 09:57:13 -05:00
ChuckBuilds
e792ba9fc7 Increase stock logo size: - Change logo size from 1/2 to 2/3 of display dimensions - Improve visibility of stock logos - Maintain aspect ratio and quality 2025-04-12 21:09:35 -05:00
ChuckBuilds
17b9e97ddc Reposition temperatures to bottom of screen in weather displays: - Move hourly forecast temperatures to bottom - Position daily forecast high/low temps at bottom - Improve vertical spacing and layout - Maintain consistent padding between sections 2025-04-12 21:04:43 -05:00
ChuckBuilds
f7cc05c05b Revert to commit 7d7bda1: Restoring previous working state 2025-04-12 21:00:58 -05:00
ChuckBuilds
ca157e3c6b Improve weather display scaling and spacing: - Add dynamic icon sizing based on matrix dimensions - Implement consistent vertical spacing - Optimize layout calculations for full display utilization - Improve text and icon positioning - Enhance forecast display spacing 2025-04-12 20:58:13 -05:00
ChuckBuilds
98696f1f7f Make weather display scale based on user-defined size - Extract matrix dimensions from config.json - Calculate icon sizes dynamically based on matrix height - Scale padding and spacing based on matrix dimensions - Adjust vertical positioning for different matrix sizes 2025-04-12 20:44:42 -05:00
ChuckBuilds
cc5773a47a Fix overlapping issue in weather display - Add padding between sections to prevent overlap - Adjust x-coordinate calculations to properly space elements - Ensure each section has 14px usable width (16px - 2px padding) - Center elements within their sections for better visual appearance 2025-04-12 20:32:24 -05:00
ChuckBuilds
9d80a48588 Optimize weather display layout for 64x32 LED Matrix - Reduce medium icon size to 10px for better fit - Fix section width to exactly 16px (64/4) - Adjust vertical spacing for optimal display - Ensure all elements fit within 32px height 2025-04-12 20:22:28 -05:00
ChuckBuilds
7d7bda145f Improve weather display layout - Reduce weather icon size for better spacing - Add temperatures below icons in hourly and daily forecasts - Use small font for all text elements - Center align all elements for better visual appearance 2025-04-12 20:20:37 -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
4ffb226da3 Make stock chart line thinner and more elegant 2025-04-12 20:03:36 -05:00
ChuckBuilds
f50027d76a Update weather manager to use WeatherIcons class for consistent icon rendering 2025-04-12 19:58:37 -05:00
ChuckBuilds
72e4eb058b Update config.json with optimized display settings for RPi testing 2025-04-12 19:52:47 -05:00
ChuckBuilds
6b466b41e5 Update requirements and add MQTT manager 2025-04-12 11:59:07 -05:00
ChuckBuilds
5b47ad15ae Optimize daily forecast: Switch to 4 days for better spacing 2025-04-11 14:19:44 -05:00
ChuckBuilds
545a360026 Update daily forecast: Show low/high temperatures side by side 2025-04-11 14:15:19 -05:00
ChuckBuilds
345b2b95cb Update daily forecast: Match modern layout with separate high/low temps 2025-04-11 14:13:43 -05:00